* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.08; margin: 0 0 18px; letter-spacing: 0; font-weight: 800; }
h1 { font-size: clamp(2.15rem, 5.1vw, 4.15rem); max-width: 980px; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.65rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.skip-link { position: absolute; left: 12px; top: -80px; background: #fff; padding: 10px 14px; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-header);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.12);
}
.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; text-decoration: none; font-family: var(--font-heading); }
.brand img, .brand-mark { width: var(--logo-size); height: var(--logo-size); flex: 0 0 var(--logo-size); }
.brand img {
  border-radius: 50%;
  object-fit: contain;
  image-rendering: auto;
  backface-visibility: hidden;
}
.brand-mark {
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  font-weight: 900;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav a, .header-actions a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); padding: 10px 12px; border-radius: var(--radius); font: inherit; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  background: var(--color-button);
  color: #111;
  border: 2px solid var(--color-button);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--color-button-hover); border-color: var(--color-button-hover); }
.button-small { min-height: 42px; padding: 9px 14px; font-size: .92rem; }
.button-ghost { background: transparent; color: inherit; border-color: currentColor; }
.button-secondary { background: var(--color-header); border-color: var(--color-header); color: #fff; }
.eyebrow {
  color: var(--color-primary);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  color: #fff;
  background: #13272d;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,29,34,.88), rgba(12,29,34,.5), rgba(12,29,34,.12)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: relative; max-width: var(--content-max); width: 100%; margin: 0 auto; padding: 120px 22px 92px; }
.hero-copy p:not(.eyebrow) { max-width: 760px; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.phone-large { font-weight: 900; font-size: 1.15rem; }
.section, .page-hero, .project-hero, .cta-band {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 74px 22px;
}
.surface {
  max-width: none;
  background: var(--color-surface);
  padding-left: max(22px, calc((100vw - var(--content-max)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--content-max)) / 2 + 22px));
}
.compact { padding-top: 76px; padding-bottom: 44px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.section-heading { max-width: 780px; margin-bottom: 30px; }
.card-grid, .project-grid, .gallery-grid { display: grid; gap: 22px; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .project-card, .contact-card, .values article, .quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23,44,51,.08);
}
.service-card h3, .service-card p, .service-card a, .project-card div { padding-left: 18px; padding-right: 18px; }
.service-card a, .text-link { display: inline-block; margin: 0 18px 20px 0; font-weight: 800; color: var(--color-header); }
.service-card img, .project-card img { aspect-ratio: 7 / 4.7; object-fit: cover; width: 100%; height: auto; }
.project-card-media { position: relative; aspect-ratio: 7 / 4.7; overflow: hidden; }
.project-card-media img { width: 100%; height: 100%; }
.project-card-media.has-video { aspect-ratio: 16 / 9; background: #10252b; }
.project-card-media.has-video img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.media-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(27, 53, 61, .92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: .78rem;
  font-weight: 900;
}
.project-card div { padding-top: 18px; padding-bottom: 22px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.before-after figure, .gallery-grid figure { margin: 0; position: relative; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.before-after span {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.76);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 800;
}
.before-after img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.check-list { padding-left: 22px; font-weight: 700; }
.cta-band {
  margin-top: 34px;
  margin-bottom: 34px;
  background: var(--color-header);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.service-list { display: grid; gap: 26px; }
.service-row { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--color-border); }
.service-row img, .rounded-media { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.logo-feature {
  min-height: 420px;
  border-radius: var(--radius);
  background: var(--color-header);
  display: grid;
  place-items: center;
  padding: 42px;
}
.logo-feature img {
  width: min(340px, 72%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--color-header); color: #fff; border-color: var(--color-header); }
.project-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; }
.project-hero img { width: 100%; height: 100%; border-radius: var(--radius); aspect-ratio: 16 / 11; object-fit: cover; }
.project-hero.has-video img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: #10252b; }
.prose { max-width: 880px; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
figcaption { padding: 10px 12px; font-size: .92rem; color: var(--color-text-muted); }
.video-block video { width: 100%; max-height: 620px; background: #000; border-radius: var(--radius); }
.project-nav { max-width: var(--content-max); margin: 0 auto; padding: 28px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.review-page { min-height: 520px; display: grid; place-items: center; align-content: center; text-align: center; }
.review-page p:not(.eyebrow) { max-width: 680px; margin-left: auto; margin-right: auto; }
.review-action { margin-top: 18px; display: flex; justify-content: center; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.contact-form {
  display: grid;
  gap: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.form-row { display: grid; gap: 7px; }
label { font-weight: 800; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; }
.field-error { color: #9b241a; font-weight: 800; margin: 0; }
.contact-card { padding: 22px; position: sticky; top: 96px; }
.site-footer { background: var(--color-footer); color: #fff; padding: 48px 22px 90px; }
.footer-grid, .footer-bottom { max-width: var(--content-max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-grid h2 { font-size: 1.1rem; font-family: var(--font-body); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.75); font-size: .9rem; }
.mobile-call { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0,0,0,.86);
  place-items: center;
  padding: 60px 18px 18px;
}
.lightbox:not([hidden]) { display: grid; }
.lightbox img { max-height: 82vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 18px; right: 18px; min-height: 44px; padding: 8px 14px; font: inherit; font-weight: 800; }
.messages { max-width: var(--content-max); margin: 18px auto 0; padding: 0 22px; }
.messages p { padding: 12px 14px; background: #fff3d7; border: 1px solid #e6bf6a; border-radius: var(--radius); }
@media (max-width: 980px) {
  body { font-size: 17px; }
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav, .header-actions { display: none; width: 100%; }
  .site-nav.is-open, .header-actions.is-open { display: grid; gap: 12px; }
  .site-nav a { padding: 8px 0; }
  .hero { min-height: 650px; }
  .split, .project-hero, .contact-layout, .service-row { grid-template-columns: 1fr; }
  .card-grid, .project-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { position: static; }
}
@media (max-width: 680px) {
  .hero-copy { padding-top: 96px; padding-bottom: 64px; }
  .hero-actions, .cta-band, .footer-bottom { align-items: stretch; flex-direction: column; }
  .card-grid, .project-grid, .gallery-grid, .before-after, .footer-grid { grid-template-columns: 1fr; }
  .section, .page-hero, .project-hero, .cta-band { padding-top: 48px; padding-bottom: 48px; }
  .filters button { flex: 1 1 auto; color: var(--color-text); }
  .filters button[aria-pressed="true"] { color: #fff; }
  .phone-link { display: none; }
  .mobile-call {
    display: flex;
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 12;
    min-height: 52px;
    min-width: 96px;
    align-items: center;
    justify-content: center;
    background: var(--color-button);
    color: #111;
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.24);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
