:root {
  color-scheme: light;
  --navy: #101a28;
  --deep: #0a121d;
  --paper: #f5f6f4;
  --ink: #192736;
  --muted: #506176;
  --lime: #c8e57a;
  --line: #ced8df;
  font: 100%/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
img { display: block; max-inline-size: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #1a78d3; outline-offset: 4px; }
.masthead a:focus-visible, .hero a:focus-visible, .contact a:focus-visible, .footer a:focus-visible { outline-color: var(--lime); }
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: .5rem auto auto .5rem; padding: .55rem 1rem; transform: translateY(-150%); background: #fff; }
.skip:focus { transform: translateY(0); }

.masthead { background: var(--navy); color: #f4f7fa; }
.masthead-inner, nav { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 5.25rem; gap: 1.25rem; }
.brand { flex: 0 1 13rem; }
.brand img { width: 13rem; height: auto; }
nav { gap: clamp(1.1rem, 3.4vw, 3.25rem); }
nav a, .footer a { font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.nav-contact { padding: .48rem 1rem; border: 1px solid #627287; }

.hero { position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; min-height: clamp(31rem, 48vw, 45rem); background: #101c2b; color: #fff; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 79%; height: 100%; max-inline-size: none; object-fit: cover; object-position: 66% 54%; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #101c2b 5%, #101c2b 22%, #101c2be8 39%, #101c2b60 68%, #101c2b12 100%); content: ""; }
.hero-inner { padding-block: clamp(4.5rem, 8vw, 8rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 720; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.eyebrow span { display: inline-block; flex: 0 0 1.2rem; height: 2px; background: #48700b; }
.hero .eyebrow { color: #e4eecd; }
.hero .eyebrow span { background: var(--lime); }
h1 { margin-block: 1.1rem 1.6rem; max-width: 12ch; font-size: clamp(3.4rem, 7.1vw, 7rem); font-weight: 650; line-height: .99; letter-spacing: -.064em; }
.hero-intro { max-width: 33ch; color: #e2ebf3; font-size: clamp(1.04rem, 1.7vw, 1.24rem); }
.button { display: inline-flex; align-items: center; min-height: 3.15rem; margin-top: 1.75rem; padding: .65rem 1.1rem; background: var(--lime); color: var(--deep); font-size: .95rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #e1f7a5; }

.about, .history-inner, .contact-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.about .eyebrow, .history .eyebrow { color: var(--muted); }
h2 { margin-top: .8rem; font-size: clamp(2.2rem, 4.4vw, 4.4rem); font-weight: 650; line-height: 1.04; letter-spacing: -.05em; }
.about-intro { align-self: end; max-width: 46ch; color: var(--muted); font-size: clamp(1.04rem, 1.8vw, 1.24rem); }
.history { background: #e9eef2; }
.history-list { padding-left: 0; list-style: none; border-top: 1px solid var(--line); }
.history-list li { padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.history-list h3 { margin-bottom: .35rem; font-size: 1.13rem; font-weight: 670; }
.history-list p { max-width: 44ch; color: var(--muted); }
.contact { background: var(--navy); color: #fff; }
.contact-inner { align-items: center; }
.contact h2 { margin-top: 0; }
.contact address { max-width: 100%; font-size: clamp(1.1rem, 2.4vw, 1.85rem); font-weight: 570; font-style: normal; overflow-wrap: anywhere; }
.contact address a { text-decoration-color: var(--lime); }
.footer { background: var(--deep); color: #d0dce8; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-block: 1.1rem; }
.footer small { font-size: .875rem; }

@media (max-width: 46rem) {
  .wrap { width: calc(100% - 3rem); }
  .masthead-inner { flex-wrap: wrap; justify-content: space-between; padding-block: .8rem; }
  .brand { flex-basis: 11rem; }
  nav { gap: 1rem; }
  .nav-contact { padding-inline: .65rem; }
  .hero { min-height: 36rem; align-items: end; }
  .hero-photo { width: 100%; height: 100%; object-position: 61% 40%; }
  .hero::after { background: linear-gradient(180deg, #101c2b15 0%, #101c2b50 18%, #101c2bd9 51%, #101c2b 95%); }
  .hero-inner { padding-block: 7.5rem 3.5rem; }
  h1 { max-width: 13ch; font-size: clamp(2.75rem, 9vw, 4.8rem); }
  .about, .history-inner, .contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 25rem) {
  .masthead-inner { gap: .8rem; }
  .masthead nav { justify-content: space-between; width: 100%; }
  .hero-inner { padding-block: 6rem 3rem; }
}
