:root {
  --charcoal: #333333;
  --muted: #7f7f7f;
  --rule: #747474;
  --placeholder: #7b7b7b;
  --coral: #f29373;
  --paper: #f8f7f1;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Lato", sans-serif;
  font-weight: 400;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 5%;
  background: var(--paper);
}
.logo-link {
  display: block;
  width: 78px;
}
.logo-link img {
  display: block;
  width: 100%;
  height: auto;
}
.menu-toggle {
  display: grid;
  gap: 5px;
  width: 27px;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--charcoal);
}
.site-menu {
  position: absolute;
  top: 100%;
  right: 5%;
  display: grid;
  gap: 14px;
  min-width: 220px;
  padding: 21px 24px 23px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.site-menu[hidden] {
  display: none;
}
.site-menu a {
  color: var(--charcoal);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--coral);
}
.intro {
  padding: 40px 5% 71px;
  text-align: center;
}
h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}
.intro h1 {
  font-size: clamp(42px, 5.2vw, 60pt);
  line-height: 1;
  margin-bottom: 82px;
}
.intro h1,
.intro h2 {
  animation: intro-fade-in 700ms ease both;
}
.intro h2 {
  max-width: 667px;
  margin-right: auto;
  margin-left: auto;
  color: #003f42;
  font-size: clamp(22px, 2vw, 24pt);
  line-height: 1.3;
  animation-delay: 180ms;
}
.services {
  padding: 0 0 55px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 47px 4.25%;
  padding: 0 5%;
}
.service-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-card a:hover h3,
.service-card a:focus-visible h3 {
  color: var(--coral);
}
.image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 667;
  background: var(--placeholder);
  object-fit: cover;
}
.service-card h3 {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.1;
}
.service-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
}
.section-rule {
  margin: 0 4.5%;
  border-top: 1px solid var(--rule);
}
.about {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 5%;
  padding: 66px 0 64px;
}
.about h3,
.contact h3 {
  font-size: 28px;
  line-height: 1;
}
.about p {
  max-width: 760px;
  padding-right: 1%;
  font-size: 15px;
  line-height: 1.35;
}
.expertise {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 5%;
  padding: 76px 0 83px;
}
.expertise h3 {
  font-size: 28px;
  line-height: 1;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
}
.expertise-grid p {
  font-size: 15px;
  line-height: 1.35;
}
.contact {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 5%;
  min-height: 240px;
  padding: 65px 0;
}
.contact a {
  color: var(--charcoal);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.contact a:hover,
.contact a:focus-visible {
  color: var(--coral);
}
#contact a,
#contact a:hover,
#contact a:focus,
#contact a:active {
  text-decoration: none;
}
.project-page {
  min-height: 100vh;
  padding: 75px 5% 100px;
}
.top-social-content {
  margin-bottom: 76px;
}
.top-social-content h2 {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.1;
}
.top-social-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--placeholder);
}
.video-embed {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.video-embed iframe {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.project-page h1 {
  max-width: 800px;
  color: var(--charcoal);
  font-size: clamp(38px, 4.5vw, 48pt);
  line-height: 1;
  margin-bottom: 82px;
}
.project-page-intro {
  max-width: 580px;
  margin: 34px 0 70px;
  font-size: 21px;
  line-height: 1.35;
}
.project-page-image {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  background: var(--placeholder);
}
.project-page-details {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 5%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.project-page-details h2 {
  font-size: 24px;
  line-height: 1;
}
.project-page-details p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.45;
}
@keyframes intro-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.photo-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--charcoal);
  text-align: left;
  cursor: zoom-in;
}
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 180ms ease;
}
.photo-card:hover img,
.photo-card:focus-visible img {
  opacity: 0.8;
}
.photo-card span {
  display: block;
  margin-top: 10px;
  font: 12px var(--mono);
}
.lightbox {
  width: min(94vw, 1400px);
  height: min(92vh, 940px);
  padding: 56px 70px 54px;
  border: 0;
  background: rgba(248, 247, 241, 0.94);
  color: var(--charcoal);
}
.lightbox::backdrop {
  background: rgba(248, 247, 241, 0.72);
}
.lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox-close,
.lightbox-control {
  position: absolute;
  z-index: 1;
  border: 0;
  background: none;
  color: #b3b3b3;
  cursor: pointer;
}
.lightbox-close {
  top: 12px;
  right: 18px;
  font-size: 34px;
  font-weight: 300;
}
.lightbox-control {
  top: 50%;
  font-size: 28px;
  transform: translateY(-50%);
}
.lightbox-prev {
  left: 18px;
}
.lightbox-next {
  right: 18px;
}
.lightbox-caption {
  position: absolute;
  bottom: 15px;
  left: 70px;
  margin: 0;
  font: 12px var(--mono);
}

@media (max-width: 700px) {
  .site-header {
    padding: 18px 7%;
  }
  .logo-link {
    width: 58px;
  }
  .menu-toggle {
    width: 23px;
  }
  .site-menu {
    right: 7%;
    min-width: 205px;
    padding: 18px 20px 20px;
  }
  .intro {
    padding: 40px 7% 56px;
  }
  .intro h1 {
    font-size: clamp(38px, 12vw, 52px);
    margin-bottom: 45px;
  }
  .intro h2 {
    font-size: 21px;
    line-height: 1.3;
  }
  .desktop-break {
    display: none;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 43px;
    padding: 0 7%;
  }
  .services {
    padding-bottom: 58px;
  }
  .service-card h3 {
    margin-top: 15px;
    font-size: 17px;
  }
  .service-card p {
    margin-top: 7px;
    font-size: 14px;
  }
  .section-rule {
    margin: 0 7%;
  }
  .about,
  .expertise,
  .contact {
    display: block;
    padding: 44px 0;
  }
  .about h3,
  .contact h3 {
    margin-bottom: 27px;
    font-size: 25px;
  }
  .about p {
    padding: 0;
    font-size: 14px;
  }
  .expertise h3 {
    margin-bottom: 36px;
    font-size: 25px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .expertise-grid p {
    font-size: 14px;
    line-height: 1.35;
  }
  .contact {
    min-height: 170px;
  }
  .contact a {
    display: inline-block;
    font-size: 14px;
  }
  .project-page {
    padding: 42px 7% 75px;
  }
  .top-social-content {
    margin-bottom: 54px;
  }
  .top-social-content h2 {
    font-size: 25px;
  }
  .top-social-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-page h1 {
    font-size: clamp(36px, 10vw, 46px);
    margin-bottom: 45px;
  }
  .project-page-intro {
    margin: 26px 0 45px;
    font-size: 18px;
  }
  .project-page-details {
    display: block;
    margin-top: 16px;
  }
  .project-page-details h2 {
    margin-bottom: 18px;
    font-size: 22px;
  }
  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lightbox {
    width: 100vw;
    height: 100vh;
    padding: 48px 34px;
  }
  .lightbox-caption {
    left: 34px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro h1,
  .intro h2 {
    animation: none;
  }
}
