:root {
  color-scheme: light;
  --navy: #192344;
  --primary: #3f51b5;
  --primary-dark: #303f9f;
  --text: #242c40;
  --muted: #566078;
  --border: #dce1ee;
  --soft: #f3f5fb;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: var(--primary-dark); text-underline-offset: 0.22em; }
a:hover { color: #202d7b; }
a:focus-visible { outline: 3px solid #bd6400; outline-offset: 5px; border-radius: 2px; }
main:focus { outline: none; }
.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: 28px; }
.skip-link { position: absolute; top: 8px; left: 16px; transform: translateY(-180%); padding: 12px 18px; background: #fff; color: var(--navy); z-index: 10; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: #fff; border-bottom: 4px solid var(--primary); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 14px; }
.logo { flex-shrink: 0; }
.logo img { display: block; height: auto; max-width: 100%; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a { color: #1f2430; text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding-block: 8px; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
h1, h2, h3 { color: var(--navy); line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.045em; margin: 0 0 24px; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.035em; margin: 0 0 20px; }
h3 { font-size: 1.3rem; margin: 0 0 14px; }
p { margin: 0 0 20px; }
.eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.13em; font-weight: 750; color: var(--primary-dark); margin-bottom: 18px; }
.hero { background: linear-gradient(115deg, #f3f5fb 0%, #fafbfe 75%); border-bottom: 1px solid var(--border); padding-block: 84px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 55ch; margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 13px 22px; border: 2px solid var(--primary); border-radius: 5px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 650; line-height: 1.5; }
.button:hover { color: #fff; background: var(--primary-dark); border-color: var(--primary-dark); }
.heritage { background: #fff; padding: 34px; border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 6px; box-shadow: 0 16px 40px #19234408; }
.heritage .year { color: var(--primary); font-size: clamp(4rem, 8vw, 6rem); font-weight: 750; letter-spacing: -0.065em; line-height: 1; margin-bottom: 24px; }
.heritage h2 { font-size: 1.8rem; }
.heritage > p:not(.eyebrow):not(.year) { color: var(--muted); }
.heritage-footer { display: flex; flex-wrap: wrap; gap: 8px 12px; border-top: 1px solid var(--border); padding-top: 20px; font-size: 0.85rem; font-weight: 650; }
.section { padding-block: 80px; }
.story-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.muted, .story-copy { color: var(--muted); }
.story-copy > p:last-child { margin-bottom: 0; }
.milestone-band { background: var(--navy); color: #d0d7eb; padding-block: 64px; }
.milestone-band h2, .milestone-band h3 { color: #fff; }
.milestone-band .eyebrow { color: #b9c4ff; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; list-style: none; margin: 36px 0 0; padding: 0; }
.timeline li { border-top: 1px solid #59627f; padding-top: 24px; }
.milestone { color: #b9c4ff; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.timeline li > p:last-child { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.contact-section { background: var(--soft); border-top: 1px solid var(--border); padding-block: 64px; text-align: center; }
.contact-section p:not(.eyebrow) { color: var(--muted); }
.contact-section .actions { justify-content: center; }
.site-footer { background: #1b1e27; color: #c9ccd6; padding-block: 28px; font-size: 0.85rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

@media (max-width: 960px) {
  .hero-grid, .story-grid { gap: 32px; }
  .heritage { padding: 26px; }
  .timeline { gap: 24px; }
}

@media (max-width: 700px) {
  .wrap { padding-inline: 22px; }
  .header-row { gap: 12px; }
  nav { gap: 2px 16px; }
  nav a { font-size: 0.75rem; }
  .hero { padding-block: 48px; }
  .hero-grid, .story-grid, .timeline { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 36px; }
  .section { padding-block: 52px; }
  .story-grid { gap: 12px; }
  .milestone-band, .contact-section { padding-block: 48px; }
  .actions { gap: 14px; }
}

@media (max-width: 400px) {
  .actions { align-items: stretch; flex-direction: column; }
  .button { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
