:root {
  --navy: #173959;
  --ink: #20384f;
  --blue: #245b8c;
  --muted: #5c7083;
  --line: #d5dfe8;
  --paper: #ffffff;
  --wash: #f1f5f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
.wrap { width: min(1480px, calc(100% - 80px)); margin: 0 auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
a:focus-visible { outline: 3px solid #3478b4; outline-offset: 5px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }
h1, h2 { letter-spacing: -.035em; }
.skip-link { position: absolute; z-index: 2; top: 8px; left: 16px; padding: 8px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px 36px; min-height: 100px; padding-block: 18px; }
.identity { justify-self: start; color: var(--navy); text-decoration: none; line-height: 1.4; }
.identity .brand-logo { display: block; position: relative; width: 214px; max-width: 100%; aspect-ratio: 1380 / 232; overflow: hidden; }
/* Frame only the outer whitespace; keep the approved source image unchanged. */
.brand-logo img { position: absolute; width: 110.869565%; max-width: none; height: auto; left: -5.072464%; top: -51.724138%; }
nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-inline: auto; font-size: 14px; white-space: nowrap; }
nav a { padding-block: 9px; color: var(--ink); text-decoration: none; }
nav a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px var(--blue); }
nav span { color: var(--muted); cursor: default; }
#site-visits { justify-self: end; min-width: 116px; padding-left: 22px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; white-space: nowrap; }
#site-visits:empty { visibility: hidden; }
.hero { padding: 18px 0; }
h1 { margin: 0 0 8px; font-size: clamp(2.25rem, 3vw, 3rem); font-weight: 700; }
.byline { max-width: 800px; margin: 0; color: var(--muted); font-size: 14px; }
.byline span { margin-inline: 5px; }
.showcase-background { padding: 28px 0 48px; background: var(--wash); border-top: 1px solid #e6ecf1; }
#projects, #production { scroll-margin-top: 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.pillar { display: flex; align-items: center; min-height: 96px; padding: 20px 24px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; text-decoration: none; }
.pillar-number { margin-right: 4px; color: var(--muted); font-size: .8em; font-weight: 400; }
.pillar-title { margin: 0; color: inherit; font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.pillar.active { color: white; background: var(--navy); border-color: var(--navy); }
.pillar.active .pillar-number { color: #c2d8eb; }
.pillar.active:hover { color: white; }
.pillar.active:focus-visible { outline-offset: -6px; outline-color: #c2d8eb; }
.pillar.inactive { background: #e3ebf2; color: var(--navy); }
.pillar.inactive:hover { border-color: var(--blue); background: #d8e5ef; }
.page-content { min-height: 340px; }
.page-description { max-width: 800px; margin: 0; color: var(--muted); }
.page-panel { padding: 28px 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.page-panel h2 { color: var(--navy); font-size: 24px; }
.page-panel p { max-width: 800px; margin: 12px 0 20px; }
.page-panel .release-status { margin: 12px 0 0; color: var(--blue); font-size: 19px; font-weight: 600; }
.production { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; background: var(--paper); overflow: hidden; }
.pillar-band { display: flex; align-items: center; justify-content: flex-end; height: 52px; padding: 8px 32px; background: var(--navy); color: white; }
.pillar-band-frame { border-inline: 1px solid var(--line); }
h2 { margin: 0; color: white; font-size: clamp(1.4rem, 1.8vw, 1.65rem); font-weight: 600; }
.asset-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--blue); font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.asset-action:hover { border-color: var(--blue); background: var(--wash); }
.pdf-link { color: white; border-color: #738da5; }
.pdf-link:hover { color: white; border-color: #c2d8eb; background: transparent; }
.pdf-link:focus-visible { outline-color: #c2d8eb; }
.production-body { padding: 28px 32px 34px; }
.overview, .lifecycle, .demo { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.overview > h3 { margin-bottom: 18px; }
.overview-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.overview-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--wash); }
.overview-card h4 { margin: 0 0 12px; font-size: 19px; font-weight: 600; }
.overview-card ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.55; }
.overview-card li { padding-left: 3px; }
.overview-card li + li { margin-top: 8px; }
.overview-card li::marker { color: var(--blue); }
.asset-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.slide { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #f4f6fa; }
.slide img { display: block; width: 100%; height: auto; }
.demo { min-width: 0; }
.demo h3 { margin-bottom: 22px; }
.demo-evidence { display: grid; grid-template-columns: minmax(0, 1.64fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.evidence-column { min-width: 0; }
.evidence-column + .evidence-column { padding-left: 24px; border-left: 1px solid var(--line); }
.evidence-column h4 { margin: 0 0 16px; font-size: 19px; font-weight: 600; }
.course-list { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.course-list li { position: relative; padding-left: 18px; }
.course-list li::before { content: ""; position: absolute; left: 0; top: .75em; transform: translateY(-50%); width: 7px; height: 7px; border: 1.5px solid var(--blue); border-radius: 50%; background: var(--blue); }
.evidence-column[aria-labelledby="upcoming-title"] .course-list li::before { border-color: var(--muted); background: transparent; }
.course-list li + li { margin-top: 14px; }
.video-frame { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #101827; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #101827; }
.demo p { max-width: 800px; margin: 0 0 18px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.introduction h3 { margin-bottom: 12px; }
.introduction ul { max-width: 900px; margin: 0; padding-left: 18px; font-size: 16.5px; line-height: 1.5; }
.introduction li { padding-left: 3px; }
.introduction li::marker { color: var(--blue); }
.introduction li + li { margin-top: 8px; }
footer { padding: 22px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer a { color: var(--muted); }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 48px); }
  .header-row { column-gap: 24px; }
  .pillar { padding: 18px 20px; }
  .pillar-title { margin: 0; color: inherit; font-size: 18px; }
  .pillar-band { padding-inline: 24px; }
  .production-body { padding: 24px; }
  .page-panel { padding: 24px; }
  .asset-heading { flex-wrap: wrap; align-items: flex-start; }
  .demo-evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-demo { grid-column: 1 / -1; }
  .featured-demo .video-frame { max-width: 640px; }
  .evidence-column:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (max-width: 800px) {
  .hero { padding-block: 20px; }
  .pillars { grid-template-columns: 1fr; gap: 8px; }
  .pillar { min-height: 74px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px; }
  .pillar.active { border-bottom: 0; border-radius: 4px 4px 0 0; }
  .overview-cards { grid-template-columns: 1fr; gap: 16px; }
  .demo-evidence { grid-template-columns: 1fr; gap: 24px; }
  .evidence-column + .evidence-column { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { gap: 16px; }
  #site-visits { min-width: 104px; padding-left: 14px; font-size: 12px; }
  nav { flex-wrap: wrap; column-gap: 22px; row-gap: 3px; font-size: 13px; }
  h1 { font-size: 36px; }
  .byline { line-height: 1.7; }
  .showcase-background { padding-top: 20px; padding-bottom: 28px; }
  .pillar-title { margin: 0; color: inherit; font-size: 17px; }
  .pillar-band { padding-inline: 20px; }
  h2 { font-size: 23px; }
  .overview-card { padding: 20px; }
  .production-body { padding: 22px 18px; }
  .page-panel { padding: 22px 18px; }
  .asset-heading { gap: 12px; }
  footer .wrap { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Project pages share the site framework and keep the footer at the page edge. */
body#top { display: flex; flex-direction: column; min-height: 100vh; }
body#top main { display: flex; flex: 1; flex-direction: column; }
body#top .page-content { flex: 1; }
.showcase-status { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; max-width: 960px; margin: 28px auto 0; padding: 40px 32px; text-align: center; }
.showcase-status .release-status { margin: 0; color: var(--navy); font-size: 28px; }
.showcase-status .status-copy { max-width: 640px; margin: 18px 0 0; color: var(--muted); }
.project-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.project-card h2 { color: var(--navy); font-size: clamp(20px, 1.5vw, 24px); line-height: 1.3; }
.project-description { margin: 16px 0 0; color: var(--muted); }
.project-status { margin: auto 0 24px; padding-top: 24px; color: var(--muted); font-size: 14px; }
.project-status strong { color: var(--navy); font-weight: 600; }
.project-catalog .project-card[aria-labelledby="project-01"] { background: #f0f6fb; border-color: #8aaac5; }
.project-catalog .project-status strong::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border: 1.5px solid var(--muted); border-radius: 50%; vertical-align: .1em; }
.project-catalog .project-card[aria-labelledby="project-01"] .project-status strong::before { border-color: var(--blue); background: var(--blue); }
.project-catalog .project-card:not([aria-labelledby="project-01"]) .project-status strong { color: var(--muted); }
.project-catalog .project-card[aria-labelledby="project-01"] .asset-action { border-color: #8aaac5; background: #e0ecf6; color: var(--navy); }
.project-catalog .project-card[aria-labelledby="project-01"] .asset-action:hover { border-color: var(--blue); background: #d5e5f2; }
@media (max-width: 800px) {
  .showcase-status { min-height: 260px; margin-top: 24px; padding: 32px 20px; }
  .project-catalog { grid-template-columns: 1fr; gap: 16px; }
  .project-card { padding: 24px 20px; }
  .pillars .pillar { height: 44px; min-height: 44px; padding: 3px 16px; }
  .pillars .pillar-title, .project-card h2 { font-size: 15px; font-weight: 700; line-height: 18px; letter-spacing: -.02em; }
  .pillars .pillar-number, .project-card .pillar-number { margin-right: 3px; font-size: 12px; font-weight: 400; }
}

/* One compact header grid across the three pillar views. */
.header-row .byline { grid-column: 1 / -1; grid-row: 2; max-width: none; font-size: 15px; font-weight: 400; line-height: 1.45; }
.header-row .byline > .identity-line { display: block; margin: 0; }
footer .wrap { justify-content: flex-end; }
footer .wrap > a { flex-shrink: 0; }
@media (max-width: 600px) {
  .identity .brand-logo { width: 180px; }
  .header-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; min-height: 0; padding-block: 14px; }
  .header-row nav { grid-column: 1 / -1; grid-row: 3; justify-self: start; justify-content: flex-start; margin: 0; }
}
