:root {
  --teal: #177f99;
  --teal-dark: #0d5d73;
  --teal-light: #51c4d9;
  --ink: #111416;
  --muted: #5c6870;
  --line: #d8e2e6;
  --paper: #f7fafb;
  --white: #ffffff;
  --warm: #d99a3d;
  --shadow: 0 20px 60px rgba(7, 23, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(8, 19, 23, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--teal);
  border-radius: 6px;
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.wrench-mark {
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--teal-dark));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
  background: var(--ink);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 17, 0.9), rgba(7, 14, 17, 0.66) 48%, rgba(23, 127, 153, 0.18)),
    linear-gradient(0deg, rgba(7, 14, 17, 0.82), rgba(7, 14, 17, 0.16) 58%);
}

.hero-content {
  position: relative;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 34px;
  text-align: center;
}

.hero-mark {
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 104px);
  height: clamp(72px, 9vw, 104px);
  margin: 0 auto 20px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero-mark svg {
  width: 78%;
  height: 78%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-light);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 4.7rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 0 auto 22px;
  font-size: 1.15rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.desktop-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(23, 127, 153, 0.32);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-contact div {
  padding: 16px clamp(18px, 4vw, 36px);
  background: var(--white);
}

.quick-contact span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-contact strong {
  display: block;
  font-size: 1.14rem;
  line-height: 1.25;
}

.section {
  padding: 48px clamp(18px, 5vw, 70px);
}

#services,
#work,
#contact {
  scroll-margin-top: 88px;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 22px;
  text-align: center;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.6rem;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 182px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(15, 34, 42, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--teal);
  background: #e8f7fa;
  border-radius: 6px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.16;
}

.service-card p,
.feature-copy p,
.contact-card p,
.testimonial-card blockquote {
  color: var(--muted);
  line-height: 1.5;
}

.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.testimonial-card {
  min-height: 160px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stars {
  margin-bottom: 12px;
  color: var(--warm);
  font-size: 1.05rem;
  font-weight: 900;
}

.testimonial-card h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 900;
}

.testimonial-card blockquote {
  margin: 0 0 12px;
}

.testimonial-card blockquote::before {
  content: open-quote;
}

.testimonial-card blockquote::after {
  content: close-quote;
}

.testimonial-name {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.service-area {
  border-top: 1px solid var(--line);
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-area-layout h2 {
  margin-bottom: 0;
}

.service-area-copy {
  padding-top: 22px;
}

.service-area-copy p {
  color: var(--muted);
  line-height: 1.5;
}

.service-area-copy p + p {
  margin-top: 16px;
}

.contact-card .contact-note {
  margin-top: 16px;
  color: var(--muted);
}

.work-section {
  padding: 48px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
}

.work-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(1280px, 100%);
  margin: 0 auto;
}

.feature-copy {
  max-width: 580px;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.work-slideshow {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.work-gallery {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #0b1113;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

.work-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-align: center;
}

.work-photo {
  position: absolute;
  inset: 0;
  display: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.work-photo.is-active {
  display: block;
  animation: work-photo-fade 520ms ease;
}

.work-photo[hidden] {
  display: none;
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: var(--white);
  background: rgba(13, 93, 115, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 23, 30, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
}

.work-arrow:disabled {
  cursor: default;
  opacity: 0.34;
}

.work-arrow svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-arrow-previous {
  left: 18px;
}

.work-arrow-next {
  right: 18px;
}

.work-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
}

@keyframes work-photo-fade {
  from {
    opacity: 0.3;
    transform: scale(1.01);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-photo.is-active {
    animation: none;
  }
}

.contact-section {
  padding: 48px clamp(18px, 5vw, 70px);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.contact-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: var(--teal-dark);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #07090a;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .quick-contact,
  .service-grid,
  .testimonial-grid,
  .service-area-layout,
  .work-intro {
    grid-template-columns: 1fr;
  }

  .service-area-copy {
    padding-top: 0;
  }

  .feature-copy {
    max-width: none;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .work-gallery {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 8px 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .header-call {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 485px;
  }

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

  .hero-content {
    padding-top: 70px;
    padding-bottom: 22px;
  }

  .hero-mark {
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: 2.28rem;
  }

  h2 {
    margin-bottom: 12px;
    font-size: 1.78rem;
  }

  .hero-copy {
    margin-bottom: 16px;
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .desktop-note {
    margin-top: 12px;
    font-size: 0.84rem;
  }

  .hero .desktop-note {
    display: none;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section,
  .work-section,
  .contact-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .quick-contact div {
    padding: 13px 16px;
  }

  .quick-contact strong {
    font-size: 1rem;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  #services {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #services .section-heading {
    max-width: 330px;
    margin-bottom: 14px;
  }

  #services h2 {
    font-size: 1.58rem;
    line-height: 1.1;
  }

  #services .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 0;
    padding: 16px;
  }

  #services .service-card {
    padding: 14px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 1.08rem;
  }

  .testimonial-card {
    min-height: 0;
    padding: 16px;
  }

  .work-gallery {
    aspect-ratio: 1 / 1;
  }

  .work-arrow {
    width: 40px;
    height: 40px;
  }

  .work-arrow svg {
    width: 28px;
    height: 28px;
  }

  .work-arrow-previous {
    left: 12px;
  }

  .work-arrow-next {
    right: 12px;
  }

  .contact-card {
    padding: 22px 18px;
  }

}
