:root {
  --navy: #0b1f3a;
  --navy-600: #16325c;
  --navy-700: #0e2748;
  --red: #8a3030;
  --red-soft: #b85c5c;
  --ink: #1a1f26;
  --muted: #5b6570;
  --line: #dfe3e8;
  --paper: #ffffff;
  --fog: #f5f7f9;
  --gold: #805e14;
  --radius: 10px;
  --wrap: 1120px;
  --shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
  --font: "Source Sans 3", "Noto Sans TC", "Noto Sans SC", "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.masthead {
  background: var(--navy);
  color: #d7dee8;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.25rem;
  flex-wrap: wrap;
}

.lang-switch ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-switch a {
  color: #d7dee8;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
  min-width: 2rem;
  text-align: center;
}

.lang-switch a.is-current,
.lang-switch a[aria-current="true"] {
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: auto;
  height: 42px;
  max-height: 44px;
  flex: none;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: block;
  padding: 0.7rem 0.35rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 0.75rem;
}

.menu .sub-menu a {
  font-weight: 400;
  color: var(--muted);
  padding: 0.4rem 0.35rem;
}

.hero,
.pillar-hero {
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.92), rgba(11, 31, 58, 0.88)),
    repeating-linear-gradient(135deg, transparent, transparent 18px, rgba(255,255,255,0.03) 18px, rgba(255,255,255,0.03) 19px);
  color: #fff;
  padding: 3.5rem 0 4rem;
}

.hero h1,
.pillar-hero h1,
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
  max-width: 22em;
  text-transform: none;
}

.page-hero h1 {
  max-width: 24ch;
  color: var(--navy);
}

.lead {
  max-width: 42rem;
  color: #d5deea;
  font-size: 1.125rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red-soft);
  margin: 0;
}

.page-hero .kicker {
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #742828;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.section {
  padding: 3.25rem 0;
}

.section-muted {
  background: var(--fog);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.contact-teaser {
  border-bottom: 0;
  margin-bottom: 0;
}

.section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.page-article h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.5rem;
}

.section-navy h2 {
  color: #fff;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow);
}

a.card:hover {
  border-color: var(--navy);
  color: inherit;
}

.card h3 {
  margin: 0.2rem 0 0.5rem;
  color: var(--navy);
  font-size: 1.125rem;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.card-link {
  font-weight: 600;
  color: var(--red);
}

/* Business-card watermark backgrounds ("business-grid" cards only; never the shared .card). */
.business-grid {
  --biz-bg-opacity: 0.12;
  --biz-bg-position: right center;
  --biz-bg-size: 76%;
}

.business-grid .card-flagship {
  --biz-bg-opacity: 0.10;
  --biz-bg-size: 55%;
}

.business-grid .card {
  position: relative;
}

.business-grid .card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px; /* stay inside the border so the focus outline is never clipped */
  border-radius: calc(var(--radius) - 1px);
  background-image: url("../img/card-bg-gold-coins.webp");
  background-repeat: no-repeat;
  background-position: var(--biz-bg-position);
  background-size: var(--biz-bg-size) auto;
  opacity: var(--biz-bg-opacity);
  pointer-events: none;
  /* Text-side fade: left stays white/readable, image only shows faintly on the right. */
  -webkit-mask-image: linear-gradient(to right, transparent 12%, #000 68%);
  mask-image: linear-gradient(to right, transparent 12%, #000 68%);
}

.business-grid .card-flagship::before {
  background-image: url("../img/card-bg-logo-slabs.webp");
}

/* Keep card text, flagship pill and "learn more" fully above the watermark layer. */
.business-grid .card > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 959px) {
  .business-grid {
    --biz-bg-opacity: 0.08;
    --biz-bg-size: 50%;
  }

  .business-grid .card-flagship {
    --biz-bg-opacity: 0.07;
    --biz-bg-size: 40%;
  }
}

.card-flagship {
  border-color: var(--navy);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, var(--navy), var(--red)) border-box;
  border: 1px solid var(--navy);
  grid-column: 1 / -1;
}

.card-flagship h3 {
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.35;
  max-width: none;
}

.pill {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

.insights-grid .insight-card {
  padding: 0;
  overflow: hidden;
}

.insight-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0 0 1.1rem;
}

.insight-media,
.insight-fallback,
.article-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  background: var(--navy-600);
}

.insight-card h3,
.insight-card .meta,
.insight-card p,
.insight-card .card-link {
  padding-inline: 1.1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0.85rem 0 0.25rem;
}

.ir-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.ir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.ir-table th,
.ir-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.ir-table th {
  background: var(--fog);
  color: var(--navy);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ir-table tr:last-child td {
  border-bottom: 0;
}

.download-link {
  font-weight: 600;
  white-space: nowrap;
}

.ir-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin: 0 0 1.25rem;
}

.ir-filters label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.ir-filters select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  background: #fff;
}

.ir-list {
  margin: 0.25rem 0 2rem;
}

.ir-list-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 0 1rem;
}

.ir-year {
  position: relative;
  min-width: 8.5rem;
}

.ir-year-caption {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.3rem;
}

.ir-year-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.ir-year-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.ir-year-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--navy);
}

.ir-year.is-open .ir-year-caret {
  transform: rotate(180deg);
}

.ir-year-list {
  position: absolute;
  right: 0;
  z-index: 20;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  list-style: none;
  min-width: 100%;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.ir-year-list [role="option"] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}

.ir-year-list [role="option"]:hover,
.ir-year-list [role="option"].is-active {
  background: var(--fog);
}

.ir-year-list [role="option"].is-selected {
  font-weight: 600;
  color: var(--navy);
}

.ir-year-check {
  display: inline-block;
  width: 1rem;
  color: var(--navy);
}

.ir-year-noscript {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.9rem;
}

.ir-year-noscript a[aria-current="page"] {
  font-weight: 700;
}

.ir-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ir-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f3f4f6;
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
}

.ir-card-text {
  min-width: 0;
  flex: 1;
}

.ir-card time {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.2rem;
}

.ir-card-title {
  display: block;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

a.ir-card-title:hover {
  color: var(--red);
}

.ir-card-file {
  flex-shrink: 0;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.ir-card-file:hover {
  color: var(--red);
}

.ir-pdf-icon {
  display: block;
}

.ir-empty {
  background: #f3f4f6;
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  color: var(--muted);
}

.ir-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin: 1.5rem 0 0;
}

.ir-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

a.ir-page:hover {
  background: var(--fog);
}

.ir-page.is-current {
  background: var(--navy);
  color: #fff;
}

.ir-page.is-disabled {
  color: #9aa3ad;
  font-weight: 500;
}

.contact-form textarea {
  min-height: 8rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--navy);
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.form-status-ok {
  background: #eaf5ee;
}

.form-status-err {
  background: #f8ecec;
  color: var(--red);
}

.page-article {
  padding: 2.5rem 0 3.5rem;
}

.prose {
  max-width: 46rem;
}

.prose h2,
.prose h3 {
  color: var(--navy);
  line-height: 1.25;
}

.prose .note,
.prose aside {
  color: var(--muted);
  font-size: 0.95rem;
}

.modules {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.modules .card {
  box-shadow: none;
}

.team-grid,
.subpage-links,
.ir-hub-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.retention {
  color: var(--muted);
  font-size: 0.9rem;
}

.teaser-inner {
  display: grid;
  gap: 1rem;
}

.section-navy .btn-ghost {
  border-color: rgba(255,255,255,0.5);
}

.site-footer {
  background: #f5f5f4;
  color: #1a1f26;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
  border-top: 4px solid var(--navy);
}

.footer-brand {
  display: inline-block;
  line-height: 0;
  margin: 0 0 0.85rem;
  max-width: 100%;
  text-decoration: none;
}

.footer-wordmark {
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a,
.site-footer a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.site-footer a:hover {
  color: var(--red);
}

.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #3a424c;
}

.article-media {
  margin: 0 0 1.5rem;
}

.decade-band {
  background: #f5f5f4;
  color: var(--ink);
  text-align: center;
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decade-band-inner {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.decade-band h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.3;
  max-width: 22em;
}

.decade-band .kicker {
  color: var(--muted);
  margin: 0;
}

.decade-subtitle {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.decade-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: 1rem;
}

.decade-actions {
  margin: 0.15rem 0 0;
}

.decade-band .btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
}

.decade-band .btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.decade-band-inset {
  margin: 2rem 0 0.25rem;
  border-radius: var(--radius);
  padding: 1.75rem 1.15rem 2rem;
}

.decade-strip {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  max-width: 48rem;
}

.decade-strip li {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.4;
}

.decade-strip li:not(:last-child)::after {
  content: "—";
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.45rem;
}

.decade-strip-year {
  color: #805e14;
  font-weight: 700;
}

.decade-strip-title {
  color: #0b1f3a;
  font-weight: 650;
}

.milestones {
  margin: 3.5rem 0 1.25rem;
  padding: 2.75rem 1.25rem 2.25rem;
  background: #f5f5f4;
}

.milestones h2 {
  margin: 0 0 2rem;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 650;
}

.milestone-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  position: relative;
}

.milestone {
  min-width: 0;
}

.milestone-year {
  margin: 0 0 0.65rem;
  color: #805e14;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.milestone-title {
  margin: 0 0 0.85rem;
  color: #0b1f3a;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.milestone-desc {
  margin: 0;
  color: #3a424c;
  line-height: 1.7;
}

.milestone-desc strong {
  font-weight: 700;
  color: #0b1f3a;
}

@media (max-width: 719px) {
  .decade-strip {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
  }

  .decade-strip li:not(:last-child)::after {
    content: none;
  }

  .milestone-timeline {
    padding-left: 1.35rem;
  }

  .milestone-timeline::before {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 1px;
    background: #d6c7a0;
  }

  .milestone {
    position: relative;
  }

  .milestone::before {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: 0.55rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #805e14;
    box-shadow: none;
  }
}

@media (min-width: 720px) {
  .milestone-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2.75rem;
    padding-top: 1.25rem;
  }

  .milestone-timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0.35rem;
    height: 1px;
    background: #d6c7a0;
  }

  .milestone {
    position: relative;
    padding-top: 1.15rem;
  }

  .milestone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #805e14;
    box-shadow: none;
  }
}

.decade-band :focus-visible {
  outline-color: var(--gold);
}

.site-footer a:focus-visible {
  outline-color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  .decade-band,
  .brand-mark,
  .footer-wordmark {
    animation: none;
    transition: none;
  }
}

@media (min-width: 720px) {
  .card-grid,
  .subpage-links,
  .ir-hub-grid,
  .team-grid,
  .modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-grid .card-flagship {
    grid-column: 1 / -1;
  }

  .contact-layout,
  .teaser-inner,
  .footer-grid,
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
  }

  .section-head {
    align-items: start;
  }

  .footer-wordmark {
    max-height: 72px;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .menu {
    display: flex;
    gap: 0.15rem;
    align-items: center;
  }

  .menu > li {
    position: relative;
  }

  .menu > li > a {
    padding: 0.85rem 0.7rem;
  }

  .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 22rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.4rem 0;
    z-index: 30;
  }

  .menu .sub-menu a {
    padding: 0.55rem 0.9rem;
  }

  .menu > li:hover > .sub-menu,
  .menu > li:focus-within > .sub-menu {
    display: block;
  }

  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .business-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .business-grid .card-flagship {
    grid-column: span 6;
  }

  .business-grid .card:not(.card-flagship) {
    grid-column: span 3;
  }

  .ir-table thead {
    display: table-header-group;
  }
}

/* Mobile nav panel scrolling.
   Uses the same 960px breakpoint as the desktop-menu query above, negated
   ("not all and (min-width: 960px)") so these rules can never apply at or
   above the desktop menu width. --pb-nav-panel-top is the panel-top offset
   measured by main.js when the menu opens (CSS fallback: header height). */
@media not all and (min-width: 960px) {
  .site-nav.is-open {
    max-height: calc(100vh - var(--pb-nav-panel-top, 4.375rem));
    max-height: calc(100dvh - var(--pb-nav-panel-top, 4.375rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(env(safe-area-inset-bottom) + 24px);
  }
}

@media (max-width: 719px) {
  .brand-mark {
    height: 40px;
  }

  .ir-table thead {
    display: none;
  }

  .ir-table tr {
    display: block;
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .ir-table td {
    display: block;
    border: 0;
    padding: 0.2rem 0;
  }

  .ir-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* ---------------------------------------------------------------
   Charity activities (part B highlights block + part D single page)
   --------------------------------------------------------------- */

.charity-highlights {
  margin-top: 2.25rem;
}

.charity-highlights-title {
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 1.1rem;
}

.charity-highlights-grid {
  display: grid;
  grid-auto-flow: column;
  /* Fixed 78% track (not minmax) so each card is 78% of the container and the
     next card's edge peeks out, signalling horizontal scroll. */
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.charity-activity-card {
  padding: 0;
  overflow: hidden;
}

.charity-highlights-grid .charity-activity-card {
  scroll-snap-align: start;
}

.charity-activity-media,
.charity-activity-fallback {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--navy-600);
  display: block;
}

.charity-activity-media img {
  object-fit: cover;
  display: block;
}

.charity-activity-card .meta {
  padding: 0 1.1rem;
  margin-top: 0.9rem;
}

.charity-activity-card h3 {
  padding-inline: 1.1rem;
  margin-top: 0.1rem;
}

.charity-activity-card p {
  padding-inline: 1.1rem;
}

.charity-activity-card .card-link {
  display: inline-block;
  padding: 0 1.1rem 1.1rem;
  margin-top: 0.25rem;
}

.charity-highlights-actions {
  margin: 1.25rem 0 0;
}

@media (min-width: 720px) {
  .charity-highlights-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }
}

/* Single activity page: photo gallery (swipe on mobile) + lightbox */
.charity-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  padding-bottom: 0.5rem;
}

.charity-gallery-item {
  scroll-snap-align: start;
  min-width: 0;
}

.charity-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  cursor: zoom-in;
}

@media (min-width: 720px) {
  .charity-gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }
}

.charity-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.charity-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.charity-lightbox img {
  max-width: min(100%, 1200px);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
}

.charity-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.charity-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.charity-back {
  margin: 2rem 0 0;
}

/* Charity activities overview: year buttons + card grid (mobile 1 col) */
.charity-overview-list {
  max-width: none;
}

.charity-overview-back {
  margin: 1.25rem 0 0;
}

.charity-year-filter {
  display: block;
  width: 100%;
}

.charity-year-filter .ir-year-caption {
  margin-bottom: 0.5rem;
}

.charity-year-buttons {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
}

.charity-year-btn {
  flex: none;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.charity-year-btn:hover {
  border-color: var(--navy);
}

.charity-year-btn.is-current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.charity-overview-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .charity-overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
