:root {
  --ink: #15191d;
  --text: #243038;
  --muted: #68737b;
  --line: #d8dee2;
  --paper: #ffffff;
  --wash: #f4f6f7;
  --steel: #2b5672;
  --steel-dark: #172832;
  --copper: #c66b2d;
  --moss: #557067;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.58;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(43, 86, 114, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  color: var(--steel-dark);
  font-size: 18px;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--steel-dark);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 13px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--copper);
}

.nav-cta {
  color: #fff !important;
  background: var(--steel-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--steel-dark);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-open .menu-button span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--steel-dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 25, 31, 0.92), rgba(15, 25, 31, 0.66) 44%, rgba(15, 25, 31, 0.18)),
    linear-gradient(0deg, rgba(15, 25, 31, 0.84), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 192px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4b06e;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7.6vw, 88px);
  line-height: 0.97;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.04;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-content p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2vw, 26px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.button.primary {
  color: #fff;
  background: var(--copper);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.secondary.dark {
  color: var(--steel-dark);
  border-color: rgba(23, 40, 50, 0.32);
}

.contact-panel .button.secondary.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.hero-facts {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 52px);
  bottom: 28px;
  left: clamp(18px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 25, 31, 0.72);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 24px;
  font-weight: 800;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

section:not(.hero) {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 4vw, 52px);
}

.section-grid,
.section-heading,
.service-grid,
.workbench,
.team-grid,
.gallery-grid,
.contact {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.intro {
  background: var(--paper);
}

.intro-copy {
  color: var(--muted);
  font-size: 19px;
}

blockquote {
  margin: 26px 0;
  padding: 22px 0 22px 24px;
  color: var(--steel-dark);
  border-left: 4px solid var(--copper);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 800;
}

.services,
.team,
.gallery {
  background: var(--wash);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: 42px;
  align-items: end;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 20px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.service-card.featured {
  grid-column: span 2;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: #d9dde0;
}

.service-card div {
  padding: 24px;
}

.service-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.workbench-media img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border: 1px solid var(--line);
}

.workbench-content p:not(.eyebrow) {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--steel-dark);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--copper);
  content: "";
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.person-card {
  background: #fff;
  border: 1px solid var(--line);
}

.person-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  background: #d9dde0;
}

.person-card h3,
.person-card p {
  padding: 0 22px;
}

.person-card h3 {
  margin: 22px 0 8px;
}

.person-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
}

.team-note {
  width: min(var(--max), 100%);
  margin: 20px auto 0;
  padding: 18px 22px;
  color: var(--steel-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.timeline strong {
  color: var(--copper);
  font-size: 18px;
  font-weight: 800;
}

.timeline span {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
}

.gallery-grid button {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #d9dde0;
  cursor: pointer;
}

.gallery-grid button:nth-child(1),
.gallery-grid button:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid button:nth-child(2),
.gallery-grid button:nth-child(4),
.gallery-grid button:nth-child(5),
.gallery-grid button:nth-child(6) {
  grid-column: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  transform: scale(1.04);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 18px;
}

.contact-panel,
.map-card {
  min-height: 360px;
  padding: clamp(28px, 5vw, 56px);
}

.contact-panel {
  background: var(--steel-dark);
  color: #fff;
}

.contact-panel h2,
.contact-panel .eyebrow {
  color: #fff;
}

address {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

address strong {
  color: #fff;
}

.map-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(43, 86, 114, 0.92), rgba(85, 112, 103, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
}

.map-card span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.map-card strong {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.map-card small {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 52px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a {
  color: var(--steel-dark);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 70px 20px 28px;
  background: rgba(8, 12, 15, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1040px, 100%);
  max-height: 74svh;
  object-fit: contain;
  background: #111;
}

.lightbox p {
  margin: 16px 0 0;
  color: #fff;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 77px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 25, 31, 0.18);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-content {
    padding-bottom: 230px;
  }

  .section-grid,
  .section-heading,
  .workbench,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }

  .gallery-grid button:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 128px 0 286px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-panel,
  .map-card {
    min-height: 280px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
