:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #31241d;
  background: #faf3e7;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 8vw, 5rem); max-width: 13ch; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.05rem; }
p + p { margin-top: 1rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
.hero {
  display: grid;
  color: #fff3e3;
}
.hero > .wrap {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 1;
}
.hero > .wrap { background: rgb(133 68 49 / var(--header-opacity, 0)); }
.header-bar { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
html { scroll-padding-top: 9rem; }
.header-bar, nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.4rem; }
.header-bar { justify-content: space-between; padding-block: 1.25rem; border-bottom: 1px solid #785646; }
.brand { display: grid; gap: .2rem; font: 850 2rem/1 system-ui, sans-serif; }
.brand small { font: 500 .875rem/1.35 system-ui, sans-serif; color: #f0d7bc; }
nav a, .brand, .button { text-decoration: none; }
nav a { padding-block: .4rem; }
nav a:hover { text-decoration: underline; }
.menu-toggle { display: none; }
.mobile-nav-link { display: none; }

@media (max-width: 51.999rem) {
  html { scroll-padding-top: calc(9rem + env(safe-area-inset-top, 0px)); }
  html.page-scrolled { background: #854431; }
  body { background: #faf3e7; }
  .hero > .wrap {
    background: #854431;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .mobile-nav-link { display: block; }
  .menu-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: .75rem;
    background: #3b241b;
    color: #fff3e3;
    cursor: pointer;
  }
  .menu-toggle:not([hidden]) + nav {
    position: absolute;
    top: 100%;
    inset-inline: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem;
    border-radius: 1rem;
    background: #3b241b;
  }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .menu-toggle:not([hidden]) + nav a { padding: .75rem; }
}
.hero-layout {
  grid-area: 1 / 1;
  min-height: 38rem;
  background: #3b241b;
  color: #fff3e3;
  display: grid;
  align-items: center;
  isolation: isolate;
  position: relative;
  padding-inline: max(1rem, calc((100% - 70rem) / 2));
}
.hero-photo {
  width: 100%;
  height: clamp(14rem, 55vw, 24rem);
  object-fit: cover;
  object-position: 55% 28%;
}
.intro { padding-block: 12.5rem .75rem; }
.hero-layout .hero-photo { position: absolute; inset: 0; height: 100%; z-index: -2; }
.hero-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #3b241bee, #3b241b66);
}
.hero h1, .section-heading h2 { font-family: system-ui, sans-serif; font-weight: 850; letter-spacing: -.04em; }
.hero h1 { color: #ffd19d; }
.hero-subtitle { margin-top: .45rem; font-size: clamp(1.35rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.hero-benefits { margin: 1.35rem 0 0; padding: 0; list-style: none; font-size: 1.125rem; }
.hero-benefits li { display: flex; align-items: center; gap: .65rem; }
.hero-benefits li + li { margin-top: .65rem; }
.hero-benefits svg {
  flex: none;
  color: #f1b46f;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.actions { margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: .85rem; background: #f6d6aa; color: #31241d; font-weight: 700; }
.button:hover { background: #fff1db; color: #31241d; }
.secondary { color: inherit; background: transparent; border-color: currentColor; }
.hero .button:not(.secondary) { background: #f1b46f; color: #3b241b; }
.hero .button:not(.secondary):hover { background: #ffd19d; }
section { margin-block: clamp(3rem, 8vw, 6rem); }
.cards, .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.section-heading { margin-bottom: 1.75rem; max-width: 55ch; border-inline-start: .35rem solid #a65b3f; padding-inline-start: 1rem; }
.section-heading h2 { margin-bottom: .65rem; }
.cards { grid-template-columns: minmax(0, 1fr); }
.cards > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #f1dfca;
  border: 1px solid #e2d1bb;
  border-radius: 1.25rem;
  overflow: hidden;
}
.cards > li:nth-child(odd):not(.featured-service) { background: #ead3bd; }
.cards > li > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}
.card-copy { padding: 1.15rem; }
.cards .workwear-photo { object-position: 27% 18%; }
.cards .card-copy { min-width: 0; overflow-wrap: anywhere; }
.card-copy h3 { font: bold 1.4rem/1.2 Georgia, serif; }
.card-copy p { margin-top: .65rem; }
.cards .featured-service {
  grid-column: 1 / -1;
  display: grid;
  align-items: stretch;
}
.cards .featured-service img {
  width: 100%;
  max-height: 19rem;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
}
.featured-service .card-copy { padding: clamp(1.25rem, 4vw, 2rem); }
.featured-service h3 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.featured-service p { max-width: 60ch; }
.service-examples { margin-block: .8rem; padding-inline-start: 1.25rem; }
.order {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 5vw, 3rem);
  background: #ead7bf;
  border: 1px solid #d6beaa;
  border-radius: 1.25rem;
}
.order ol { margin: 0; padding-inline-start: 1.5rem; }
.order li + li { margin-top: 1rem; }
.order li::marker { color: #793c2c; font-weight: 700; }
.order .button { background: #793c2c; color: #fff8ed; }
.order .button:hover { background: #59291e; }
.gallery img { width: 100%; }
.gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.gallery a { display: grid; grid-template-rows: minmax(0, 1fr) auto; border-radius: 1rem; overflow: hidden; background: #efdfca; text-decoration: none; }
.work-caption { padding: .65rem .85rem; }
.gallery a:hover .work-caption { text-decoration: underline; }
.gallery img { aspect-ratio: 4 / 3; object-fit: contain; background: #efdfca; }
.hero-picture { display: contents; }
.work-viewer {
  width: min(56rem, calc(100% - 1rem));
  max-height: 95dvh;
  padding: .5rem;
  border: 0;
  border-radius: 1rem;
  background: #39261d;
  color: #fff3e3;
}
.work-viewer::backdrop { background: #21150fd9; }
.viewer-image img { margin-inline: auto; max-height: 72dvh; object-fit: contain; touch-action: pan-y pinch-zoom; }
.viewer-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.work-viewer button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: .65rem;
  background: #39261d;
  color: inherit;
  font-size: 1.75rem;
  cursor: pointer;
}
.viewer-close { display: block; margin-inline-start: auto; }
.gallery a:hover { outline: 2px solid #775238; }
.about { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.25rem, 4vw, 3rem); background: #f2e3d2; border-radius: 1.25rem; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; border-radius: 1rem; }
.materials .about-photo img { max-height: 26rem; object-fit: cover; object-position: center 60%; }
.about-photo figcaption { margin-top: .5rem; font-size: .875rem; color: #654d40; }
footer { padding-block: 3rem; background: #39261d; color: #fff8ed; }
address { font-style: normal; overflow-wrap: anywhere; }
.phone { font-size: clamp(1.25rem, 4vw, 1.75rem); font-weight: 700; text-underline-offset: .2em; }
.contact-layout address p + p { margin-top: .35rem; }

@media (min-width: 52rem) {
  .about { grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
  .order { grid-template-columns: 1fr 1.35fr; }
  .hero-layout { min-height: clamp(36rem, 51vw, 51rem); }
  .hero-layout .hero-photo { object-position: right 28%; }
  .intro { max-width: 38rem; padding-block: 12.25rem 1.25rem; }
  .hero-layout::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #25160f88, transparent 6rem), linear-gradient(90deg, #3b241bf5, #3b241bcc 29%, #3b241b40 52%, transparent 70%);
  }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > li { grid-template-columns: minmax(0, 1fr) minmax(0, 38%); }
  .cards .featured-service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > li > img { grid-area: 1 / 2; height: 100%; min-height: 0; aspect-ratio: auto; clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%); }
  .cards > li > .card-copy { grid-area: 1 / 1; }
  .cards .featured-service img {
    max-height: none;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  }
  .featured-service .card-copy { align-self: center; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child a { height: 100%; }
  .gallery li:first-child img { height: 100%; object-fit: cover; }
  .contact-layout { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 1.5rem; align-items: start; }
  .contact-layout .actions { margin-top: 0; }
}
