:root {
  --ink: #2d2924;
  --muted: #71685d;
  --paper: #faf7f1;
  --linen: #eee7dc;
  --green: #68785d;
  --deep-green: #3c4939;
  --sage: #b6b89a;
  --coral: #b8755e;
  --walnut: #745846;
  --brass: #a88a4c;
  --white: #fffdf8;
  --shadow: 0 16px 42px rgba(38, 32, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  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;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 247, 239, 0.94);
  box-shadow: 0 8px 30px rgba(30, 39, 34, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
}

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

.brand strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.1;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: currentColor;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 128px clamp(20px, 5vw, 72px) 86px;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(43, 38, 31, 0.76) 0%, rgba(43, 38, 31, 0.58) 42%, rgba(43, 38, 31, 0.2) 78%),
    linear-gradient(0deg, rgba(45, 41, 36, 0.28), transparent 36%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding-top: 20px;
}

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

.hero .eyebrow {
  color: #f2b093;
}

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

h1,
h2,
h3,
blockquote {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 13.8ch;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6.4vw, 5.9rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 800;
}

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

.button.ghost {
  color: var(--white);
}

.button.danger {
  border-color: #b4574b;
  color: #fffdf8;
  background: #b4574b;
}

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

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

.intro-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.65fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
}

.intro-grid p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.section-heading.compact {
  max-width: 620px;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(116, 88, 70, 0.16);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(38, 32, 25, 0.05);
}

.service-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--walnut);
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.gallery {
  background: #f4efe6;
  color: var(--ink);
}

.gallery .section-kicker {
  color: var(--coral);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}

.work-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(116, 88, 70, 0.18);
  border-radius: 6px;
  background: var(--white);
}

.work-item span {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-item h3 {
  max-width: 420px;
  margin: 18px 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.work-item p {
  margin: 0;
  color: var(--muted);
}

.work-item.highlight {
  color: var(--white);
  background: var(--deep-green);
}

.work-item.highlight p {
  color: rgba(255, 253, 248, 0.76);
}

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

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 6vw, 88px);
  max-width: 1160px;
  margin: 0 auto;
}

.process-layout p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 112px;
  padding: 22px 24px 22px 84px;
  border-left: 4px solid var(--coral);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(38, 32, 25, 0.06);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 23px;
  color: var(--coral);
  font-weight: 800;
}

.steps span {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.testimonial {
  text-align: center;
}

.testimonial blockquote {
  max-width: 930px;
  margin: 0 auto 18px;
  font-size: clamp(1.9rem, 3.2vw, 3.6rem);
}

.testimonial p {
  color: var(--muted);
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
}

.faq-grid article {
  padding: 26px;
  border: 1px solid rgba(116, 88, 70, 0.16);
  border-radius: 6px;
  background: var(--white);
}

.faq-grid p {
  color: var(--muted);
}

.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 6vw, 76px);
  border-radius: 6px;
  color: var(--white);
  background: #3b4238;
  box-shadow: var(--shadow);
}

.contact-panel p,
.contact-panel address {
  color: rgba(255, 253, 248, 0.72);
}

.contact-panel address {
  font-style: normal;
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 16px;
}

.contact-link {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.24);
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.page-gallery .site-header {
  position: sticky;
}

.gallery-page-hero {
  padding-top: 150px;
  padding-bottom: 42px;
}

.gallery-page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.gallery-page-hero p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.photo-gallery {
  padding-top: 20px;
}

.masonry-gallery {
  column-count: 4;
  column-gap: 18px;
}

.photo-card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(30, 39, 34, 0.08);
}

.photo-card img {
  width: 100%;
  height: auto;
}

.photo-card figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.gallery-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.gallery-empty[hidden] {
  display: none;
}

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

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

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

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

  .masonry-gallery {
    column-count: 3;
  }
}

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

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    border-radius: 8px;
    color: var(--ink);
    background: rgba(251, 247, 239, 0.98);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(43, 38, 31, 0.84), rgba(43, 38, 31, 0.54));
  }

  h1 {
    max-width: 13ch;
  }

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

  .work-grid {
    grid-auto-rows: 230px;
  }

  .work-item.tall {
    grid-row: span 1;
  }

  .site-footer {
    flex-direction: column;
  }

  .masonry-gallery {
    column-count: 2;
    column-gap: 14px;
  }

  .photo-card {
    margin-bottom: 14px;
  }
}

@media (max-width: 460px) {
  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .service-card,
  .work-item {
    padding: 22px;
  }

  .steps li {
    padding-left: 64px;
  }

  .steps li::before {
    left: 18px;
  }

  .masonry-gallery {
    column-count: 1;
  }
}
