:root {
  --ink: #1c1915;
  --muted: #5e574e;
  --blue: #1a5f78;
  --blue-dark: #123e52;
  --navy: #063056;
  --amber: #e08a22;
  --sand: #f3eee6;
  --paper: #f7f3eb;
  --line: #e3d9cc;
  --white: #fffdf9;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --pad: 24px;
  --radius: 10px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue-dark); }

a:hover { color: var(--ink); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 em {
  font-style: normal;
  color: var(--blue);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 40;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img { height: 48px; width: auto; display: block; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: 600 0.95rem/1 var(--sans);
  padding: 10px 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > a:not(.btn),
.nav-drop > button {
  font: 500 0.98rem/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav > a:not(.btn):hover,
.nav-drop > button:hover,
.nav > a:not(.btn)[aria-current="page"] { background: var(--sand); }

.nav-drop { position: relative; }

.menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 23, 28, 0.08);
}

.nav-drop:hover .menu,
.nav-drop:focus-within .menu,
.nav-drop.is-open .menu { display: grid; }

.menu a {
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 10px;
}

.menu a:hover,
.menu a[aria-current="page"] { background: var(--sand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1.1rem;
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: #fffdf9;
}

.btn-primary:hover { background: var(--amber); color: #fffdf9; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: #c9ced6;
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.nav .btn { margin-left: 8px; }

.hero { padding: 72px 0 28px; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow a { color: inherit; text-decoration: none; }

.hero h1,
.page-head h1 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lede {
  max-width: 38rem;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.2rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-phone {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 18px 0 0;
  color: var(--muted);
}

.hero-phone a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.section { padding: 28px 0 80px; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head h2,
.steps h2,
.related h2,
.prose h2,
.also h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }

.section-head p { max-width: 28rem; margin: 0; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 230px;
  padding: 22px 22px 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(28, 25, 21, 0.04);
}

.service-card:hover {
  background: var(--white);
  border-color: #c5cedd;
  box-shadow: 0 10px 28px rgba(20, 23, 28, 0.05);
}

.service-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-card p { margin: 0; color: var(--muted); }

.num {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.card-more {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.band {
  background: var(--navy);
  color: #f6f1e8;
  padding: 72px 0;
}

.band h2 {
  max-width: 16ch;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.band p { max-width: 36rem; margin: 0; font-size: 1.15rem; color: #c5ccd6; }

.steps { padding: 80px 0; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: step;
}

.step-grid li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step-grid li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.step-grid h3 { margin: 8px 0; font-size: 1.35rem; }

.step-grid p { margin: 0; color: var(--muted); }

.close {
  background: var(--sand);
  color: var(--ink);
  padding: 64px 0;
}

.close-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.close h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.close p { margin: 0; max-width: 36rem; color: var(--muted); }

.page { padding: 56px 0 80px; }

.page-head h1 { max-width: 16ch; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.prose h2 { margin: 1.6rem 0 0.6rem; }

.prose ul, .plain-list { padding-left: 1.15rem; }

.prose li, .plain-list li { margin: 0.4rem 0; }

.prose p { max-width: 42rem; }

.related {
  position: sticky;
  top: 96px;
  padding: 18px 18px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.related h2 { font-size: 1.15rem; }

.related ul { list-style: none; margin: 0; padding: 0 0 8px; }

.related a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.also { padding-bottom: 80px; }

.also-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.also-list a {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.also-list a:hover strong { color: var(--blue); }

.also-list strong { font-size: 1.15rem; font-weight: 600; }

.also-list span { color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.facts { list-style: none; margin: 0; padding: 0; }

.facts li { margin: 0 0 14px; }

.facts a { color: var(--ink); font-weight: 600; }

label { display: block; margin: 0 0 14px; font-weight: 600; }

input, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border: 1px solid #d5dae1;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
}

input:focus, textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}

textarea { min-height: 140px; resize: vertical; }

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 16px;
  font-weight: 400;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 500;
}

.checks input { width: auto; margin: 0; }

.form-note { color: var(--muted); font-size: 0.98rem; }

.client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 28px;
}

.client-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
}

.client-card:hover {
  background: var(--white);
  border-color: #c5cedd;
}

.client-card h2 { margin: 0 0 8px; font-size: 1.35rem; }

.client-card p { margin: 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li { color: var(--muted); }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0 0 6px; }

.site-footer a { color: var(--ink); text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.footer-logo { height: 42px; width: auto; margin-bottom: 12px; }

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.home .hero {
  display: block;
  position: relative;
  min-height: 78vh;
  padding: 0;
  overflow: hidden;
  background: #0a4d9e;
}

.home .hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.home .hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 36, 78, 0.82) 0%, rgba(6, 36, 78, 0.42) 34%, rgba(6, 36, 78, 0.05) 62%);
}

.home .hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  min-height: 78vh;
  margin: 0 auto;
  padding: 72px 0;
}

.photo-credit a { color: inherit; }

.place-band {
  height: 220px;
  overflow: hidden;
  background: #0a4d9e;
}

.place-band img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.home .hero h1 {
  max-width: 11em;
  color: #ffffff;
  font-size: clamp(2.05rem, 4.4vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.home .hero-line {
  max-width: 34rem;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.home .hero .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.home .hero .btn-secondary:hover {
  background: #ffffff;
  color: #0a4d9e;
  border-color: #ffffff;
}

.home .hero-phone,
.home .hero-phone a { color: #f4f7fb; }

.home .hero .btn-primary { background: #ffffff; color: #0a4d9e; }

.home .hero .btn-primary:hover { background: #231f20; color: #ffffff; }

.home .close {
  background: #0a4d9e;
  color: #ffffff;
}

.home .close h2,
.home .close p,
.home .close a { color: #ffffff; }

.home .close h2 { max-width: 16ch; }

.home .close a { text-decoration: underline; }

.home .close .btn-primary {
  background: #ffffff;
  color: #0a4d9e;
  text-decoration: none;
}

.home .close .btn-primary:hover { background: #231f20; color: #ffffff; }

.why {
  padding-top: 8px;
  scroll-margin-top: 88px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-grid li {
  margin: 0;
  padding: 22px 22px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(28, 25, 21, 0.04);
}

.why-grid h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.why-grid p { margin: 0; color: var(--muted); }

.mosaic {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.15fr;
  gap: 12px;
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin: 4px auto 8px;
}

.mosaic a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  color: #fffdf9;
  text-decoration: none;
  min-height: 280px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.mosaic a:hover img { transform: scale(1.04); }

.mosaic span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(18, 38, 60, 0.82);
  font-weight: 600;
}

.home .section { padding-top: 56px; }

#services { scroll-margin-top: 88px; }

.home .why { padding-top: 8px; padding-bottom: 24px; }

.trust {
  padding: 8px 0 80px;
}

.trust h2 {
  max-width: 16ch;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.trust p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.photo-credit { flex-basis: 100%; margin-top: 8px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .header-inner { flex-wrap: wrap; }

  .nav {
    display: none;
    position: static;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 4px 0 16px;
    background: transparent;
    border-bottom: 0;
  }

  .nav.is-open { display: flex; }

  .nav .btn { margin: 10px 0 0; }

  .menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    background: transparent;
  }

  .nav-drop.is-open .menu { display: grid; }

  .service-grid,
  .why-grid,
  .step-grid,
  .contact-grid,
  .client-grid,
  .footer-grid,
  .layout,
  .checks { grid-template-columns: 1fr; }

  .section-head,
  .close-inner { display: block; }

  .close .btn { margin-top: 16px; }

  .hero { padding: 40px 0 16px; }

  .home .hero,
  .home .hero-copy { min-height: 70vh; }

  .home .hero { padding: 0; }

  .home .hero-copy { width: min(1120px, calc(100% - 48px)); padding: 48px 0; }

  .home .hero::after {
    background: linear-gradient(180deg, rgba(6, 36, 78, 0.82) 0%, rgba(6, 36, 78, 0.28) 52%, rgba(6, 36, 78, 0.08) 100%);
  }

  .mosaic { margin-top: 16px; }

  .also-list a { grid-template-columns: 1fr; gap: 4px; }

  .related { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
