:root {
  --navy: #0a2540;
  --ink: #202b35;
  --muted: #586674;
  --line: #dce2e7;
  --pale: #f4f6f7;
  --white: #fff;
  --shadow: 0 18px 42px rgb(10 37 64 / 10%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #597e9e; outline-offset: 4px; }
img, svg { display: block; }
img { max-width: 100%; }
.wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 10px 16px; background: var(--white); color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgb(10 37 64 / 10%); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark, .footer-wordmark { color: var(--navy); font-size: 18px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; line-height: 1.1; }
.menu-toggle { width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--navy); cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.header-panel { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 24px 20px 28px; background: var(--white); box-shadow: var(--shadow); }
.header-panel.is-open { display: block; }
.primary-nav, .header-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.primary-nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.primary-nav a:hover, .footer-languages a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-languages { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 22px; border: 1px solid transparent; font-size: 14px; font-weight: 800; line-height: 1.2; text-decoration: none; transition: background-color .2s ease, color .2s ease, transform .25s ease-out; }
.button > span { transition: transform .25s ease-out; }
.button--navy { background: var(--navy); color: var(--white); }
.button--navy:hover { background: #174266; }
.button--white { background: var(--white); color: var(--navy); }
.button--white:hover { background: #e9eef1; }

.hero { position: relative; min-height: 660px; display: flex; align-items: center; overflow: hidden; background: #263b4d; color: var(--white); }
.hero-media, .hero-media::after, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { background: linear-gradient(125deg, #273c50 0%, #596773 54%, #a0a7ac 100%); }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgb(4 21 38 / 83%) 0%, rgb(7 27 46 / 70%) 55%, rgb(7 27 46 / 48%) 100%); }
.hero-video, .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
picture.media-slot img { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 1; padding-block: 105px 150px; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 27px; height: 2px; flex: 0 0 27px; background: currentColor; }
.eyebrow--light { justify-content: center; color: var(--white); }
h1, h2, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, figcaption, td, th { text-wrap: pretty; }
h1, h2 { letter-spacing: -.045em; line-height: 1.07; }
h1 { max-width: 920px; margin: 0 auto 22px; font-size: clamp(42px, 8vw, 86px); font-weight: 800; }
.hero-title-line2 { display: block; font-size: .8em; }
.hero-subtitle { max-width: 750px; margin: 0 auto 22px; font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.3; }
.accent-rule { display: block; width: 54px; height: 2px; margin: 0 auto 22px; background: var(--white); }
.hero-body { max-width: 630px; margin: 0 auto 30px; color: #eef1f3; font-size: 16px; }
.stats-wrap { position: relative; z-index: 2; margin-top: -65px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat-card { min-width: 0; min-height: 178px; padding: 22px 18px 26px; border-bottom: 4px solid var(--navy); background: var(--white); box-shadow: var(--shadow); }
.stat-icon { width: 32px; height: 32px; margin-bottom: 18px; color: var(--navy); }
.stat-label { margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat-value { margin-bottom: 0; color: var(--navy); font-size: clamp(16px, 2.2vw, 24px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.section-space { padding-block: 90px; }
.media-slot { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 360px; overflow: hidden; background: linear-gradient(135deg, #dce2e6, #b7c2c9); color: #344b5c; }
.media-slot::before { position: absolute; inset: 20px; border: 1px solid rgb(10 37 64 / 21%); content: ""; pointer-events: none; }
.media-slot span { position: relative; padding: 20px; font-size: 14px; font-weight: 700; letter-spacing: .03em; text-align: center; }
picture.media-slot { display: block; }
.media-slot img { width: 100%; height: 100%; object-fit: cover; }
picture.media-slot::before { content: none; }
.checklist-section { display: grid; gap: 0; padding-top: 100px; }
.checklist-image { min-height: 390px; }
.checklist-card { position: relative; z-index: 1; margin: -42px 16px 0; padding: 38px 30px 30px; background: var(--white); box-shadow: var(--shadow); }
h2 { margin-bottom: 25px; color: var(--navy); font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 25px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 8px; min-height: 52px; padding-block: 12px; border-bottom: 1px dotted #aebac2; color: var(--ink); font-size: 14px; font-weight: 700; }
.checklist svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--navy); }
.feature { scroll-margin-top: 82px; overflow: clip; }
.feature:nth-of-type(even) { background: var(--pale); }
.feature-inner { display: grid; gap: 38px; align-items: center; }
.feature-image { min-height: 380px; }
.feature-copy { padding-block: 4px; }
.feature-body { max-width: 540px; margin-bottom: 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.closing { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: var(--white); }
.closing-media, .closing-media::after, .closing-media picture, .closing-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-media { display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #667580, #233d53); }
.closing-media::after { content: ""; background: rgb(5 28 49 / 78%); }
.closing-media img { object-fit: cover; }
.hero-media > span, .closing-media > span { display: none; }
.closing-content { position: relative; z-index: 2; padding-block: 75px; text-align: center; }
.closing h2 { max-width: 840px; margin: 0 auto 32px; color: var(--white); }
.site-footer { background: var(--navy); color: var(--white); }
.footer-main { display: flex; flex-direction: column; gap: 34px; padding-block: 56px 38px; border-bottom: 1px solid rgb(255 255 255 / 25%); }
.footer-wordmark { color: var(--white); font-size: 24px; }
.footer-languages a { color: #e4ebef; font-size: 14px; text-decoration: none; }
.footer-languages a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; padding-block: 24px 32px; color: #d6e0e7; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { width: fit-content; text-decoration: none; }

@media (min-width: 640px) {
  .wrap { width: min(100% - 64px, 1240px); }
  .hero { min-height: 730px; }
  .hero-content { padding-block: 115px 165px; }
  .stats-grid { gap: 18px; }
  .stat-card { min-height: 192px; padding: 28px; }
  .checklist-section { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .checklist-image { min-height: 500px; }
  .checklist-card { margin: 0 0 0 -70px; padding: 46px 38px; }
  .feature-inner { grid-template-columns: 1fr 1fr; gap: 8%; }
  .feature--reverse .feature-image { order: 2; }
  .feature-image { min-height: 480px; }
  .footer-main, .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .header-inner { min-height: 84px; }
  .wordmark { font-size: 21px; }
  .menu-toggle { display: none; }
  .header-panel { position: static; display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 28px; padding: 0; box-shadow: none; }
  .primary-nav, .header-actions { flex-direction: row; align-items: center; }
  .primary-nav { gap: clamp(16px, 2vw, 30px); margin-left: auto; }
  .header-actions { gap: 24px; margin: 0; padding: 0; border: 0; }
  .header-cta { white-space: nowrap; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .stats-wrap { margin-top: -79px; }
  .stat-card { min-height: 205px; }
  .section-space { padding-block: 128px; }
  .checklist-section { padding-top: 145px; }
  .checklist-card { padding: 58px 54px; }
  .feature-image { min-height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-3px); }
  .button:hover > span { transform: translateX(4px); }

  .motion-ready .hero-media { animation: hero-zoom 4s ease-out backwards; }
  .motion-ready .hero-content > * { animation: hero-enter .7s cubic-bezier(.22, 1, .36, 1) backwards; }
  .motion-ready .hero-content > :nth-child(2) { animation-delay: .16s; }
  .motion-ready .hero-content > :nth-child(3) { animation-delay: .32s; }
  .motion-ready .hero-content > :nth-child(4) { animation-delay: .48s; }
  .motion-ready .hero-content > :nth-child(5) { animation-delay: .64s; }
  .motion-ready .hero-content > :nth-child(6) { animation-delay: .8s; }

  .motion-ready .reveal {
    --reveal-x: 0px;
    --reveal-y: 40px;
    opacity: 0;
    transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
    transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
  }
  .motion-ready .reveal--from-left { --reveal-x: -60px; --reveal-y: 0px; }
  .motion-ready .reveal--from-right { --reveal-x: 60px; --reveal-y: 0px; }
  .motion-ready .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

  .motion-ready .stat-card:nth-child(2) { transition-delay: .2s; }
  .motion-ready .stat-card:nth-child(3) { transition-delay: .4s; }
  .motion-ready .stat-card:nth-child(4) { transition-delay: .6s; }

  .motion-ready .checklist-card.is-visible .checklist li { animation: row-enter 1s cubic-bezier(.22, 1, .36, 1) backwards; }
  .motion-ready .checklist-card.is-visible .checklist li:nth-child(2) { animation-delay: .1s; }
  .motion-ready .checklist-card.is-visible .checklist li:nth-child(3) { animation-delay: .2s; }
  .motion-ready .checklist-card.is-visible .checklist li:nth-child(4) { animation-delay: .3s; }
  .motion-ready .checklist-card.is-visible .checklist li:nth-child(5) { animation-delay: .4s; }
  .motion-ready .checklist-card.is-visible .checklist li:nth-child(6) { animation-delay: .5s; }

  @keyframes hero-enter { from { opacity: 0; transform: translateY(30px); } }
  @keyframes row-enter { from { opacity: 0; transform: translateY(40px); } }
  @keyframes hero-zoom { from { transform: scale(1.05); } }
}

/* Language dropdown */
.lang-menu { position: relative; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; padding: 8px 2px; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 18px; height: 18px; }
.lang-menu summary .caret { width: 12px; height: 12px; transition: transform .2s ease; }
.lang-menu[open] .caret { transform: rotate(180deg); }
.lang-list { display: flex; flex-direction: column; min-width: 140px; margin-top: 6px; padding: 6px 0; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.lang-list a { padding: 9px 16px; color: var(--navy); font-size: 14px; text-decoration: none; }
.lang-list a:hover { background: #f1f4f6; }
.lang-list a[aria-current="page"] { font-weight: 700; }
@media (min-width: 1024px) {
  .lang-menu { padding-left: 20px; border-left: 1px solid var(--line); }
  .lang-list { position: absolute; top: 100%; right: 0; }
}
.stats-note { margin: 14px 0 0; font-size: 0.875rem; text-align: center; }
.stats-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-sources { padding-top: 24px; padding-bottom: 8px; font-size: 0.75rem; line-height: 1.5; opacity: 0.75; }
.footer-sources p { margin: 0; }

/* Shared inner pages */
.primary-nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.inner-banner { position: relative; min-height: 240px; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: var(--white); }
.inner-banner-content { position: relative; z-index: 1; padding-block: 54px 88px; text-align: center; }
.inner-banner h1 { max-width: 980px; margin-bottom: 20px; font-size: clamp(38px, 6vw, 66px); }
.inner-banner .accent-rule { margin-bottom: 18px; }
.inner-banner p { max-width: 70ch; margin: 0 auto; color: #eef1f3; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.6; }
.inner-overlap { position: relative; z-index: 2; display: grid; gap: 20px; margin-top: -38px; margin-bottom: 32px; }
.inner-main-media { min-height: 280px; height: 100%; }
.inner-side-cards { display: grid; gap: 20px; }
.inner-side-card, .contact-email-card { display: flex; align-items: center; min-height: 145px; padding: 28px; border-bottom: 5px solid var(--navy); background: var(--white); box-shadow: var(--shadow); }
.inner-side-card p { margin: 0; color: var(--navy); font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; line-height: 1.25; }
.inner-blocks { padding-top: 20px; }
.inner-block { padding-block: 62px; }
.inner-block--pale { background: var(--pale); }
.inner-block h2 { max-width: 900px; margin-bottom: 28px; font-size: clamp(30px, 4vw, 48px); }
.inner-text { max-width: 76ch; color: var(--muted); font-size: 18px; line-height: 1.75; }
.inner-text p:last-child { margin-bottom: 0; }
.inner-checks { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.inner-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 22px 0; border-top: 1px dotted #aebac2; line-height: 1.65; }
.inner-checks svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--navy); }
.inner-columns { display: grid; gap: 24px; }
.inner-column { padding: 28px 26px; border-top: 3px solid var(--navy); background: var(--white); box-shadow: var(--shadow); }
.inner-column h2 { margin: 0 0 18px; font-size: 25px; }
.inner-column p { margin: 0; color: var(--muted); line-height: 1.7; }
.inner-table-scroll { max-width: 100%; overflow-x: auto; }
.inner-table-scroll:focus-visible { outline: 3px solid #597e9e; outline-offset: 3px; }
.inner-table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; }
.inner-table th { padding: 16px 18px; background: var(--navy); color: var(--white); font-weight: 700; }
.inner-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.inner-diagram { min-height: 0; aspect-ratio: 4 / 3; }
.inner-timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0 0 0 20px; list-style: none; border-left: 2px solid var(--navy); }
.inner-timeline li { position: relative; display: grid; gap: 8px; padding: 0 0 28px 24px; }
.inner-timeline li:last-child { padding-bottom: 0; }
.inner-timeline li::before { position: absolute; top: 4px; left: -27px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); content: ""; }
.inner-timeline strong { color: var(--navy); font-size: 20px; }
.inner-timeline span { color: var(--muted); line-height: 1.6; }
.inner-closing { min-height: 330px; }
.inner-closing .closing-content { padding-block: 60px; }
.inner-closing h2 { font-size: clamp(34px, 5vw, 58px); }
.inner-overlap--contact { margin-bottom: 100px; }
.contact-email-card { display: block; padding: 34px; overflow-wrap: anywhere; }
.contact-email-card h2, .contact-panel h2 { margin: 0 0 20px; font-size: clamp(30px, 3.5vw, 43px); }
.contact-email-card a { color: var(--navy); font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; text-underline-offset: 4px; }
.contact-panel { padding: 34px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.contact-panel h2 { color: var(--white); }
.contact-panel p { max-width: 42ch; margin-bottom: 26px; color: #e4ebef; font-size: 17px; line-height: 1.6; }

@media (min-width: 640px) {
  .inner-banner { min-height: 320px; }
  .inner-banner-content { padding-block: 72px 115px; }
  .inner-overlap { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch; margin-top: -70px; gap: 26px; }
  .inner-main-media { min-height: 370px; }
  .inner-side-cards { grid-auto-rows: 1fr; }
  .inner-checks, .inner-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* No orphaned cards: column count follows card count */
  .inner-grid--n1 { grid-template-columns: minmax(0, 1fr); }
  .inner-grid--n2, .inner-grid--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-diagram { aspect-ratio: 16 / 6; }
  .inner-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; padding: 0; border-top: 2px solid var(--navy); border-left: 0; }
  .inner-timeline li { padding: 28px 24px 0 0; }
  .inner-timeline li:last-child { padding-bottom: 0; }
  .inner-timeline li::before { top: -7px; left: 0; }
  .inner-overlap--contact { grid-template-columns: 1fr 1fr; margin-bottom: 110px; }
  .contact-email-card, .contact-panel { padding: 44px; }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .inner-banner .hero-media { animation: hero-zoom 4s ease-out backwards; }
  .motion-ready .inner-banner-content > * { animation: hero-enter .7s cubic-bezier(.22, 1, .36, 1) backwards; }
  .motion-ready .inner-banner-content > :nth-child(2) { animation-delay: .16s; }
  .motion-ready .inner-banner-content > :nth-child(3) { animation-delay: .32s; }
}
@media (min-width: 1024px) {
  .inner-grid--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inner-overlap--solo { grid-template-columns: minmax(0, 1fr); }
  .inner-overlap--contact { grid-template-columns: minmax(0, 640px); justify-content: center; }
}
.inner-overlap--solo .inner-main-media, .inner-overlap--solo .inner-main-media img { max-height: 520px; width: 100%; object-fit: cover; }
.contact-panel p a { color: var(--white); font-size: clamp(18px, 2vw, 22px); font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere; }
.inner-figure { margin: 0; }
.inner-figure figcaption { margin-top: 12px; color: #344b5c; font-size: 14px; line-height: 1.5; }
.inner-image { min-height: 0; aspect-ratio: 16 / 9; }
.inner-figure--contain .inner-main-media { background: var(--white); }
.inner-figure--contain .inner-main-media img, .inner-overlap--solo .inner-figure--contain .inner-main-media img { object-fit: contain; }
