:root {
  --ink: #171717;
  --carbon: #24211f;
  --iron: #3c4242;
  --steel: #64706d;
  --ash: #f3f1ec;
  --paper: #fffdf8;
  --spark: #ef7d2a;
  --arc: #33a6a0;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 20px 60px rgba(23, 23, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 260px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  background: #111;
  border-color: rgba(17, 17, 17, 0.2);
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.05;
  white-space: nowrap;
}

.brand small {
  font-size: 0.74rem;
  color: currentColor;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  place-items: center;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

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

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 17, 16, 0.9) 0%, rgba(18, 17, 16, 0.68) 42%, rgba(18, 17, 16, 0.28) 100%),
    linear-gradient(0deg, rgba(18, 17, 16, 0.78) 0%, rgba(18, 17, 16, 0.06) 42%);
}

.hero-content {
  width: min(900px, 100%);
  padding: 150px clamp(20px, 6vw, 76px) 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--spark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  background: var(--spark);
  color: #111;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff994d;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff;
  color: var(--ink);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--carbon);
  color: #fff;
}

.quick-strip div {
  min-height: 118px;
  padding: 26px clamp(20px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.quick-strip span {
  color: rgba(255, 255, 255, 0.66);
}

.section {
  padding: clamp(70px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.section h2,
.contact h2 {
  font-size: clamp(2rem, 4.2vw, 4.3rem);
}

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

.service-card {
  min-height: 315px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-number {
  color: var(--arc);
  font-weight: 900;
}

.service-card h3,
.advantage-list h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.service-card p,
.advantage-list p,
.about-panel p,
.contact p {
  color: #525252;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  background: var(--ash);
}

.advantage-list {
  display: grid;
  gap: 14px;
}

.advantage-list article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.advantage-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
  min-width: 0;
}

.gallery-item {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 240px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--iron);
  color: #fff;
  cursor: pointer;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  background: rgba(18, 17, 16, 0.82);
  color: #fff;
  text-align: left;
  font-weight: 800;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.carousel-wrap {
  margin-top: clamp(28px, 5vw, 54px);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.carousel-heading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.1;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--ink);
  color: #fff;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 26%);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 2px;
  padding-bottom: 12px;
}

.carousel::-webkit-scrollbar {
  height: 10px;
}

.carousel::-webkit-scrollbar-track {
  background: var(--ash);
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--steel);
}

.carousel-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: var(--iron);
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.carousel-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  background: rgba(18, 17, 16, 0.82);
  color: #fff;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 800;
}

.carousel-card:hover img,
.carousel-card:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.about {
  background: var(--carbon);
  color: #fff;
}

.about-panel {
  width: min(950px, 100%);
}

.about-panel p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
}

blockquote {
  margin: 38px 0 0;
  padding: 26px 0 0;
  border-top: 2px solid var(--spark);
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

cite {
  display: block;
  margin-top: 12px;
  color: var(--spark);
  font-style: normal;
  font-weight: 800;
}

.contact {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--spark);
  color: #111;
}

.contact .eyebrow {
  color: #111;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 30px;
  align-items: center;
}

.contact p {
  max-width: 560px;
  color: rgba(17, 17, 17, 0.72);
  font-weight: 700;
}

.contact-actions {
  margin-top: 0;
}

.contact-link {
  display: block;
  width: 100%;
  padding: 18px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: var(--iron);
}

.contact-link span,
.contact-link strong {
  display: block;
}

.contact-link span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #111;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
  width: min(1080px, 100%);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #111;
}

.lightbox figcaption {
  padding-top: 12px;
  color: #fff;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fff;
  color: #111;
  padding: 10px 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(255, 253, 248, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .quick-strip,
  .service-grid,
  .split,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .carousel {
    grid-auto-columns: minmax(210px, 44%);
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer p {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    padding: 3px;
  }

  .brand strong {
    font-size: 0.9rem;
    max-width: 190px;
    white-space: normal;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding: 118px 18px 54px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 18px;
  }

  .service-card {
    min-height: 250px;
  }

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

  .gallery-item,
  .gallery-item.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 270px;
    aspect-ratio: 4 / 3;
  }

  .carousel-heading {
    align-items: flex-start;
  }

  .carousel {
    grid-auto-columns: 82%;
  }
}
