/* Academic Achievers page styles.
 * Lifted from the inline <style> in the static source
 * (sections/academic-achievement.html) with selectors preserved verbatim so
 * the converted, CMS-driven markup is styled identically.
 *
 * The original was a standalone HTML file that defined its variables inline.
 * On the CMS page, styl.css (shared chrome, loaded on every page) provides the
 * base colour/font vars, so only the --academic-* set is added below — SCOPED
 * to .academic-page so it never leaks into the shared footer/menu. */

/* Page-only variables. Scoped to .academic-page (this page's body class) so
 * they never leak into :root and change the shared footer/menu. styl.css is
 * loaded before this file on every page and already provides the shared colour
 * and font variables; the block below only ADDS the --academic-* set that lives
 * in academic.css (which this page does not load).
 *
 * --red is deliberately NOT defined: styl.css leaves it undefined, and the
 * shared footer relies on that (its link-hover underline is meant to be
 * invisible). Defining --red globally is what tinted the footer on this page. */
.academic-page {
  --navy: #001d44;
  --text-grey: #555;
  --academic-bg: #f5f8ff;
  --academic-border: rgba(0, 40, 94, 0.12);
  --academic-shadow: 0 24px 60px rgba(8, 38, 82, 0.08);
  --academic-soft-shadow: 0 16px 34px rgba(8, 38, 82, 0.06);
  --academic-radius: 28px;
  --academic-panel: rgba(255, 255, 255, 0.88);
}

.academic-page {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-blue);
  line-height: 1.6;
}

.aa-intro *, .aa-intro *::before, .aa-intro *::after,
.aa-modal-overlay *, .aa-modal-overlay *::before, .aa-modal-overlay *::after { box-sizing: border-box; }

.aa-intro a { text-decoration: none; color: inherit; }

.academic-page {
  background:
    radial-gradient(circle at top left, rgba(56, 166, 221, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 42%, #eef3fb 100%);
  background-attachment: fixed;
}

/* ===== BANNER ===== */
.academic-banner { position: relative; }

.academic-banner::after {
  content: "";
  position: absolute;
  inset: 0 22px auto;
  height: 100%;
  border-radius: 0 0 34px 34px;
  background: none;
  pointer-events: none;
}

.academic-banner-static {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  min-height: clamp(520px, 70vh, 760px);
  box-shadow: var(--academic-shadow);
}

.academic-banner-static__media,
.academic-banner-static__media img,
.academic-banner-static__overlay {
  position: absolute;
  inset: 0;
}

.academic-banner-static__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academic-banner-static__overlay {
  background:
    linear-gradient(110deg, rgba(7,39,97,0.84) 0%, rgba(7,39,97,0.58) 38%, rgba(7,39,97,0.16) 74%, rgba(7,39,97,0.06) 100%),
    linear-gradient(180deg, rgba(4,17,42,0.12) 0%, rgba(4,17,42,0.38) 100%);
}

.academic-banner-static__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 100px 28px 112px;
  text-align: center;
  color: #fff;
}

.academic-banner-static__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--montserrat);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.academic-banner-static__eyebrow::before,
.academic-banner-static__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(255,255,255,0.7);
}

.academic-banner-static__title {
  margin: 0 0 18px;
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.08;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 500;
}

.academic-banner-static__body {
  max-width: 700px;
  margin: 0;
  font-family: var(--montserrat_alternates);
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
}

/* ===== ACADEMIC INTRO (pulls content up into banner) ===== */
.aa-intro {
    padding: 100px 0 50px;
    margin-top: -92px;
    position: relative;
    z-index: 3;
    isolation: isolate;
    max-width: 1330px;
    margin: auto;
}

/* ===== SECTION KICKER ===== */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--montserrat);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
}

.section-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* ===== HERO ===== */
.aa-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.aa-hero-text { flex: 1; }

/* Home-page split section title design */
.aa-intro .section-title {
  margin-bottom: 14px;
  line-height: 1.08;
}

.aa-intro .section-title .title-left,
.aa-intro .section-title .title-right {
  display: inline-block;
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

.aa-intro .section-title .title-left {
  transform: translateX(-60px);
  font-family: var(--montserrat);
  font-weight: 500;
  font-size: 3rem;
  font-style: normal;
  color: var(--dark-blue);
  line-height: 1.08;
}

.aa-intro .section-title .title-right {
  transform: translateX(60px);
  font-family: var(--eb-garamond);
  font-weight: 600;
  font-size: 3rem;
  font-style: italic;
  color: #38a6dd;
  line-height: 1.08;
  transition-delay: 0.15s;
}

.aa-intro .section-title.animated .title-left,
.aa-intro .section-title.animated .title-right {
  opacity: 1;
  transform: translateX(0);
}

.aa-hero-text p {
  font-family: var(--montserrat_alternates);
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 520px;
}

.aa-hero-visual {
  flex-shrink: 0;
  position: relative;
  width: 320px;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 38, 82, 0.18), 0 8px 24px rgba(8, 38, 82, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.7);
}

.aa-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(56, 166, 221, 0.15) 0%, rgba(0, 40, 94, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 24px;
}

.aa-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.aa-hero-visual:hover img {
  transform: scale(1.05);
}

.aa-hero-visual::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 27px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

/* ===== METRICS ===== */
.aa-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.aa-metric {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(8,38,82,0.04);
  border: 1px solid rgba(0,40,94,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aa-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(8,38,82,0.08);
}

.aa-metric-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--dark-blue), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aa-metric-icon svg { width: 22px; height: 22px; fill: #fff; }

.aa-metric-info h3 {
  font-family: var(--montserrat);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1;
  margin-bottom: 2px;
}

.aa-metric-info p {
  font-family: var(--montserrat);
  font-size: 0.7rem;
  font-weight: 600;
  color: #71869a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== BOARD SECTIONS ===== */
.aa-board {
  position: relative;
  border-radius: var(--academic-radius);
  padding: 30px 32px 34px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  isolation: isolate;
}

/* Soft pastel-tinted panels per board */
.aa-board--ib {
  background:
    radial-gradient(circle at 92% 8%, rgba(56, 166, 221, 0.14), transparent 42%),
    linear-gradient(135deg, #eef5fc 0%, #e4eefb 100%);
  box-shadow: 0 20px 46px rgba(20, 70, 140, 0.10);
  border: 1px solid #00285e;
}
.aa-board--myp {
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 168, 85, 0.14), transparent 42%),
    linear-gradient(135deg, #eef8f0 0%, #e3f3e8 100%);
  box-shadow: 0 20px 46px rgba(20, 120, 70, 0.10);
  border: 1px solid #0e7a3c;
}
.aa-board--igcse {
  background:
    radial-gradient(circle at 92% 8%, rgba(245, 158, 11, 0.16), transparent 42%),
    linear-gradient(135deg, #fdf6ea 0%, #faeed6 100%);
  box-shadow: 0 20px 46px rgba(150, 100, 20, 0.10);
  border: 1px solid #b4740a;
}

/* faint decorative corner graphic */
.aa-board::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}
.aa-board--ib::after { background: radial-gradient(circle, rgba(56,166,221,0.12), transparent 70%); }
.aa-board--myp::after { background: radial-gradient(circle, rgba(22,168,85,0.12), transparent 70%); }
.aa-board--igcse::after { background: radial-gradient(circle, rgba(245,158,11,0.14), transparent 70%); }

.aa-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.aa-board-title { display: flex; align-items: center; gap: 16px; }

.aa-board-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--montserrat);
  font-weight: 800;
}

.aa-board-badge svg { width: 30px; height: 30px; }

.aa-board-badge--ib {
  background: linear-gradient(135deg, #dcecfb, #c7e0f6);
  color: var(--dark-blue);
  box-shadow: inset 0 0 0 1px rgba(56,166,221,0.25);
}
.aa-board-badge--ib svg { fill: var(--dark-blue); }
.aa-board-badge--myp {
  background: linear-gradient(135deg, #d7f0de, #c2e8cd);
  color: #0e7a3c;
  box-shadow: inset 0 0 0 1px rgba(22,168,85,0.25);
}
.aa-board-badge--myp svg { fill: #0e7a3c; }
.aa-board-badge--igcse {
  background: linear-gradient(135deg, #fbeccf, #f6dfb0);
  color: #b4740a;
  box-shadow: inset 0 0 0 1px rgba(245,158,11,0.3);
}
.aa-board-badge--igcse svg { fill: #b4740a; }

.aa-board-meta h2 {
  font-family: var(--montserrat);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 4px;
}

.aa-board-meta p {
  font-family: var(--montserrat);
  font-size: 0.9rem;
  color: #7c8ba0;
  font-weight: 500;
}

.aa-btn {
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--montserrat);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.aa-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.aa-board--ib .aa-btn { background: linear-gradient(135deg, #2f8fd6, #1e6fb8); box-shadow: 0 6px 16px rgba(30,111,184,0.35); }
.aa-board--myp .aa-btn { background: linear-gradient(135deg, #1aa355, #0e7a3c); box-shadow: 0 6px 16px rgba(14,122,60,0.35); }
.aa-board--igcse .aa-btn { background: linear-gradient(135deg, #e79413, #c07708); box-shadow: 0 6px 16px rgba(192,119,8,0.35); }

/* ===== STUDENT CARDS ===== */
.aa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.aa-card {
  background: var(--white);
  border-radius: 16px;
  padding: 10px 10px 14px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(8,38,82,0.06);
  border: 1px solid rgba(255,255,255,0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(8,38,82,0.12);
}

.aa-card-photo {
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0f8, #d4e3f2);
  aspect-ratio: 1/1;
}

.aa-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* trophy / medal badge top-right */
.aa-card-medal {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.9);
}

.aa-card-medal svg { width: 13px; height: 13px; fill: #fff; }

.aa-board--ib .aa-card-medal { background: linear-gradient(135deg, #3a97d8, #1e6fb8); }
.aa-board--myp .aa-card-medal { background: linear-gradient(135deg, #24ad5d, #0e7a3c); }
.aa-board--igcse .aa-card-medal { background: linear-gradient(135deg, #efa030, #c07708); }

.aa-card-name {
  margin-top: 12px;
  font-family: var(--montserrat);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-blue);
  padding: 0 4px;
}

.aa-card-score {
  margin-top: 3px;
  padding: 0 4px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.aa-card-score .label {
  font-family: var(--montserrat);
  color: #8a99ac;
  font-weight: 600;
  font-size: 0.72rem;
}

.aa-card-score .value {
  font-family: var(--montserrat);
  font-weight: 800;
  font-size: 0.82rem;
}

.aa-board--ib .aa-card-score .value { color: #1e6fb8; }
.aa-board--myp .aa-card-score .value { color: #0e7a3c; }
.aa-board--igcse .aa-card-score .value { color: #c07708; }

/* ===== BOTTOM BAR ===== */
.aa-bottom {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--academic-border);
  box-shadow: 0 4px 16px rgba(8,38,82,0.03);
}

.aa-bottom-left { display: flex; align-items: center; gap: 16px; }

.aa-bottom-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(56,166,221,0.1), rgba(56,166,221,0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aa-bottom-icon svg { width: 22px; height: 22px; fill: var(--blue); }

.aa-bottom-text h3 {
  font-family: var(--montserrat);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 2px;
}

.aa-bottom-text p {
  font-family: var(--montserrat_alternates);
  font-size: 0.85rem;
  color: var(--grey);
}

.aa-bottom-actions { display: flex; gap: 10px; }

.aa-btn-outline {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 10px 20px;
  border-radius: 24px;
  font-family: var(--montserrat);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.aa-btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ===== PAST RESULTS MODAL ===== */
.aa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 50, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(6px);
  padding: 20px;
}
.aa-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.aa-modal {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s ease;
  box-shadow: 0 32px 80px rgba(0, 20, 50, 0.22);
}
.aa-modal-overlay.is-open .aa-modal {
  transform: translateY(0) scale(1);
}

.aa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0, 40, 94, 0.08);
  flex-shrink: 0;
}

.aa-modal-header-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aa-modal-header-title h2 {
  font-family: var(--montserrat);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin: 0;
}

.aa-modal-header-title .aa-modal-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aa-modal-header-title .aa-modal-badge svg { width: 20px; height: 20px; }
.aa-modal-badge--ib { background: linear-gradient(135deg, #dcecfb, #c7e0f6); }
.aa-modal-badge--ib svg { fill: var(--dark-blue); }
.aa-modal-badge--myp { background: linear-gradient(135deg, #d7f0de, #c2e8cd); }
.aa-modal-badge--myp svg { fill: #0e7a3c; }
.aa-modal-badge--igcse { background: linear-gradient(135deg, #fbeccf, #f6dfb0); }
.aa-modal-badge--igcse svg { fill: #b4740a; }

.aa-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 40, 94, 0.06);
  color: var(--dark-blue);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.aa-modal-close:hover { background: rgba(0, 40, 94, 0.12); }

.aa-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.aa-modal-year-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.aa-modal-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 40, 94, 0.12);
  background: #fff;
  font-family: var(--montserrat);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-blue);
  cursor: pointer;
  transition: all 0.25s ease;
}
.aa-modal-tab:hover { border-color: var(--blue); color: var(--blue); }
.aa-modal-tab.active {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: #fff;
}

.aa-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.aa-modal-card {
  background: var(--light_grey);
  border-radius: 14px;
  padding: 10px 10px 14px;
  text-align: left;
  border: 1px solid rgba(0, 40, 94, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.aa-modal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(8, 38, 82, 0.08);
}

.aa-modal-card-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0f8, #d4e3f2);
}
.aa-modal-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aa-modal-card-name {
  margin-top: 10px;
  font-family: var(--montserrat);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-blue);
  padding: 0 4px;
}

.aa-modal-card-score {
  margin-top: 3px;
  padding: 0 4px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.aa-modal-card-score .label {
  font-family: var(--montserrat);
  color: #8a99ac;
  font-weight: 600;
  font-size: 0.68rem;
}
.aa-modal-card-score .value {
  font-family: var(--montserrat);
  font-weight: 800;
  font-size: 0.78rem;
}

.aa-board--ib .aa-modal-card-score .value { color: #1e6fb8; }
.aa-board--myp .aa-modal-card-score .value { color: #0e7a3c; }
.aa-board--igcse .aa-modal-card-score .value { color: #c07708; }

.aa-modal-year-panel { display: none; }
.aa-modal-year-panel.active { display: block; }

.aa-modal-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--grey);
  font-family: var(--montserrat);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .aa-modal { max-width: 100%; max-height: 90vh; border-radius: 18px; }
  .aa-modal-header { padding: 18px 20px 16px; }
  .aa-modal-body { padding: 18px 20px; }
  .aa-modal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .aa-hero { flex-direction: column; gap: 24px; }
  .aa-hero-text { max-width: 100%; text-align: center; }
  .aa-hero-text p { margin: 0 auto; }
  .aa-hero-visual { width: 100%; max-width: 340px; height: 300px; margin: 0 auto; }
  .aa-metrics { grid-template-columns: repeat(2, 1fr); }
  .aa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .academic-banner-static,
  .academic-banner::after { border-radius: 0 0 22px 22px; }
  .academic-banner-static__content { padding: 0 20px; }
  .academic-banner-static__eyebrow { letter-spacing: 0.18em; font-size: 0.72rem; }
  .academic-banner-static__eyebrow::before,
  .academic-banner-static__eyebrow::after { width: 26px; }
  .academic-banner-static__title { font-size: 2rem; }
  .aa-intro { margin-top: -18px; padding: 0 0 34px; }
  .aa-intro .section-title .title-left,
  .aa-intro .section-title .title-right { font-size: 2.25rem; }
  .aa-hero-visual { height: 260px; width: 100%; max-width: 320px; }
  .aa-metrics { grid-template-columns: 1fr; }
  .aa-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .aa-board { padding: 18px; }
  .aa-board-header { flex-direction: column; gap: 14px; align-items: flex-start; }
  .aa-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .aa-bottom-actions { flex-wrap: wrap; }
}
