:root {
  --blue: #0e7eaf;
  --blue-bright: #1496d6;
  --blue-deep: #0b6a94;
  --ink: #161616;
  --muted: #4d4d4d;
  --line: #e4e4e4;
  --paper: #f6f7f8;
  --white: #ffffff;
  --black: #0d0d0d;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  --header: 88px;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 {
  font-family: Barlow, "Segoe UI", sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--black);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  min-height: var(--header);
  padding: 0 0 0 1.75rem;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.brand { display: flex; align-items: center; margin-right: auto; padding: 0.35rem 0; }

.brand img { width: 230px; height: auto; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav { display: flex; align-items: center; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 0.75rem;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--blue-bright);
}

.has-sub { position: relative; }

.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: 2px;
}

.has-sub ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  flex-direction: column;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
}

.has-sub:hover ul,
.has-sub:focus-within ul { display: flex; }

.call-btn {
  width: var(--header);
  margin-left: 0.75rem;
  background: var(--blue-bright);
  color: var(--white);
  display: grid;
  place-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  align-self: stretch;
}

.call-btn:hover { background: var(--blue-deep); color: var(--white); }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  color: var(--white);
  background: #111 center 12% / cover no-repeat;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 12%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--blue-bright);
  font-family: Barlow, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1.15rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  max-width: 16ch;
  color: var(--white);
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--blue-bright);
}

.hero p { max-width: 42rem; font-size: 1.12rem; }

.hero a { color: #fff; font-weight: 700; }

.band {
  background: var(--blue-bright);
  color: var(--white);
}

.band-inner,
.section,
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.band-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.band h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.pill:hover { background: var(--white); color: var(--blue-deep); }

.pill.solid {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-bright);
}

.pill.solid:hover { background: var(--blue-bright); color: var(--white); }

.intro { text-align: center; padding: 4.5rem 1.5rem 3rem; }

.intro img { width: min(440px, 88vw); height: auto; margin: 0 auto 1.4rem; }

.intro h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 1rem; }

.intro h2 span,
.split h2 span { color: var(--blue-bright); }

.intro .lead {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.feature {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #111 center / cover no-repeat;
  color: var(--white);
}

.feature-copy {
  position: relative;
  z-index: 1;
  background: var(--blue-bright);
  margin: 3.5rem 0 3.5rem 7%;
  padding: 2.4rem 2.1rem;
  max-width: 480px;
}

.feature-copy h2 { margin: 0 0 0.7rem; font-size: 2.2rem; }

.feature-copy p { margin-bottom: 1.2rem; }

.feature-copy .pill { background: var(--white); color: var(--blue-deep); }

.split { padding: 4.5rem 0; }

.split img { width: min(420px, 100%); height: auto; margin: 0 auto 1rem; }

.split h2 { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1rem; }

.prose { max-width: 820px; margin: 0 auto 2rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.bridge {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bridge ul {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
}

.bridge li {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.bridge strong {
  display: block;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bridge span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.statement {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: #111 center / cover no-repeat;
}

.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.statement div { position: relative; z-index: 1; padding: 3rem 1.5rem; max-width: 760px; }

.statement h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
}

.statement p { margin: 0; font-size: 1.25rem; }

.panel {
  background: var(--white);
  padding: 1.8rem 1.6rem 1.3rem;
  border-bottom: 5px solid var(--blue-bright);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.panel h3 { margin: 0 0 0.6rem; font-size: 1.5rem; }

.panel ul { margin: 0; padding-left: 1.1rem; }

.panel li { margin: 0.35rem 0; }

.choose { padding: 4.2rem 0 4.6rem; text-align: center; }

.choose h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 2.7rem); }

.choose .lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  text-align: center;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  padding: 2.2rem 1.4rem 1.3rem;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  border-bottom: 5px solid var(--blue-bright);
}

.icon-card:hover { color: inherit; transform: translateY(-2px); }

.icon-card svg { width: 52px; height: 52px; color: var(--blue); }

.icon-card h3 { margin: 1.1rem 0 0.55rem; font-size: 1.35rem; }

.icon-card p { color: var(--muted); margin: 0 0 1rem; }

.icon-card span {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
}

.cards { padding: 4.2rem 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card:hover { color: inherit; box-shadow: var(--shadow); }

.card img { height: 210px; width: 100%; object-fit: cover; }

.card div { padding: 1rem 1rem 1.2rem; }

.card h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }

.card p { color: var(--muted); margin: 0; }

.projects { background: var(--paper); padding: 4rem 0; }

.projects h2,
.quote h2,
.page-hero h1 { margin-top: 0; }

.projects h2 { text-align: center; font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }

.project-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.project-row a { text-decoration: none; color: inherit; text-align: center; }

.project-row img { height: 240px; width: 100%; object-fit: cover; }

.project-row h3 { font-size: 1.15rem; margin: 0.85rem 0 0; }

.project-row p { color: var(--muted); margin: 0.2rem 0 0; font-size: 0.95rem; }

.quote { padding: 4rem 0; }

.quote-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.wa-quote {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 1.15rem;
  min-height: 56px;
  padding: 0.85rem 1.25rem;
  background: var(--blue-bright);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
}

.wa-quote svg { flex: 0 0 auto; }

label { display: block; font-weight: 700; margin: 0.8rem 0 0.3rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: var(--white);
}

textarea { min-height: 140px; resize: vertical; }

button[type="submit"] {
  margin-top: 1rem;
  background: var(--blue-bright);
  color: var(--white);
  border: 0;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button[type="submit"]:hover { background: var(--blue-deep); }

.form-status {
  margin-top: 1rem;
  background: var(--paper);
  padding: 0.9rem 1rem;
}

.site-footer { background: var(--black); color: #ddd; padding: 3rem 0 1.4rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 { color: var(--white); font-size: 1.15rem; margin: 0 0 0.7rem; }

.site-footer a { color: #fff; text-decoration: none; }

.site-footer a:hover { color: #7fd4f8; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.3rem 0; }

.legal {
  border-top: 1px solid #2a2a2a;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #9a9a9a;
  font-size: 0.92rem;
}

.page-hero {
  background: var(--black) center / cover no-repeat;
  color: var(--white);
  position: relative;
}

.page-hero .section { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 4.5rem; }

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.6rem; }

.service-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.5rem 0;
}

.service-jump a {
  font-weight: 700;
  text-decoration: none;
}

.nearby {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.nearby a { font-weight: 700; text-decoration: none; }

.qualities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: left;
}

.qualities article {
  background: var(--paper);
  padding: 1.3rem 1.15rem 1.1rem;
  border-bottom: 4px solid var(--blue-bright);
}

.qualities h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }

.qualities p { margin: 0; color: var(--muted); }

.service-block { padding: 3.2rem 0; border-bottom: 1px solid var(--line); }

.service-block .layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.service-block img { width: 100%; height: 360px; object-fit: cover; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery figure { margin: 0; background: var(--white); }

.gallery img { width: 100%; height: 280px; object-fit: cover; cursor: zoom-in; }

.gallery figcaption { padding: 0.75rem 0.2rem 1rem; }

.gallery h3 { margin: 0; font-size: 1.1rem; }

.gallery p { margin: 0.2rem 0 0; color: var(--muted); }

.job { margin-bottom: 2.8rem; }

.job h2 { margin-bottom: 0.35rem; }

.job > p { margin-top: 0; max-width: 44rem; color: var(--muted); }

.map {
  width: 100%;
  height: 320px;
  border: 0;
  margin-top: 1rem;
}

.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }

.contact-list a { font-weight: 700; font-size: 1.15rem; }

dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, 94vw);
  position: relative;
}

dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }

dialog.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; }

dialog.lightbox button {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  background: var(--white);
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.open { display: block; }

  .site-nav ul,
  .has-sub ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: static;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0;
  }

  .has-sub ul { padding-left: 0.8rem; }

  .qualities,
  .bridge ul,
  .feature,
  .columns,
  .icon-grid,
  .card-grid,
  .project-row,
  .quote-grid,
  .footer-grid,
  .service-block .layout,
  .gallery { grid-template-columns: 1fr; }

  .project-row { grid-template-columns: 1fr 1fr; }

  .feature-copy { margin: 1.5rem; max-width: none; }

  .band-inner { flex-direction: column; align-items: flex-start; }

  .brand img { width: 168px; }

  .call-btn { width: 56px; }

  .wa-quote { display: inline-flex; }

  .header-inner { gap: 0.5rem; padding: 0.45rem 0.7rem; }
}

@media (max-width: 640px) {
  .project-row,
  .gallery { grid-template-columns: 1fr; }

  .hero { min-height: 88vh; }
}
