:root {
  color-scheme: light;
  --paper: #f7f7f1;
  --ink: #172b25;
  --green: #264638;
  --lime: #e0f28d;
  --muted: #4d5d54;
  --line: #cbd4c8;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "Segoe UI", system-ui, sans-serif;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a04b21; outline-offset: 5px; }
.hero :focus-visible, .contact-band :focus-visible, .site-footer :focus-visible {
  outline-color: var(--lime);
}
[hidden] { display: none !important; }
.skip {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 3;
  padding: .6rem 1rem;
  background: white;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.wrap { width: min(82rem, 100% - clamp(2rem, 8vw, 8rem)); margin-inline: auto; }
.bar, .brand, nav, .actions { display: flex; align-items: center; }
.bar { justify-content: space-between; gap: 1rem; min-height: 5rem; }
.site-header { background: #fcfcf8; border-bottom: 1px solid var(--line); }
.brand { gap: .65rem; font-size: 1.12rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: .35rem; }
nav { gap: clamp(.75rem, 3vw, 2.5rem); }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid var(--green); border-radius: .45rem; padding: .48rem 1rem; }
.nav-contact[aria-current] { background: var(--green); color: #fff; }
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 52%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 29, 24, .97) 0%, rgba(13, 29, 24, .89) 32%, rgba(13, 29, 24, .28) 75%),
              linear-gradient(0deg, rgba(13, 29, 24, .78), transparent 38%);
}
.hero-inner {
  min-height: clamp(33rem, 47vw, 43rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3rem, 8vw, 7rem) 3rem;
}
.hero-copy { align-self: center; }
.eyebrow { margin: 0 0 1rem; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.eyebrow span { display: inline-block; width: 1.35rem; height: 2px; margin-right: .45rem; vertical-align: .26em; background: var(--lime); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.065em; }
h1 { font-size: clamp(3.7rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.65rem, 6vw, 5.3rem); }
h1 em, h2 em { color: var(--green); }
.hero h1 em { color: var(--lime); }
h3 { margin: 0 0 .35rem; font-size: 1.16rem; line-height: 1.35; }
p { margin: 0; }
.intro { max-width: 44ch; margin-block: 1.35rem 1.8rem; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.actions { gap: .85rem 1.4rem; flex-wrap: wrap; font-weight: 650; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.15rem;
  padding: .65rem 1.15rem;
  border-radius: .45rem;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
}
.button:hover { background: #f1f9bf; }
.hero-credit { display: grid; border-left: 2px solid var(--lime); padding-left: .9rem; font-weight: 650; }
.hero-credit span { font-size: .875rem; font-weight: 400; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-head { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.service-layout, .text-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.service-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: .6rem; }
.lead { font-size: clamp(1.06rem, 1.65vw, 1.26rem); }
.service-layout h2, .gallery-head h2 { margin-bottom: 1.25rem; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.service-list article {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #fcfcf8;
}
.service-list h3 {
  margin-bottom: .75rem;
  font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--serif);
}
.service-list article p, .partner p { color: var(--muted); }
.showcase { background: #e7eee3; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.gallery-head .lead { max-width: 48ch; }
.gallery-head > p { max-width: 37ch; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
figure { margin: 0; min-width: 0; }
figcaption { padding-top: .65rem; font-weight: 650; }
.pair {
  --position: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  border-radius: .6rem;
  background: var(--line);
  aspect-ratio: 4 / 3;
}
.pair img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.before-image { grid-area: 1 / 1; }
.tag { position: absolute; top: .65rem; border-radius: .3rem; padding: .18rem .55rem; color: #fff; background: var(--ink); font-size: .875rem; pointer-events: none; }
.tag-before { left: .65rem; }
.tag-after { right: .65rem; }
.handle { display: none; }
.interactive img { position: absolute; inset: 0; }
.interactive .before-image { clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.interactive::after { content: ""; position: absolute; left: var(--position); inset-block: 0; border-left: 2px solid #fff; pointer-events: none; }
.interactive .handle {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: clamp(1.35rem, var(--position), calc(100% - 1.35rem));
  width: 2.65rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 800;
  pointer-events: none;
}
.pair input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; touch-action: pan-y; }
.pair:focus-within { outline: 3px solid #a04b21; outline-offset: 5px; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .55rem; }
.partner { margin-top: 2.5rem; padding: clamp(1.25rem, 4vw, 3.5rem); background: #f5ede1; border-radius: 1rem; align-items: start; }
#tri, .partner h2 { font-size: clamp(2.35rem, 4.6vw, 4rem); overflow-wrap: anywhere; }
.contact-band, .site-footer { background: var(--ink); color: #fff; }
.contact-band { padding-block: clamp(2.75rem, 6vw, 5rem); }
.contact-band h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.contact-band p { margin-top: 1rem; }
.contact-band-address { display: grid; gap: .35rem; max-width: 100%; font-style: normal; overflow-wrap: anywhere; }
.contact-band-address span { margin-top: .5rem; }
.contact-band .actions { justify-content: end; }
.site-footer { border-top: 1px solid #536b5d; }
.site-footer .bar { flex-wrap: wrap; padding-block: .9rem; }
.site-footer span { color: #d5e0d5; }
.contact-page { display: grid; align-items: center; }
.contact-grid { grid-template-columns: 1.12fr 1fr; }
.contact-card { background: #e7eee3; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1.25rem, 4vw, 3rem); font-style: normal; overflow-wrap: anywhere; }
.contact-card > div + div { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.contact-card .eyebrow { margin-bottom: .35rem; }
.contact-card a { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 650; }

@media (max-width: 760px) {
  .site-header .bar { align-items: start; flex-direction: column; gap: .45rem; padding-block: .65rem; }
  nav { justify-content: space-between; width: 100%; gap: .45rem; font-size: .9rem; }
  .brand img { width: 43px; height: 43px; }
  .nav-contact { padding: .38rem .65rem; }
  .hero-inner { min-height: 33rem; align-items: start; flex-direction: column; justify-content: end; gap: 2.75rem; }
  .hero-copy { align-self: start; }
  .hero::after { background: linear-gradient(90deg, rgba(13, 29, 24, .94), rgba(13, 29, 24, .66) 70%, rgba(13, 29, 24, .54)); }
  .service-layout, .text-grid, .contact-grid, .photos { grid-template-columns: 1fr; }
  .service-photo { aspect-ratio: 16 / 10; }
  .contact-band .actions { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@font-face {
  font-family: "Divi Icons";
  src: url("fonts/divi-icons.woff") format("woff");
  font-display: block;
}
@font-face {
  font-family: "Font Awesome Solid";
  src: url("fonts/fa-solid-900.woff2") format("woff2");
  font-display: block;
}
.card-icon {
  display: block;
  margin-bottom: .75rem;
  color: var(--green);
  font: 1.5rem/1 "Divi Icons";
}
.card-icon-solid { font-family: "Font Awesome Solid"; }
@media (max-width: 520px) {
  .service-list { grid-template-columns: 1fr; }
}
