/* Mission ABQ website — shared styles.
   Colors match the Mission ABQ app (mission-abq-pwa/index.html :root tokens). */
:root {
  --ma-navy: #1B3A5C;
  --ma-blue: #4A90B8;
  --ma-header: #6AAEC8;
  --ma-light: #D0E8F0;
  --ma-orange: #E07020;
  --ma-charcoal: #3D3D3D;
  --ma-gray: #666666;
  --ma-text: #404040;
  --ma-mute: #5A5A5A;
  --ma-bg: #F2F5F7;
  --ma-cream: #FBFDFE;
  /* Accessible variants (white text / small text need 4.5:1) */
  --ma-link: #2F6E94;
  --ma-cta: #B9530F;
  --ma-cta-hover: #9A440B;
  --ma-line: #E3EAEF;
  --ma-line-strong: #D5E1E8;
  --shadow-sm: 0 2px 8px rgba(27,58,92,0.08);
  --shadow-md: 0 8px 24px rgba(27,58,92,0.12);
  --shadow-lg: 0 20px 60px rgba(27,58,92,0.18);
  --radius: 20px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  color: var(--ma-text);
  background: var(--ma-cream);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ma-link); }
a:hover { color: var(--ma-navy); }
h1, h2, h3 { color: var(--ma-navy); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -1px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.5px; }
h3 { font-size: 21px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ma-orange); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--ma-bg); }
.bg-navy { background: var(--ma-navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.lede { font-size: 19px; max-width: 640px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ma-link); }
.muted { color: var(--ma-mute); }
.row-between { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-sm { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid-2 { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-cta { background: var(--ma-cta); color: #fff; }
.btn-cta:hover { background: var(--ma-cta-hover); color: #fff; }
.btn-navy { background: var(--ma-navy); color: #fff; }
.btn-navy:hover { background: #142c47; color: #fff; }
.btn-outline { border-color: var(--ma-navy); color: var(--ma-navy); background: transparent; }
.btn-outline:hover { background: var(--ma-navy); color: #fff; }
.btn-white { background: #fff; color: var(--ma-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Utility bar + header */
.utility { background: var(--ma-navy); color: #fff; font-size: 14px; }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a.soft { color: var(--ma-light); font-weight: 500; }
.utility .links { display: flex; gap: 20px; }
.next-up { display: flex; align-items: center; gap: 8px; }

.site-header { background: var(--ma-header); position: relative; z-index: 10; } /* light blue, like the document header bands */
.site-header .wrap { display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.brand img { height: 92px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav { font-size: 17px; }
.nav a:not(.btn) { color: #fff; text-decoration: none; padding: 4px 0; }
.nav a:not(.btn):hover { color: #fff; box-shadow: inset 0 -3px 0 rgba(255,255,255,.7); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #fff; }
.nav .btn { color: #fff; }
.menu { display: none; }
.menu summary { list-style: none; width: 48px; height: 48px; background: #fff; border: 1px solid var(--ma-line-strong); border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ma-line); box-shadow: var(--shadow-md); padding: 8px 24px 20px; display: flex; flex-direction: column; }
.menu-panel a { padding: 14px 0; border-bottom: 1px solid var(--ma-line); color: var(--ma-navy); text-decoration: none; font-weight: 600; font-size: 18px; }
.menu-panel .btn { margin-top: 16px; border-bottom: 0; color: #fff; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand img { height: 64px; }
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; }
  .utility .next-up { display: none; }
}

/* Hero */
.hero { background: var(--ma-bg); }
.hero .grid-2 { padding-top: 64px; padding-bottom: 64px; gap: 56px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; left: -16px; bottom: 28px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.hero-badge strong { font-size: 32px; color: var(--ma-cta); line-height: 1; }
.hero-badge span { font-size: 14px; }
@media (max-width: 600px) { .hero-badge { left: 12px; bottom: 12px; } .hero .grid-2 { padding-top: 36px; padding-bottom: 36px; gap: 32px; } }

.doors { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.door { background: #fff; border: 1px solid var(--ma-line-strong); border-radius: 16px; padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.door:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.door strong { font-size: 17px; color: var(--ma-navy); }
.door span { font-size: 14px; color: var(--ma-mute); }

.page-hero { background: var(--ma-navy); color: #fff; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #fff; font-size: 20px; max-width: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; color: var(--ma-navy); text-decoration: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }

/* Stats */
.stats { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 40px 0; }
.stat strong { display: block; font-size: 40px; font-weight: 800; line-height: 1.05; color: #fff; }
.stat span { font-size: 15px; color: var(--ma-light); }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat strong { font-size: 28px; } }

/* Cards */
.card { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.card.outline { box-shadow: none; border: 1px solid var(--ma-line); }
.card.navy { background: var(--ma-navy); color: #fff; }
.card.navy h3 { color: #fff; }
.card .grow { flex-grow: 1; }
.card .tag { font-size: 14px; font-weight: 600; color: var(--ma-link); }
.card.navy .tag { color: var(--ma-light); }
.card .badge-img { height: 96px; width: auto; align-self: flex-start; mix-blend-mode: multiply; }
.programs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.programs-grid > * { grid-column: span 2; }
.programs-grid > :nth-child(4), .programs-grid > :nth-child(5) { grid-column: span 3; }
@media (max-width: 980px) { .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .programs-grid > *, .programs-grid > :nth-child(4) { grid-column: span 1; } .programs-grid > :nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .programs-grid { grid-template-columns: 1fr; } .programs-grid > * { grid-column: 1 / -1 !important; } }
.card .links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.card .links a { text-decoration: none; }
.card .links a.app { color: var(--ma-cta); }
.card.navy .links a { color: #fff; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.info-box { background: var(--ma-bg); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.info-box strong { color: var(--ma-navy); }
.callout { background: var(--ma-light); border-radius: 16px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; color: var(--ma-navy); }
.callout a { color: var(--ma-navy); }

/* Schedule */
.sched { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.slot { border: 1px solid var(--ma-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; background: var(--ma-cream); }
.slot .when { font-size: 13px; font-weight: 700; color: var(--ma-link); text-transform: uppercase; letter-spacing: 1px; }
.slot .what { font-size: 20px; font-weight: 700; color: var(--ma-navy); }
.slot .where { font-size: 14px; }
.slot.next { border: 2px solid var(--ma-navy); background: #fff; }
.slot.next .when { color: var(--ma-cta); }

.table-box { overflow-x: auto; border: 1px solid var(--ma-line); border-radius: 16px; }
table.data { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 16px; }
table.data th { background: var(--ma-navy); color: #fff; text-align: left; padding: 14px 18px; font-size: 14px; }
table.data td { padding: 14px 18px; }
table.data tr:nth-child(even) td { background: var(--ma-bg); }
table.data tr.next td { background: #FFF1E6; }
table.data tr.next td:first-child::after { content: "  · Next up"; color: var(--ma-cta); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
table.data td:first-child { font-weight: 700; color: var(--ma-navy); white-space: nowrap; }

/* Steps */
.step-num { font-size: 44px; font-weight: 800; line-height: 1; }

/* Phone mockup of the app */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border-radius: 44px; background: var(--ma-navy); padding: 12px; box-shadow: var(--shadow-lg); }
.phone-screen { border-radius: 34px; background: var(--ma-bg); overflow: hidden; }
.phone-top { background: var(--ma-navy); padding: 28px 18px 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.phone-top img { width: 120px; }
.phone-top span { font-size: 11px; color: var(--ma-light); }
.phone-body { padding: 16px 16px 48px; display: flex; flex-direction: column; gap: 10px; }
.phone-tile { background: #fff; border-radius: 14px; padding: 14px; font-size: 14px; font-weight: 700; color: var(--ma-navy); box-shadow: var(--shadow-sm); }
.phone-tile.soft { background: var(--ma-light); font-weight: 400; font-size: 13px; }

.checks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 3px; }
.checks strong { color: var(--ma-navy); }

/* Prose pages */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* Footer — matches the grey footer band on Mission ABQ documents */
.site-footer { background: #595959; color: #fff; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 44px; padding-bottom: 40px; }
.band-text { font-family: "Century Gothic", CenturyGothic, AppleGothic, "Trebuchet MS", sans-serif; font-size: 18px; line-height: 1.6; color: #fff; max-width: 820px; margin: 0; }
.band-logo { width: 220px; height: auto; flex-shrink: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid #7a7a7a; font-size: 14px; color: #F2F5F7; }
.footer-links a { color: #fff; }
@media (max-width: 760px) {
  .band-inner { flex-direction: column-reverse; align-items: flex-start; gap: 20px; padding-top: 32px; padding-bottom: 28px; }
  .band-text { font-size: 16px; }
  .band-logo { width: 170px; }
  .footer-links { flex-direction: column; gap: 6px; }
}

[hidden] { display: none !important; }

/* Photos */
.photo { width: 100%; border-radius: 24px; object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.photo.square { aspect-ratio: 1 / 1; }
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.photo-row .photo { box-shadow: none; border-radius: 16px; }

/* Program page hero (photo + text) */
.prog-hero { background: var(--ma-bg); }
.prog-hero .grid-2 { padding-top: 56px; padding-bottom: 56px; }
.prog-hero .badge { height: 96px; width: auto; mix-blend-mode: multiply; }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--ma-line); }
.fact span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--ma-link); }
.fact strong { color: var(--ma-navy); font-size: 17px; }
.list-2 { columns: 2 260px; column-gap: 32px; margin: 0; padding-left: 22px; }
.list-2 li { margin-bottom: 8px; break-inside: avoid; }
.quote { border-radius: var(--radius); background: var(--ma-navy); color: #fff; padding: 32px; font-size: 20px; line-height: 1.5; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 15px; color: var(--ma-light); }
.team { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.team .card { gap: 4px; padding: 20px; }
.team .role { color: var(--ma-mute); font-size: 15px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--ma-line); border-radius: 16px; overflow: hidden; }
.doc-list li { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--ma-line); background: #fff; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list .meta { color: var(--ma-mute); font-size: 14px; }
.sched-list { display: flex; flex-direction: column; gap: 8px; }
.sched-list div { display: flex; gap: 16px; }
.sched-list b { color: var(--ma-navy); min-width: 90px; }
.stack > img:not(.photo), .prog-hero .badge { align-self: flex-start; }
