:root {
  --ink: #1b3127;
  --green: #183c31;
  --paper: #f7f4ed;
  --line: #d7d1c5;
  --wood: #694532;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #9a582b; outline-offset: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1.1rem; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: .7rem; left: .7rem; z-index: 4; padding: .5rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; flex: 0 0 auto; border-radius: 50%; overflow: hidden; }
.logo img { border-radius: 50%; }
.header nav { display: flex; gap: clamp(.8rem, 4vw, 3.2rem); }
.header nav a, .header-cta { text-decoration: none; font-weight: 650; }
.header nav a:hover { text-decoration: underline; }
.header-cta { padding: .66rem 1.1rem; border: 1px solid var(--green); border-radius: .2rem; }
.header-cta:hover { background: #e6eadd; }
.hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); padding-block: 2rem 4.5rem; }
.hero-copy { padding-block: 1rem; }
.eyebrow { font-size: .79rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 750; color: var(--wood); margin-bottom: .85rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1; }
h1 { font-size: clamp(3.1rem, 6.7vw, 6.5rem); letter-spacing: -.052em; max-width: 9.5em; }
h2 { font-size: clamp(2.5rem, 5vw, 4.1rem); letter-spacing: -.04em; max-width: 13em; }
h3 { font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -.025em; }
.intro { max-width: 30rem; margin-block: 1.15rem 1.6rem; font-size: clamp(1rem, 1.6vw, 1.21rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.15rem; color: #fff; background: var(--green); text-decoration: none; font-weight: 720; border: 1px solid var(--green); border-radius: .22rem; }
.button:hover { background: #275b48; }
.compare-stage { --cut: 44%; isolation: isolate; position: relative; overflow: hidden; width: 100%; height: clamp(25rem, 59vw, 67vh); background: #76533e; }
.compare-stage picture, .compare-stage input, .compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-stage img { object-fit: cover; object-position: center 52%; }
.compare-stage .after { clip-path: inset(0 0 0 var(--cut)); }
.compare-stage input { z-index: 4; opacity: 0; margin: 0; cursor: ew-resize; }
.compare-stage:focus-within { outline: 3px solid #9a582b; outline-offset: 4px; }
.compare-label { position: absolute; bottom: .9rem; z-index: 2; background: rgba(26,36,26,.88); color: #fff; padding: .32rem .62rem; font-weight: 680; border-radius: .15rem; font-size: .9rem; pointer-events: none; }
.compare-label.left { left: .9rem; }
.compare-label.right { right: .9rem; }
.divider { position: absolute; z-index: 3; left: var(--cut); top: 0; bottom: 0; width: 2px; background: #fff9ec; transform: translateX(-50%); pointer-events: none; }
.divider > span { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 2.8rem; height: 2.8rem; border: 2px solid #fff9ec; border-radius: 50%; background: var(--green); color: #fff9ec; box-shadow: 0 2px 12px #0005; }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .89rem; }
figcaption span { color: var(--wood); }
.services { padding-block: clamp(3rem, 8vw, 6rem); background: #e9e9de; }
.services-layout, .team-layout, .quote { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: clamp(1.75rem, 8vw, 7.5rem); }
.service-list article { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding-block: 1.15rem; border-top: 1px solid #c5cabb; }
.service-list article:last-child { border-bottom: 1px solid #c5cabb; }
.service-list p, .project p, .team p:not(.eyebrow), .quote-copy p:not(.eyebrow) { margin-block: .55rem 1rem; max-width: 37rem; }
.service-list a, .project a, .quote-copy a { font-weight: 700; }
.grain { width: 2rem; height: 2rem; align-self: start; margin-top: .13rem; border: 1px solid #617467; background: repeating-radial-gradient(ellipse at 2% 110%, transparent 0 4px, #617467 5px 6px, transparent 7px 10px); }
.grain.straight { background: repeating-linear-gradient(45deg, transparent 0 5px, #617467 6px 7px, transparent 8px 11px); }
.projects { padding-block: clamp(3rem, 8vw, 6rem); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.3rem, 4vw, 3rem); margin-top: 1.8rem; }
.project img { width: 100%; height: clamp(17rem, 36vw, 29rem); object-fit: cover; object-position: center 56%; }
.project > div { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.team { background: #1c3c31; color: #faf5ea; padding-block: clamp(3rem, 7vw, 5rem); }
.team-layout { align-items: center; }
.team img { width: 100%; height: auto; }
.team .eyebrow { color: #e9c29f; }
.team p:not(.eyebrow) { margin-block: .9rem 0; }
.quote { padding-block: clamp(3rem, 8vw, 6rem); }
form { display: grid; gap: .65rem; }
label { display: block; font-size: .92rem; font-weight: 700; }
label span { color: #5e5f51; font-weight: 450; }
form input, form select { width: 100%; min-width: 0; min-height: 3rem; padding: .62rem; color: var(--ink); background: #fffdf8; border: 1px solid #918d80; border-radius: .2rem; }
select { appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23183c31' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: .8rem; background-position: right .7rem center; }
.fields { display: grid; grid-template-columns: 1.12fr .88fr; gap: .85rem; margin-block: .2rem .35rem; }
.fields label { margin-bottom: .38rem; }
.unit { position: relative; }
.unit input { padding-right: 2.35rem; }
.unit span { position: absolute; inset: 0 .65rem 0 auto; display: flex; align-items: center; pointer-events: none; }
form .button { justify-self: start; }
#project-reference { font-size: .9rem; background: #e9e9de; padding: .55rem .65rem; }
#project-reference button { border: 0; background: none; font-size: .88rem; color: var(--ink); margin-left: .5rem; text-decoration: underline; padding: .45rem .3rem; }
.footer { background: #e9e9de; padding-block: 1.2rem; }
.footer-layout { display: flex; gap: .85rem 1.3rem; align-items: center; }
.footer-links { display: flex; margin-left: auto; flex-wrap: wrap; gap: .55rem 1.2rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero { gap: 2rem; }
  .services-layout, .team-layout, .quote { gap: 2rem; }
  h1 { font-size: clamp(3.1rem, 7.5vw, 5.4rem); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 4.5rem; }
  .header .logo img { width: 55px; height: 55px; }
  .header nav { gap: .8rem; }
  .header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
  .header nav a:last-child { display: none; }
  .header-cta { padding: .55rem .7rem; font-size: .88rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 1.1rem; padding-block: 1.3rem 2.5rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.85rem, 11vw, 4.15rem); max-width: 11em; }
  .intro { margin-block: .72rem .95rem; }
  .hero .eyebrow { margin-bottom: .55rem; }
  .compare-stage { height: auto; aspect-ratio: 1.09; }
  .services-layout, .team-layout, .quote, .project-grid { grid-template-columns: 1fr; }
  .project img { height: auto; aspect-ratio: 1.22; }
  .team-layout img { order: 2; }
  .footer-layout { flex-wrap: wrap; }
  .footer-links { width: 100%; margin-left: 0; }
}
@media (max-width: 360px) {
  .header nav { gap: .5rem; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
