:root {
  --ink: #0a0a0a;
  --soft-ink: #232323;
  --paper: #f7f5f0;
  --white: #ffffff;
  --muted: #696760;
  --line: #ddd7cc;
  --accent: #b87333;
  --accent-dark: #815126;
  --blue: #516d7d;
  --green: #74826c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: 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: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 122px;
  min-width: 104px;
}

.brand img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--soft-ink);
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 6vw, 80px) 104px;
  background: var(--ink);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.16) 74%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.3rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.62rem);
  line-height: 1.13;
  margin-bottom: 14px;
}

h4 {
  margin: 0 0 10px;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.18;
}

p {
  line-height: 1.68;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.primary:hover {
  background: var(--accent-dark);
}

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

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

.hero-strip {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 6vw, 80px);
  right: clamp(18px, 6vw, 80px);
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.hero-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 6vw, 80px);
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.intro-copy p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  margin-bottom: clamp(36px, 6vw, 76px);
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 930px;
}

.service-category {
  margin-top: clamp(42px, 7vw, 88px);
}

.service-category:first-of-type {
  margin-top: 0;
}

.category-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.service-title {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1;
}

.residential-copy .service-title {
  margin-bottom: 18px;
}

.category-intro p:not(.eyebrow),
.residential-copy p:not(.eyebrow),
.specialty-grid p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 300px;
  padding: clamp(26px, 4vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  background: rgba(81, 109, 125, 0.08);
}

.service-card:nth-child(3),
.service-card:nth-child(6) {
  background: rgba(184, 115, 51, 0.09);
}

.partner-callout {
  background: var(--ink) !important;
  color: var(--white);
}

.partner-callout .service-index {
  color: var(--accent);
}

.partner-callout p {
  color: rgba(255, 255, 255, 0.74);
}

.service-index,
.timeline-item span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p,
.timeline-item p,
.feature-card figcaption,
.project-card figcaption,
.service-media-grid figcaption,
.residential-media figcaption,
.quote-band p,
.contact-copy p {
  color: var(--muted);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.specialty-grid article {
  min-height: 210px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
}

.service-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.service-media-grid figure,
.residential-media figure {
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-media-grid img,
.residential-media > figure:not(.phone-frame) img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft-ink);
}

.service-media-group {
  grid-column: auto;
}

.service-image-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  aspect-ratio: 16 / 10;
  padding: 8px;
  background: #111315;
}

.service-image-cluster img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  background: #050607;
}

.service-media-grid figcaption,
.residential-media figcaption {
  padding: 18px 20px 22px;
  line-height: 1.55;
}

.residential-services {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--white);
}

.residential-media {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 0.55fr);
  gap: 18px;
  align-items: center;
}

.residential-media .phone-frame {
  margin: 0;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}

.timeline-item {
  position: relative;
  padding: 32px 24px 0 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--ink);
}

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

.portfolio-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  margin-bottom: 18px;
}

.feature-card,
.project-card {
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card img,
.project-card img {
  width: 100%;
  object-fit: cover;
  background: var(--soft-ink);
}

.feature-card img {
  aspect-ratio: 4 / 3;
}

.feature-card.large img {
  aspect-ratio: 16 / 10;
}

.feature-card figcaption,
.project-card figcaption {
  padding: 20px 22px 24px;
  line-height: 1.55;
}

.feature-card span,
.project-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 900;
}

.interface-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin: clamp(26px, 5vw, 56px) 0;
  padding: clamp(24px, 5vw, 46px);
  background: var(--ink);
  color: var(--white);
}

.interface-copy h3 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.interface-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.interface-grid {
  display: grid;
  gap: 12px;
}

.interface-grid img {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  object-fit: contain;
  background: #0f1114;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.interface-collections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.interface-group-card {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.interface-group-images {
  display: grid;
  gap: 8px;
  aspect-ratio: 1 / 1;
}

.interface-group-images.pair {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.interface-group-images.single {
  align-items: center;
}

.interface-group-images img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #121417;
  border: 1px solid var(--line);
}

.interface-group-card span {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.interface-group-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mobile-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  margin: clamp(26px, 5vw, 56px) 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--white);
}

.phone-frame {
  width: min(260px, 100%);
  justify-self: center;
  padding: 12px;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 720 / 1438;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-copy h3 {
  max-width: 650px;
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
  line-height: 1.02;
}

.mobile-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card img {
  aspect-ratio: 4 / 3;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: end;
  background: var(--ink);
  color: var(--white);
}

.quote-band h2 {
  max-width: 920px;
}

.quote-band p {
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
}

.contact-copy {
  align-self: start;
  position: sticky;
  top: 118px;
}

.text-link {
  font-weight: 900;
  color: var(--accent-dark);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--paper);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: var(--soft-ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc8ba;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 14px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(184, 115, 51, 0.22);
  border-color: var(--accent);
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 28px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer img {
  width: 76px;
  mix-blend-mode: multiply;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer a {
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .service-grid,
  .interface-collections,
  .portfolio-feature,
  .project-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-band,
  .interface-showcase,
  .mobile-showcase,
  .category-intro,
  .service-media-grid,
  .residential-services,
  .contact {
    grid-template-columns: 1fr;
  }

  .specialty-grid,
  .residential-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 82px;
  }

  .brand {
    width: 94px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 245, 240, 0.98);
  }

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

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

  .hero {
    min-height: 88vh;
    padding: 124px 18px 224px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    left: 18px;
    right: 18px;
  }

  .hero-strip span {
    min-height: 48px;
  }

  .intro,
  .section-heading,
  .service-grid,
  .specialty-grid,
  .residential-media,
  .interface-collections,
  .portfolio-feature,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .interface-showcase {
    padding: 24px 18px;
  }

  .mobile-showcase {
    padding: 24px 18px;
  }

  .section-label {
    margin-bottom: 0;
  }

  .service-card {
    min-height: auto;
  }

  .service-index,
  .timeline-item span {
    margin-bottom: 22px;
  }

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

@media (max-width: 420px) {
  h1 {
    font-size: 2.72rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 334px;
  }
}
