:root {
  --navy: #053e6a;
  --navy-deep: #032c4c;
  --ink: #1b2833;
  --muted: #55626d;
  --line: #dfe4e8;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --amber: #f2b33d;
  --radius: 14px;
  --heading: "Oswald", "Arial Narrow", sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--heading); font-weight: 500; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); color: var(--navy); text-align: center; margin-bottom: 1.5rem; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; margin: 28px 0 0; }

.kicker {
  margin: 0 0 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #9a6400;
}
.page-hero .kicker, .hero .kicker { color: var(--amber); }
.kicker a { color: inherit; text-decoration: none; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.button {
  display: inline-block; max-width: 100%;
  padding: 14px 26px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-weight: 500; text-decoration: none; text-align: center;
  overflow-wrap: anywhere;
  transition: background .15s ease, color .15s ease;
}
.button:hover { background: var(--navy-deep); }
.button-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: #e8eef3; }
.button-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.button-ghost:hover { background: rgba(255, 255, 255, .12); }
.button-small { padding: 9px 18px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 76px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }

@media (max-width: 700px) {
  .bar { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .brand img { width: 60px; }
  .header-cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 4px -12px 0; justify-content: space-between; }
  .nav a { padding: 8px 12px 10px; font-size: .95rem; }
}

/* Home hero */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, #0a5590 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff; text-align: center;
  padding: 64px 0 128px;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .9rem; font-weight: 500;
}
.dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 179, 61, .25); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); text-transform: uppercase; letter-spacing: .01em; max-width: 14ch; }
.lede { margin: 18px 0 0; max-width: 40rem; font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Inner page hero */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center; padding: 56px 0 60px;
}
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); text-transform: uppercase; }
.page-hero .lede { margin-left: auto; margin-right: auto; }

/* Booking notice */
.notice {
  position: relative; max-width: 760px;
  margin-top: -76px; padding: 28px 24px;
  background: var(--paper); border-radius: var(--radius);
  border-top: 4px solid var(--amber);
  box-shadow: 0 18px 40px rgba(3, 44, 76, .16);
  text-align: center;
}
@media (max-width: 792px) { .notice { width: calc(100% - 32px); } }
.notice h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin-bottom: .5rem; }
.notice p { margin: 0; color: var(--muted); }

/* Home: services cards */
.services { background: var(--mist); padding: 72px 0; margin-top: 64px; }
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }
.service-grid a {
  display: block; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; color: inherit; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-grid a:hover { border-color: var(--navy); box-shadow: 0 10px 24px rgba(3, 44, 76, .10); transform: translateY(-2px); }
.service-grid h3 { font-size: 1.25rem; color: var(--navy); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.service-grid p { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.more { font-size: .85rem; font-weight: 600; color: var(--navy); }
.more::after { content: " \2192"; }

/* Photo tiles (home + projects) */
.work { padding-top: 72px; padding-bottom: 72px; }
.home-gallery, .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) { .home-gallery, .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.04); }

/* Trust banner */
.why { background: var(--navy); color: #fff; padding: 36px 0; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.why-grid li { padding: 6px 16px; }
.why-grid li + li { border-left: 1px solid rgba(255, 255, 255, .25); }
.why-grid strong { display: block; font-family: var(--heading); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.2rem); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .why-grid li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-grid li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 14px; }
}

/* Maintenance plan teaser */
.plan-teaser {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 72px; margin-bottom: 0;
  padding-top: 32px; padding-bottom: 32px;
  border: 1px solid var(--line); border-left: 6px solid var(--amber); border-radius: var(--radius);
}
.plan-teaser h2 { text-align: left; margin-bottom: .4rem; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.plan-teaser p { margin: 0; color: var(--muted); max-width: 40rem; }
.plan-teaser .button { flex: none; }
@media (max-width: 1112px) { .plan-teaser { width: calc(100% - 32px); padding-left: 24px; padding-right: 24px; } }
@media (max-width: 700px) { .plan-teaser { flex-direction: column; align-items: flex-start; } }

/* How we work */
.steps-section { padding: 72px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--mist); border-radius: var(--radius); padding: 24px 22px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--heading); font-size: 1.2rem;
}
.steps h3 { font-size: 1.3rem; color: var(--navy); text-transform: uppercase; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Jump links */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 28px; padding-bottom: 8px; }
.jump a {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--navy); font-size: .9rem; font-weight: 500; text-decoration: none;
}
.jump a:hover { border-color: var(--navy); background: var(--mist); }

/* Services page */
.services-list { padding-top: 32px; padding-bottom: 40px; }
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row.flip .service-copy { order: 2; }
.service-row.no-media { grid-template-columns: 1fr; max-width: 640px; }
.service-copy h2 { text-align: left; margin-bottom: .6rem; }
.service-copy > p { margin: 0 0 1rem; color: var(--muted); }
.service-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-media figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .service-row.flip .service-copy { order: 0; }
  .service-media figure { aspect-ratio: 4 / 3; }
}

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Maintenance plan */
.plan { background: var(--mist); padding: 72px 0; text-align: center; }
.plan-lede { max-width: 40rem; margin: -0.6rem auto 32px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.plan-col h3 { font-size: 1.3rem; color: var(--navy); text-transform: uppercase; margin-bottom: 14px; }
.plan-col .ticks li { font-size: .95rem; }
.plan-note { margin: 28px 0 0; color: var(--muted); }

/* Projects */
.project-cat { padding-top: 48px; }
.project-cat:last-of-type { padding-bottom: 72px; }
.project-cat h2 { text-align: left; font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 1rem; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 20, 34, .94); color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; border-radius: 8px; }
.lightbox button {
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.6rem; line-height: 1; width: 64px; height: 64px;
}
.lightbox .lb-close { position: absolute; top: 8px; right: 8px; font-size: 2.2rem; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 40px 1fr 40px; }
  .lightbox button { width: 40px; }
}

/* Contact */
.contact { padding: 72px 0 80px; text-align: center; background: var(--paper); border-top: 1px solid var(--line); }
.contact .wrap > p { margin: 0 auto 24px; max-width: 34rem; color: var(--muted); }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: 0 auto; }
@media (max-width: 680px) { .actions { grid-template-columns: 1fr; max-width: 340px; } }
.social { margin: 22px auto 0 !important; display: flex; justify-content: center; gap: 10px; color: var(--muted); }
.social a { font-weight: 500; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); text-align: center; padding: 36px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer img { width: 84px; opacity: .9; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer nav a { color: #fff; text-decoration: none; font-weight: 500; }
.footer nav a:hover { text-decoration: underline; }
.footer p { margin: 0; }
@media (min-width: 601px) { .tiles.cols-3 { grid-template-columns: repeat(3, 1fr); } }
