:root {
  --ink: #151515;
  --soft-ink: #4f4d49;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dedbd4;
  --moss: #59634f;
  --clay: #9b684f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  --max: 1200px;
  --font-primary: "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Aptos Display", "Segoe UI Variable Display", "Aptos", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  font-family: var(--font-primary);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 54px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
  transition: opacity 420ms ease, transform 420ms ease, background 420ms ease;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(174px, 44vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--soft-ink);
  font-family: var(--font-primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: calc(88svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--white);
  opacity: var(--hero-opacity, 1);
  transform: translateY(var(--hero-y, 0));
  transform-origin: center top;
  will-change: opacity, transform;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 44%);
  content: "";
  z-index: 0;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.hero::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: clamp(90px, 18vh, 190px);
  background: linear-gradient(0deg, var(--paper), rgba(251, 250, 247, 0));
  content: "";
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  filter: brightness(1.08) saturate(0.72);
  transform: scale(var(--hero-image-scale, 1));
  transform-origin: center;
  transition: opacity 1600ms ease, filter 1800ms ease, transform 1800ms ease;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 12vh, 132px) 0 clamp(56px, 9vh, 96px);
  color: var(--white);
}

.hero-copy h1,
.hero-copy p,
.hero-actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 950ms ease, transform 950ms cubic-bezier(0.2, 0.74, 0.18, 1);
}

.hero-copy p {
  transition-delay: 130ms;
}

.hero-actions {
  transition-delay: 260ms;
}

body.is-hero-image-ready .hero-image {
  opacity: 1;
  filter: brightness(1) saturate(0.9);
}

body.is-hero-image-ready .hero::after {
  opacity: 1;
}

body.is-hero-copy-ready .hero-copy h1,
body.is-hero-copy-ready .hero-copy p,
body.is-hero-copy-ready .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.intro h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  max-width: 920px;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(4.8rem, 16vw, 12.2rem);
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--white);
  color: var(--ink);
}

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

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--moss);
}

.section-pad {
  width: min(var(--max), calc(100% - clamp(34px, 7vw, 96px)));
  margin-inline: auto;
  padding: clamp(72px, 11vw, 128px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.intro h2 {
  font-size: clamp(2.5rem, 7vw, 6.6rem);
}

.intro p,
.section-heading p,
.contact-copy p,
.service-list p {
  color: var(--soft-ink);
  line-height: 1.75;
}

.intro p {
  align-self: end;
  max-width: 530px;
  margin: 0;
  font-size: 1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: clamp(30px, 6vw, 64px);
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 6vw, 5.4rem);
}

.section-heading p {
  width: min(430px, 100%);
  margin: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--soft-ink);
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.gallery {
  column-count: 3;
  column-gap: clamp(14px, 2vw, 24px);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(14px, 2vw, 24px);
  padding: 0;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  cursor: zoom-in;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: filter 420ms ease, opacity 420ms ease, transform 420ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(21, 21, 21, 0.18);
  color: var(--white);
  content: attr(data-title);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  opacity: 0;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.32);
  text-transform: uppercase;
  transition: opacity 320ms ease, background 420ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: blur(3px) brightness(0.86) saturate(1.04);
  opacity: 0.94;
  transform: scale(1.012);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  background: rgba(21, 21, 21, 0.28);
  opacity: 1;
}

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.service-card {
  display: block;
  min-height: 260px;
  padding: clamp(22px, 4vw, 34px);
  border-right: 1px solid var(--line);
  outline-offset: -6px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover,
.service-card:focus-visible {
  background: rgba(21, 21, 21, 0.035);
  transform: translateY(-2px);
}

.service-list span {
  display: block;
  margin-bottom: 46px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 760;
}

.service-list h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 650;
  line-height: 1.05;
}

.service-list p {
  margin: 0;
  font-size: 0.96rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.64fr);
  gap: clamp(36px, 8vw, 108px);
}

.contact-copy {
  align-self: start;
}

.contact-copy p {
  max-width: 500px;
  margin: 28px 0 26px;
}

.contact-email {
  display: inline-flex;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--moss);
  font-weight: 720;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-family: var(--font-primary);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  padding: 10px 0;
  text-transform: none;
  font-family: var(--font-primary);
  font-size: 0.98rem;
  font-weight: 500;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
}

.contact-form button {
  justify-self: start;
  margin-top: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  padding: 24px clamp(20px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 86px;
  min-height: 42px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.03);
  opacity: 0.58;
}

.footer-mark img {
  width: 62px;
  height: auto;
  filter: grayscale(1);
}

.build-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.74, 0.18, 1);
  will-change: opacity, transform;
}

.build-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.build-section > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.2, 0.74, 0.18, 1);
  transition-delay: var(--build-delay, 0ms);
}

.build-section.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.build-item {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.74, 0.18, 1);
  transition-delay: var(--build-delay, 0ms);
  will-change: opacity, transform;
}

.build-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(13, 13, 13, 0.92);
}

.lightbox-stage {
  display: grid;
  align-items: center;
  place-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(54px, 7vh, 76px) clamp(14px, 4vw, 54px) clamp(62px, 8vh, 84px);
  overflow: hidden;
}

.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
}

.lightbox img {
  width: auto;
  max-width: calc(100vw - 220px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  min-height: 32px;
  margin-top: 14px;
  padding-inline: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.26);
  color: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  min-height: 42px;
  padding: 0 15px;
}

.lightbox-nav {
  position: fixed;
  top: var(--lightbox-nav-top, 50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
  left: var(--lightbox-prev-left, 18px);
}

.lightbox-next {
  left: var(--lightbox-next-left, calc(100vw - 66px));
}

.lightbox-nav span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.lightbox-prev span {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.lightbox-next span {
  transform: translate(-62%, -50%) rotate(45deg);
}

@media (max-width: 980px) {
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .gallery {
    column-count: 2;
  }

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

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding-block: 14px;
  }

  .site-nav {
    display: grid;
    width: auto;
    grid-template-columns: repeat(3, max-content);
    gap: clamp(18px, 8vw, 34px);
    font-size: 0.72rem;
  }

  .site-nav a:nth-child(2) {
    text-align: left;
  }

  .site-nav a:nth-child(3) {
    text-align: left;
  }

  .hero {
    min-height: 82svh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 58%);
  }

  .hero-copy {
    width: auto;
    max-width: none;
    margin-right: 17px;
    margin-left: 17px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 260px);
  }

  .section-pad {
    width: calc(100% - 34px);
    max-width: var(--max);
    padding-block: 72px;
  }

  .intro h2,
  .section-heading h2,
  .contact-copy h2 {
    line-height: 1.02;
  }

  .gallery {
    column-count: 1;
  }

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

  .service-card,
  .service-card:nth-child(2n) {
    border-right: 0;
  }

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

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-footer p:last-child {
    justify-self: start;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    transform: none;
  }

  .lightbox-stage {
    padding: 56px 10px 72px;
  }

  .lightbox img {
    max-width: calc(100vw - 124px);
  }
}

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

  .site-header,
  .hero,
  .hero-image,
  .hero::after,
  .hero-copy h1,
  .hero-copy p,
  .hero-actions,
  .build-section,
  .build-section > *,
  .build-item {
    opacity: 1 !important;
    transform: none !important;
  }
}