:root {
  --ink: #070707;
  --muted: #5d5a52;
  --paper: #fffdf6;
  --stone: #ede8dc;
  --tile: #d8d1c2;
  --brand: #ffc400;
  --brand-deep: #c89500;
  --shadow: 0 18px 48px rgba(7, 7, 7, 0.18);
  --header-height: 78px;
}

* {
  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;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.phone-link {
  text-decoration-color: var(--brand);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.14em;
}

button {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-140%);
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 246, 0.88);
  border-bottom: 1px solid rgba(7, 7, 7, 0.08);
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand-mark {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 0.65rem;
  height: 58px;
  text-decoration: none;
}

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

.brand-mark span {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  max-width: 92px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-deep);
}

.hero {
  align-items: flex-end;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 5rem) 5vw 5rem;
  position: relative;
}

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

.hero-image {
  object-fit: cover;
  transform: scale(1.02);
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.82) 0%, rgba(7, 7, 7, 0.56) 42%, rgba(7, 7, 7, 0.15) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, 0.46) 0%, rgba(7, 7, 7, 0) 45%);
  z-index: 1;
}

.hero-content {
  color: white;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand);
}

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

h1 {
  font-size: clamp(4.25rem, 12vw, 10.5rem);
  letter-spacing: 0;
  line-height: 0.84;
  margin-bottom: 1.6rem;
  max-width: 820px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 5rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.hero-copy {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  max-width: 590px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 2px solid transparent;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: white;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--brand);
}

.section-pad {
  padding: clamp(4.5rem, 10vw, 8rem) 5vw;
}

.section-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
}

.section-grid > div {
  max-width: 980px;
}

.section-grid p:not(.section-kicker),
.section-heading p,
.proof-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

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

.services {
  background: var(--stone);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  max-width: 980px;
}

.service-list {
  border-top: 1px solid rgba(7, 7, 7, 0.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-list article {
  border-bottom: 1px solid rgba(7, 7, 7, 0.16);
  min-height: 190px;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.service-list article:nth-child(3n + 2),
.service-list article:nth-child(3n + 3) {
  border-left: 1px solid rgba(7, 7, 7, 0.16);
  padding-left: 1.5rem;
}

.service-list p {
  color: var(--muted);
  margin: 0;
}

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

.work .section-kicker {
  color: var(--brand);
}

.work-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  max-width: none;
}

.work-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.gallery {
  display: grid;
  gap: 0.8rem;
  grid-auto-flow: dense;
  grid-auto-rows: 220px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.gallery-item::after {
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.46), rgba(7, 7, 7, 0));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

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

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

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

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

.proof {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
}

.proof-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.proof-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.check-list {
  border-top: 1px solid rgba(7, 7, 7, 0.14);
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid rgba(7, 7, 7, 0.14);
  font-weight: 800;
  padding: 1rem 0 1rem 2rem;
  position: relative;
}

.check-list li::before {
  background: var(--brand);
  content: "";
  height: 0.7rem;
  left: 0;
  position: absolute;
  top: 1.45rem;
  transform: rotate(45deg);
  width: 0.7rem;
}

.areas {
  background: var(--stone);
}

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

.contact .section-kicker {
  color: var(--brand);
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel {
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.contact-note {
  font-size: 0.95rem;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 5vw;
}

.site-footer img {
  height: 68px;
  object-fit: contain;
  width: 76px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.lightbox {
  background: transparent;
  border: 0;
  color: white;
  height: 100%;
  max-height: none;
  max-width: none;
  padding: 5vw;
  width: 100%;
}

.lightbox::backdrop {
  background: rgba(7, 7, 7, 0.9);
}

.lightbox[open] {
  align-items: center;
  display: grid;
  justify-items: center;
}

.lightbox img {
  box-shadow: var(--shadow);
  max-height: 78vh;
  object-fit: contain;
  width: auto;
}

.lightbox p {
  margin: 1rem 0 0;
  text-align: center;
}

.lightbox-close {
  background: var(--brand);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
  padding: 0.7rem 1rem;
  position: fixed;
  right: 1.25rem;
  text-transform: uppercase;
  top: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand-mark {
    gap: 0.45rem;
  }

  .brand-mark img {
    height: 40px;
    width: 40px;
  }

  .brand-mark span {
    font-size: 0.72rem;
    max-width: 70px;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero {
    padding: calc(var(--header-height) + 4rem) 1.2rem 3rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.86) 0%, rgba(7, 7, 7, 0.6) 62%, rgba(7, 7, 7, 0.28) 100%),
      linear-gradient(0deg, rgba(7, 7, 7, 0.52) 0%, rgba(7, 7, 7, 0) 45%);
  }

  .section-pad {
    padding: 4rem 1.2rem;
  }

  .section-grid,
  .work-heading,
  .proof,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article,
  .service-list article:nth-child(3n + 2),
  .service-list article:nth-child(3n + 3) {
    border-left: 0;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

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

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 560px) {
  .site-header {
    gap: 0.75rem;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

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

  .button {
    width: 100%;
  }

  .gallery {
    grid-auto-rows: 230px;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
