:root {
  color-scheme: light;
  --navy: #101f36;
  --ink: #14263c;
  --muted: #43546a;
  --red: #b9232d;
  --line: #d9e2ec;
  --paper: #fff;
  --pale: #edf2f7;
  font-family: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2275c8; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; padding: .6rem 1rem; background: white; z-index: 1; }
.skip:focus { top: 1rem; }
.header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.logo { width: 173px; height: auto; }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
nav a, .button { font-weight: 700; text-decoration: none; }
nav a:not(.button):hover, .text-link:hover { text-decoration: underline; }
.button { display: inline-block; padding: .8rem 1.15rem; border-radius: 4px; background: var(--red); color: white; text-align: center; }
.button:hover { background: #981b24; }
.hero { background: var(--navy); color: white; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 42px; }
.hero-copy { padding: clamp(3rem, 7vw, 6.3rem) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .11em; font-size: .875rem; font-weight: 800; color: var(--red); margin-bottom: .85rem; }
.hero .eyebrow { color: #ff9aa0; }
h1 { font-size: clamp(2.55rem, 6.5vw, 5.35rem); letter-spacing: -.062em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); letter-spacing: -.045em; }
h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.intro { margin-top: 1.35rem; max-width: 45ch; color: #e0e8f3; font-size: 1.125rem; }
.actions { margin-top: 1.65rem; }
.text-link { text-underline-offset: .23em; font-weight: 650; }
.hero-image { min-height: 280px; background: #253c54 url("mechanical-room.webp") center / cover; border-inline: 1px solid #52667c; }
.section { padding-block: clamp(3rem, 6.5vw, 5rem); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 1.75rem; }
.cards article > a { display: block; height: 100%; text-decoration: none; padding: 1.35rem; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px; }
.cards article > a:hover { background: var(--pale); }
.cards article > a:hover h3 { text-decoration: underline; }
.cards p, .about p:not(.eyebrow) { color: var(--muted); }
.about { background: var(--pale); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about p + p { margin-top: .9rem; }
.contact { background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: clamp(1.4rem, 5vw, 3.25rem); border-radius: 5px; }
.contact p { margin-top: .8rem; color: #e0e8f3; max-width: 52ch; }
.contact-action { display: grid; justify-items: start; gap: .55rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1.4rem; display: flex; gap: 16px; justify-content: space-between; color: var(--muted); }
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; padding-block: 14px; gap: 13px; }
  nav { gap: 14px; font-size: .9rem; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 2.8rem 2rem; }
  .hero-image { min-height: 0; aspect-ratio: 16 / 9; border: 0; margin-bottom: 18px; }
  .about-grid { gap: 1rem; }
  .contact { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 450px) {
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
