/* Formal annual handover surface: the verified Board portrait carries the page. */
.annual-hero {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  min-height: 0;
  padding: 0;
  background: var(--navy);
  color: var(--white);
}
.annual-hero__visual { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; background: var(--white); }
.annual-hero .hero__media { min-width: 0; }
.annual-hero .hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; object-position: center; }
.annual-hero .hero__caption { position: static; max-width: none; margin: 0; padding: .625rem 1rem .75rem; color: var(--muted); font-size: .75rem; line-height: 1.45; text-align: right; }
.annual-hero .hero__content { grid-column: 1; grid-row: 1; align-self: center; min-width: 0; width: min(100% - clamp(3rem, 7vw, 7.25rem), 38.75rem); margin-inline: auto; padding-block: clamp(3rem, 6vw, 4.5rem); }
.annual-hero .eyebrow { color: var(--sky); }
.annual-hero h1 { max-width: 12ch; margin: 0; color: var(--white); font-size: clamp(2.625rem, 4.5vw, 4.75rem); line-height: 1.02; letter-spacing: -.03em; }
.annual-hero .hero__intro { max-width: 40ch; margin: 1.5rem 0 0; color: var(--white); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.65; }
.annual-hero .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.5rem; margin-top: 2rem; }
.annual-hero .text-link--light { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--white); }

.agm-feature { position: relative; overflow: hidden; background: radial-gradient(circle at 92% 10%, rgba(61, 127, 193, .14), transparent 24rem), linear-gradient(135deg, #f4f8fd 0%, #e8f1fb 100%); color: var(--ink); }
.agm-feature::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 16, 48, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 16, 48, .035) 1px, transparent 1px); background-size: 3.5rem 3.5rem; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 82%); pointer-events: none; }
.agm-feature .agm-feature__layout { position: relative; display: grid; grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 5rem); width: min(var(--site-max), calc(100% - 4rem)); }
.agm-feature__intro { grid-column: 1 / -1; max-width: 84ch; }
.agm-feature__intro h2 { max-width: 23ch; margin: 0; color: var(--navy); font-size: clamp(2.125rem, 4.2vw, 4rem); line-height: 1.06; letter-spacing: -.03em; }
.agm-feature__date { position: sticky; top: 7rem; align-self: start; min-width: 0; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.5rem; background: linear-gradient(145deg, #002869, var(--navy)); box-shadow: 0 1.5rem 3.5rem rgba(0, 16, 48, .18); color: var(--white); }
.agm-feature__date::after { position: absolute; right: -3.5rem; bottom: -4rem; width: 10rem; height: 10rem; border: 1.75rem solid rgba(172, 210, 62, .18); border-radius: 50%; content: ""; }
.agm-feature__date-label { color: #7eb8eb; font-size: .8125rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.agm-feature__date time { position: relative; z-index: 1; display: block; max-width: 9ch; margin-top: .875rem; color: var(--white); font-size: clamp(2.75rem, 4.8vw, 4.5rem); font-variant-numeric: tabular-nums; font-weight: 780; line-height: .95; letter-spacing: -.04em; }
.agm-feature__date-part { display: block; }
.agm-feature__date-part:nth-child(2) { font-size: .68em; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.language-zh-hant .agm-feature__date time { max-width: none; letter-spacing: 0; }
.language-zh-hant .agm-feature__date-part:nth-child(2) { font-size: .75em; }
.agm-feature__information { min-width: 0; padding: clamp(1.5rem, 3.5vw, 3.25rem); border: 1px solid rgba(0, 16, 48, .1); border-radius: 1.75rem; background: rgba(255, 255, 255, .94); box-shadow: 0 1.5rem 4rem rgba(0, 16, 48, .1); }
.agm-feature .event-presentation__title { margin-bottom: 1.5rem; font-size: clamp(1.875rem, 3vw, 2.75rem); letter-spacing: -.025em; }
.agm-feature .agm-feature__details { gap: .875rem; border-top: 0; }
.agm-feature .agm-feature__details > div { padding: 1.125rem 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.agm-feature .agm-feature__details dt { color: var(--blue); letter-spacing: .07em; }
.agm-feature .agm-feature__fees { overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 1rem; background: var(--white); }
.agm-feature .agm-feature__fees caption { padding: 0 0 1rem; font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.agm-feature .agm-feature__fees th,
.agm-feature .agm-feature__fees td { padding: 1rem 1.125rem; }
.agm-feature .agm-feature__fees thead th { border-bottom: 0; background: var(--navy); color: #7eb8eb; }
.agm-feature .agm-feature__fees th:first-child { padding-left: 1.125rem; }
.agm-feature .agm-feature__fees td:last-child { padding-right: 1.125rem; }
.agm-feature .agm-feature__fees tbody tr:last-child th,
.agm-feature .agm-feature__fees tbody tr:last-child td { border-bottom: 0; }
.agm-feature .agm-feature__fees tbody tr:nth-child(even) { background: #f4f8fd; }
.agm-feature .event-long-content { max-width: none; border-bottom: 0; }
.agm-feature .button--registration { min-height: 3.5rem; padding-inline: 1.75rem; border-radius: 999px; box-shadow: 0 .75rem 1.75rem rgba(0, 16, 48, .14); }

.activity-story { background: var(--white); }
.activity-story .container { display: block; }
.activity-story .section-heading { margin-bottom: clamp(1.5rem, 3vw, 2.625rem); }
.activity-story__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.8vw, 1.625rem); }
.activity-story__item { min-width: 0; margin: 0; background: var(--navy); color: var(--white); }
.activity-story__item--wide { grid-column: 1 / -1; }
.activity-story__media { overflow: hidden; }
.activity-story__item img { display: block; width: 100%; height: clamp(13rem, 24vw, 26rem); object-fit: cover; object-position: 50% 43%; }
.activity-story__item--wide img { height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; background: var(--navy); }
.activity-story__item--smc-fencing img { object-position: 52% 40%; }
.activity-story__item--blood-donation img { object-position: 50% 50%; }
.activity-story__item--leadership-workshop img { object-position: 50% 42%; }
.activity-story__item figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .875rem; padding: 1rem 1.125rem 1.125rem; }
.activity-story__item figcaption strong { min-width: 0; font-size: clamp(1.125rem, 1.7vw, 1.5625rem); line-height: 1.2; }
.activity-story__item figcaption span { flex: 0 1 auto; color: #7eb8eb; font-size: .8125rem; font-weight: 700; text-align: right; }

.next-chapter { background: var(--mist); }
.next-chapter .container { max-width: 56.25rem; margin-inline: auto; }
.next-chapter h2 { max-width: 18ch; margin: 0; color: var(--navy); font-size: clamp(2.375rem, 5vw, 4.375rem); line-height: 1.05; letter-spacing: -.03em; }
.next-chapter p { max-width: 65ch; margin-bottom: 0; color: var(--muted); font-size: clamp(1.0625rem, 1.45vw, 1.25rem); }
.activity-story.is-enhanced .activity-story__item { transition: filter 220ms cubic-bezier(.22, 1, .36, 1), transform 220ms cubic-bezier(.22, 1, .36, 1); }
.activity-story.is-enhanced .activity-story__item:hover { filter: brightness(.95); transform: translateY(-3px); }

@media (max-width: 1023px) {
  .annual-hero { grid-template-columns: minmax(0, 1fr); }
  .annual-hero__visual { grid-column: 1; grid-row: 1; }
  .annual-hero .hero__content { grid-column: 1; grid-row: 2; width: min(100% - 4rem, 51.25rem); padding-block: 3.375rem 3.875rem; }
  .agm-feature .agm-feature__layout { grid-template-columns: minmax(0, 1fr); }
  .agm-feature__intro { grid-column: auto; }
  .agm-feature__date { position: relative; top: auto; max-width: none; }
  .agm-feature__date time { display: flex; max-width: none; flex-wrap: wrap; align-items: baseline; gap: .25em; }
  .agm-feature__date-part:nth-child(2) { font-size: .72em; }
}

@media (max-width: 767px) {
  .activity-story__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-story__item--wide { grid-column: 1 / -1; }
  .activity-story__item:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .annual-hero .hero__caption { text-align: left; }
  .annual-hero .hero__content { width: min(100% - 1.75rem, 38.75rem); padding-block: 3rem 3.5rem; }
  .annual-hero h1 { font-size: clamp(2.5625rem, 13vw, 3.875rem); }
  .annual-hero h1,
  .agm-feature__intro h2 { overflow-wrap: anywhere; }
  .annual-hero .hero__actions { align-items: flex-start; flex-direction: column; gap: .375rem; }
  .agm-feature .agm-feature__layout { width: min(100% - 1.75rem, var(--site-max)); }
  .agm-feature__information { padding: 1.125rem; border-radius: 1.25rem; }
  .agm-feature .agm-feature__fees th,
  .agm-feature .agm-feature__fees td { padding: .875rem .75rem; }
  .agm-feature__date time { font-size: clamp(2.75rem, 15vw, 4rem); }
  .activity-story__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .activity-story__item--wide,
  .activity-story__item:last-child { grid-column: auto; }
  .activity-story__item--wide img { aspect-ratio: 3 / 2; }
  .activity-story__item figcaption { align-items: flex-start; flex-direction: column; }
  .activity-story__item figcaption span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .activity-story.is-enhanced .activity-story__item { transition: none; }
  .activity-story.is-enhanced .activity-story__item:hover { filter: none; transform: none; }
}

/* Youthful chapter welcome. Original photography remains intact. */
.youth-home-hero { overflow: clip; background: #fbf7ef; }
.youth-home-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 5vw, 5.5rem); padding-block: 3.75rem 3.5rem; }
.youth-home-hero__copy { min-width: 0; padding-block: 1rem; }
.youth-kicker { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.75rem; color: #40566a; font-size: .7rem; font-weight: 800; letter-spacing: .11em; }
.youth-kicker > span { width: .65rem; height: .65rem; border-radius: 50%; background: #7b9828; }
.youth-home-hero h1 { margin: 0; color: var(--blue); font-size: clamp(3.7rem, 6.15vw, 6.5rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: initial; }
.youth-home-hero h1 em { color: var(--navy); font-style: normal; }
.youth-home-hero__intro { max-width: 30rem; margin: 1.75rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.55; }
.youth-home-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.3rem; margin-top: 2rem; }
.youth-secondary-link { display: inline-flex; min-height: 3rem; align-items: center; gap: 1rem; color: var(--navy); font-size: .92rem; font-weight: 800; text-decoration: none; }
.youth-secondary-link:hover { text-decoration: underline; text-underline-offset: .35rem; }
.youth-home-hero__note { margin: 2rem 0 0; font-size: .73rem; color: #40566a; }
.youth-home-hero__photos { position: relative; min-width: 0; padding: 1.4rem 1rem 4rem; }
.youth-home-hero__photos::before { position: absolute; inset: 2.75rem 0 3rem 1.5rem; border-radius: 4rem 1.5rem 4rem 1.5rem; background: #e7f0c5; content: ''; transform: rotate(4deg); }
.youth-snapshot { position: relative; margin: 0; padding: .65rem; background: #fff; border-radius: 1rem; box-shadow: 0 12px 30px #00103015; }
.youth-snapshot img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.youth-snapshot figcaption { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .7rem .3rem .15rem; color: var(--navy); font-size: .8rem; }
.youth-snapshot figcaption span { color: var(--muted); font-size: .72rem; }
.youth-snapshot--main figcaption { flex-direction: column; align-items: flex-start; gap: .25rem; }
.youth-snapshot--main { width: 89%; transform: rotate(-4deg); z-index: 1; }
.youth-snapshot--small { width: 49%; margin: -1.8rem 0 -3rem auto; z-index: 2; transform: rotate(5deg); }
.youth-snapshot--small figcaption { font-size: .7rem; font-weight: 750; }
.youth-sticker { position: absolute; top: -.2rem; right: .5rem; z-index: 3; max-width: 15rem; padding: .9rem 1.1rem; border-radius: .65rem; background: #7eb8eb; color: #001030; transform: rotate(8deg); font-size: .8rem; font-weight: 900; letter-spacing: .05em; box-shadow: 3px 3px 0 #001030; }
.youth-photo-note { position: absolute; bottom: 1rem; left: 1rem; width: 44%; margin: 0; color: var(--blue); font-size: clamp(.95rem, 1.5vw, 1.4rem); font-weight: 750; line-height: 1.25; transform: rotate(-4deg); }
.youth-word-strip { display: flex; align-items: center; justify-content: space-around; gap: 1.5rem; padding: 1rem 2rem; border-block: 1px solid #91b62f; background: var(--lime); color: var(--navy); font-size: clamp(.85rem, 1.3vw, 1.3rem); font-weight: 850; letter-spacing: .04em; }
.youth-word-strip i { font-size: 1.7rem; font-style: normal; }
.jciq-youth-site .activity-story { background: #fbf7ef; }
.jciq-youth-site .activity-story__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.jciq-youth-site .activity-story__item { grid-column: auto; border-radius: 1.1rem; overflow: hidden; background: #fff; color: var(--navy); border: 1px solid #cbd9e2; }
.jciq-youth-site .activity-story__item:nth-child(even) { margin-top: 2.5rem; margin-bottom: -2.5rem; }
.jciq-youth-site .activity-story__item img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.jciq-youth-site .activity-story__item figcaption { padding: 1.2rem 1.4rem; }
.jciq-youth-site .activity-story__item figcaption span { color: var(--blue); }
.jciq-youth-site .activity-story__item--wide img { object-fit: contain; background: #fff; }
.jciq-youth-site .activity-story { padding-bottom: calc(var(--space) + 2.5rem); }
.jciq-youth-site .home-opportunities { background: #e8f1fb; }
.jciq-youth-site .areas-grid { gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 0; }
.jciq-youth-site .areas-grid > li { padding: 0; border: 0; background: #fff; border-radius: 1.1rem; }
.jciq-youth-site .areas-grid > li:nth-child(2) { background: #acd23e; }
.jciq-youth-site .areas-grid > li:nth-child(3) { background: #dfecfa; }
.jciq-youth-site .areas-grid > li:nth-child(4) { background: #dce7f4; }
.jciq-youth-site .areas-grid > li > a { display: flex; min-height: 19rem; height: 100%; flex-direction: column; padding: 1.6rem; text-decoration: none; }
.area-panel__number { font-size: .75rem; color: var(--muted); font-weight: 750; }
.jciq-youth-site .area-panel__title { margin-top: 2.25rem; font-size: clamp(1.4rem, 1.8vw, 2rem); letter-spacing: -.035em; }
.jciq-youth-site .area-panel__description { font-size: .9rem; line-height: 1.5; color: #40566a; }
.area-panel__arrow { align-self: end; margin-top: auto; padding-top: 1.5rem; font-size: 2rem; line-height: 1; transition: transform .2s ease; }
.areas-grid a:hover .area-panel__arrow { transform: translate(3px,-3px); }
.home-board-feature__grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.home-board-feature figure { margin: 0; }
.home-board-feature img { display: block; width: 100%; height: auto; border-radius: 1.2rem; }
.home-board-feature h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
.home-board-feature p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.home-board-feature .text-link { margin-right: 1.5rem; }
.jciq-youth-site .agm-feature { background: #f0f5d8; }
.jciq-youth-site .agm-feature::before { background: none; }
.jciq-youth-site .agm-feature__date { background: var(--blue); box-shadow: none; border-radius: 1.2rem; }
.jciq-youth-site .agm-feature__date-label { color: #fff; }
.jciq-youth-site .agm-feature__information { box-shadow: none; border: 0; border-radius: 1.2rem; }
.jciq-youth-site .agm-feature .agm-feature__details > div { background: #fbf7ef; }
.jciq-youth-site .agm-feature .agm-feature__fees thead th { background: var(--blue); color: #fff; }
.agm-candidate-booklet { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(18rem, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(1rem, 3vw, 2.5rem); padding: clamp(1rem, 2vw, 1.5rem); border-radius: 1.4rem; background: #fff; }
.agm-candidate-booklet figure { min-width: 0; margin: 0; padding: .55rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--sky-soft); box-shadow: 8px 8px 0 var(--lime); }
.agm-candidate-booklet img { display: block; width: 100%; height: auto !important; aspect-ratio: 1200 / 849; border-radius: .65rem; object-fit: contain; }
.agm-candidate-booklet h3 { margin: .35rem 0 1rem; color: var(--blue); font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.agm-candidate-booklet p:not(.eyebrow, .agm-candidate-booklet__actions) { max-width: 40rem; color: var(--muted); font-size: 1.05rem; }
.agm-candidate-booklet__actions { margin: 1.5rem 0 0; }
.jciq-youth-site .next-chapter { background: #fff; }
.jciq-youth-site .next-chapter .container { max-width: var(--site-max); padding-left: 2rem; border-left: .5rem solid var(--lime); }
.jciq-youth-site .home-archives { background: #e8f1fb; }
.jciq-youth-site .home-archives__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.jciq-youth-site .home-archives__links a { justify-content: space-between; gap: 1rem; padding: 1.3rem; border-radius: .8rem; background: #fff; text-decoration: none; font-size: clamp(1rem, 1.5vw, 1.4rem); }
.jciq-youth-site .home-archives__links a::after { content: '↗'; }
.language-zh-hant .youth-home-hero h1 { font-size: clamp(3.5rem, 5.8vw, 6.1rem); letter-spacing: -.04em; }
@media (max-width: 1023px) {
  .youth-home-hero__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: 2.5rem; }
  .youth-home-hero h1 { font-size: clamp(3rem, 6vw, 4rem); }
  .youth-home-hero__photos { padding-inline: .2rem; }
  .youth-sticker { font-size: .65rem; right: 0; }
  .youth-home-hero__actions { gap: .5rem; }
  .youth-home-hero__note { line-height: 1.6; }
  .jciq-youth-site .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jciq-youth-site .areas-grid > li > a { min-height: 16rem; }
}
@media (max-width: 720px) {
  .youth-home-hero__grid { grid-template-columns: 1fr; padding-block: 1.65rem 2.5rem; gap: 1.8rem; }
  .youth-home-hero__copy { padding-block: 0; }
  .youth-kicker { margin-bottom: 1.25rem; font-size: .64rem; }
  .youth-home-hero h1 { font-size: clamp(3.05rem, 12.5vw, 5rem); letter-spacing: -.045em; }
  .language-zh-hant .youth-home-hero h1 { font-size: clamp(3rem, 11.7vw, 4.8rem); }
  .youth-home-hero__intro { margin-top: 1.25rem; font-size: 1rem; }
  .youth-home-hero__actions { margin-top: 1.4rem; gap: .6rem 1rem; }
  .youth-home-hero__actions .button { min-height: 3rem; padding-inline: 1.25rem; font-size: .86rem; }
  .youth-home-hero__note { margin-top: 1.25rem; font-size: .65rem; }
  .youth-home-hero__photos { width: min(100%, 30rem); margin-inline: auto; padding: 1.25rem .75rem 3rem; }
  .youth-snapshot--main { width: 90%; }
  .youth-snapshot--small { width: 48%; margin-bottom: -2rem; }
  .youth-photo-note { bottom: 1rem; left: .7rem; font-size: 1rem; }
  .youth-sticker { font-size: .68rem; padding: .7rem .8rem; }
  .youth-word-strip { flex-wrap: wrap; gap: .4rem 1rem; padding: .8rem 1rem; font-size: .68rem; }
  .youth-word-strip i { font-size: 1.1rem; }
  .youth-word-strip i:last-of-type { display: none; }
  .youth-word-strip span:last-child { flex-basis: 100%; text-align: center; }
  .jciq-youth-site .activity-story__grid { gap: 1.25rem; }
  .jciq-youth-site .activity-story__item:nth-child(even) { margin-block: 0; }
  .jciq-youth-site .activity-story { padding-bottom: 4.25rem; }
  .jciq-youth-site .activity-story__item figcaption { padding: .9rem; align-items: start; flex-direction: column; gap: .35rem; }
  .jciq-youth-site .activity-story__item figcaption strong { font-size: 1rem; }
  .jciq-youth-site .activity-story__item figcaption span { font-size: .73rem; text-align: left; }
  .jciq-youth-site .areas-grid > li > a { min-height: 16rem; padding: 1.2rem; }
  .jciq-youth-site .area-panel__title { margin-top: 1.5rem; font-size: 1.4rem; }
  .home-board-feature__grid { grid-template-columns: 1fr; }
  .agm-candidate-booklet { grid-template-columns: 1fr; padding: 1rem; }
  .agm-candidate-booklet figure { box-shadow: 5px 5px 0 var(--lime); }
  .jciq-youth-site .home-archives__links { grid-template-columns: 1fr; }
  .jciq-youth-site .next-chapter .container { padding-left: 1rem; }
}
@media (max-width: 440px) {
  .youth-snapshot--small { margin-top: -.5rem; }
  .jciq-youth-site .activity-story__grid { grid-template-columns: 1fr; }
  .jciq-youth-site .area-panel__title { font-size: 1.22rem; }
  .jciq-youth-site .area-panel__description { font-size: .8rem; }
  .jciq-youth-site .areas-grid > li > a { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .area-panel__arrow { transition: none; } }
