:root {
  --allied-blue: #0879cf;
  --allied-blue-dark: #064f8f;
  --ink: #17344a;
  --muted: #587286;
  --paper: #f4f9fd;
  --white: #ffffff;
  --line: #c8ddec;
  --focus: #ffd25c;
  --sans: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
body { margin: 0; }
a { color: var(--allied-blue-dark); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip-link { background: var(--white); color: var(--ink); left: 1rem; padding: .65rem .85rem; position: absolute; top: -5rem; z-index: 10; }
.skip-link:focus { top: 1rem; }

.brand-hero, .contact-card-hero { background: var(--allied-blue); height: clamp(7.5rem, 12vw, 10rem); overflow: hidden; position: relative; }
.brand-hero img, .contact-card-hero img { display: block; height: 100%; inset: 0; object-fit: contain; position: absolute; width: 100%; }

.single-page-shell { margin: 0 auto; max-width: 76rem; padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0 0 0 0); white-space: nowrap; }

.content-section { border-top: 1px solid var(--line); padding: clamp(2rem, 5vw, 4rem) 0; }
.content-section:first-of-type { border-top: 0; padding-top: 0; }
.content-section h2 { color: var(--allied-blue-dark); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 400; letter-spacing: -.025em; margin: 0 0 1.4rem; }
.value-list { font-size: 1.05rem; margin: 0; max-width: 52rem; padding-left: 1.35rem; }
.value-list li { padding-left: .35rem; }
.value-list li + li { margin-top: 1.15rem; }
.value-list li::marker { color: var(--allied-blue); }
.contact-section { padding-bottom: 0; }
.contact-panel { background: var(--white); border: 1px solid var(--line); border-top: .4rem solid var(--allied-blue); box-shadow: 0 1rem 3rem rgba(10, 55, 88, .1); display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(13rem, .72fr) minmax(26rem, 1.28fr); padding: clamp(1.5rem, 4vw, 3rem); }
.contact-intro { align-self: center; }
.contact-intro h2 { font-size: .78rem; letter-spacing: .15em; margin-bottom: 1rem; text-transform: uppercase; }
.contact-copy { color: var(--ink); font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.03em; line-height: 1.15; margin: 0; max-width: 14ch; }
.contact-action-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-action { background: var(--paper); border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; min-height: 7rem; overflow-wrap: anywhere; padding: 1.15rem 1.25rem; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.contact-action-label { color: var(--allied-blue-dark); font-size: 1.15rem; line-height: 1.25; }
.contact-action-detail { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.contact-action-primary { background: var(--allied-blue-dark); border-color: var(--allied-blue-dark); color: var(--white); }
.contact-action-primary .contact-action-label, .contact-action-primary .contact-action-detail { color: var(--white); }
.contact-action:hover { background: var(--white); border-color: var(--allied-blue); color: var(--ink); transform: translateY(-2px); }
.contact-action-primary:hover { background: var(--allied-blue); color: var(--white); }

footer { align-items: center; background: var(--allied-blue-dark); color: var(--white); display: grid; font-size: .82rem; font-weight: 400; gap: 1rem; grid-template-columns: 1fr auto 1fr; letter-spacing: .06em; padding: 1.25rem clamp(1.2rem, 5vw, 5rem); text-transform: uppercase; }
.footer-brand { justify-self: start; }
.footer-email { color: var(--white); font-size: .95rem; justify-self: center; letter-spacing: .02em; text-transform: none; }
.linkedin-button { background: var(--white); border: 1px solid var(--white); border-radius: .2rem; color: var(--allied-blue-dark); justify-self: end; padding: .55rem .9rem; text-decoration: none; text-transform: none; }
.linkedin-button:hover { background: transparent; color: var(--white); }

.contact-card-page { min-height: 100vh; }
.contact-card-hero a { display: block; height: 100%; position: relative; width: 100%; }
.contact-card-shell { margin: 0 auto; max-width: 46rem; padding: clamp(2rem, 8vw, 5rem) 1.2rem; }
.contact-card { background: var(--white); border-top: .45rem solid var(--allied-blue); box-shadow: 0 1rem 3rem rgba(10, 55, 88, .1); padding: clamp(1.6rem, 7vw, 4rem); }
.contact-card-company { color: var(--allied-blue-dark); font-size: .78rem; letter-spacing: .15em; margin: 0 0 1.15rem; text-transform: uppercase; }
.contact-card h1 { color: var(--ink); font-size: clamp(2.6rem, 10vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 0; }
.contact-card-title { color: var(--muted); font-size: clamp(1.1rem, 4vw, 1.45rem); margin: .85rem 0 2rem; }
.save-contact { background: var(--allied-blue-dark); border: 2px solid var(--allied-blue-dark); border-radius: .25rem; color: var(--white); display: block; font-size: 1.15rem; padding: .9rem 1.2rem; text-align: center; text-decoration: none; width: 100%; }
.save-contact:hover { background: var(--allied-blue); border-color: var(--allied-blue); }
.contact-card-links { border-top: 1px solid var(--line); display: grid; gap: 0; margin-top: 1.6rem; }
.contact-card-links a { border-bottom: 1px solid var(--line); color: var(--ink); display: grid; gap: .15rem; overflow-wrap: anywhere; padding: 1rem .1rem; text-decoration: none; }
.contact-card-links a:hover { color: var(--allied-blue-dark); }
.contact-card-links span { color: var(--allied-blue-dark); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }

.version-page { background: var(--white); border-top: .45rem solid var(--allied-blue); box-shadow: 0 1rem 3rem rgba(10, 55, 88, .1); margin: 10vh auto; max-width: 52rem; padding: clamp(2rem, 6vw, 4.5rem); }
.version-page .eyebrow { color: var(--allied-blue-dark); font-size: .76rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; }
.version-page h1 { color: var(--ink); font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
dl { border-top: 1px solid var(--line); margin-top: 2.5rem; }
dt { color: var(--allied-blue-dark); font-weight: 400; margin-top: 1.3rem; }
dd { margin: .15rem 0; overflow-wrap: anywhere; }
code { font-size: .83em; }

@media (max-width: 40rem) {
  .single-page-shell { padding-top: 2.5rem; }
  .content-section { padding: 2.5rem 0; }
  .contact-card-shell { padding-top: 1.4rem; }
}

@media (max-width: 48rem) {
  .contact-panel { gap: 1.75rem; grid-template-columns: 1fr; }
  .contact-copy { max-width: 18ch; }
}

@media (max-width: 34rem) {
  .contact-action-grid { grid-template-columns: 1fr; }
  .contact-action { min-height: 5.75rem; }
}

@media (max-width: 30rem) {
  footer { grid-template-columns: 1fr; }
  .footer-brand, .footer-email, .linkedin-button { justify-self: center; }
}
