/* Hallmark · v2.0.0 · theme: custom · shape: diptych · hero: headline and control pair left, two portrait photos as one figure right · nav: edge-aligned wordmark and seven links · footer: dark mast with sections · signature: shown-then-tried photo pairs */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V4 · weakest: H, the hero action is a jump link not the form; kept so the diptych gets the space, and the form sits immediately below */

.top { border-bottom: 1px solid var(--c-rule); position: relative; z-index: 5; background: var(--c-paper); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4.5rem; }
.top__nav ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.top__nav li { margin: 0; }
.top__nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); font-weight: 700; font-size: var(--t-sm); color: var(--c-ink); text-decoration: none; }
.top__nav a:hover { color: var(--c-blue); text-decoration: underline; }
.top__nav a[aria-current="page"] { color: var(--c-blue); text-decoration: underline; text-decoration-thickness: 3px; }

.hero { padding-block: var(--s-6) var(--s-7); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: center; }
.hero h1 { font-size: var(--t-4xl); font-stretch: 82%; max-width: 11ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

.pair__frames { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2); }
.pair__img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }
.pair--hero .pair__img { max-height: min(70dvh, 40rem); }
.pair--wide { margin-block: var(--s-5); max-width: 52rem; }
.pair--wide .pair__img { aspect-ratio: 4 / 3; }

.alert-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.alert-band .status { margin-bottom: var(--s-4); }
.pairs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-5); }
.pairs h3 { margin-top: var(--s-4); margin-bottom: var(--s-2); }
.pairs .pair__img { aspect-ratio: 1 / 1; }
.aircon-line { margin-top: var(--s-6); padding: var(--s-4); background: var(--c-blue-soft); border-radius: var(--r-sm); max-width: 52rem; }
.mentor-photo img { border-radius: var(--r-sm); aspect-ratio: 4 / 5; object-fit: cover; max-height: 32rem; width: 100%; }
.section--blue figcaption { color: var(--c-on-blue-muted); }
.support-ways { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.support-ways li { margin: 0; border-top: 3px solid var(--c-blue); padding-top: var(--s-3); }
.support-ways h3 { font-size: var(--t-lg); margin-bottom: var(--s-1); }
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.flow li { margin: 0; border-top: 3px solid var(--c-blue); padding-top: var(--s-3); }
.two-sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-5); }
.two-sides h2 { font-size: var(--t-xl); }
.roles { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.roles li { margin: 0; border-top: 1px solid var(--c-rule); padding-top: var(--s-3); }
.roles h3 { font-size: var(--t-lg); margin-bottom: var(--s-1); }
.roles p { margin: 0; }

@media (max-width: 64rem) {
  .support-ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 52rem) {
  .js .menu-toggle { display: inline-flex; align-items: center; }
  .js .top__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-paper); box-shadow: 0 12px 24px var(--c-shadow); }
  .js .top__nav.is-open { display: block; }
  .top__nav ul { flex-direction: column; padding: var(--s-2) var(--gutter) var(--s-4); }
  .js .top__nav a { width: 100%; border-bottom: 1px solid var(--c-rule); }
  .top__inner { flex-wrap: wrap; }
  .hero { padding-top: var(--s-4); }
  .hero__grid, .alert-band, .pairs, .two-sides { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .hero__grid > .pair { order: -1; }
  .pair--hero .pair__img { aspect-ratio: 3 / 4; max-height: 22rem; }
  .flow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .support-ways { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .pair--hero .pair__img { max-height: 15rem; }
  .hero h1 { font-size: var(--t-3xl); }
}
