:root {
  color-scheme: light;
  --ink: #17191a;
  --paper: #f8f6f0;
  --orange: #ff743e;
  --rust: #a6320d;
  --line: #c8c3b8;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #1872bb; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
.wrap { width: min(1320px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-150%); padding: .7rem; background: white; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.brand img { width: 38px; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
nav a { text-decoration: none; font-weight: 700; }
nav a:last-child { border: 1px solid var(--ink); padding: .45rem .8rem; }
nav a:hover, address a:hover { text-decoration: underline; }
.hero {
  background-image: linear-gradient(#77664719 1px, transparent 1px), linear-gradient(90deg, #77664719 1px, transparent 1px);
  background-size: 32px 32px;
  padding-block: clamp(2.6rem, 6vw, 6rem) 1rem;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .drawing-note, figcaption span:first-child, .service-grid article span {
  font: 750 .78rem/1.4 ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .6rem; }
.eyebrow span { width: .65rem; height: .65rem; background: var(--orange); border: 1px solid currentColor; }
h1, h2 { font-weight: 880; line-height: .99; letter-spacing: -.075em; }
h1 { font-size: clamp(3.1rem, 6.4vw, 6.75rem); margin-top: 1.1rem; }
h1 em { color: var(--rust); font-style: normal; }
h2 { font-size: clamp(2.5rem, 5vw, 5.1rem); margin-top: .9rem; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.55vw, 1.25rem); max-width: 34ch; margin-top: 1.45rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding: .9rem 1rem; background: var(--ink); color: white; font-weight: 800; text-decoration: none; box-shadow: 5px 5px 0 var(--orange); }
.button span { color: var(--orange); }
.button:hover { box-shadow: 2px 2px 0 var(--orange); }
.hero-photo { position: relative; margin: 0 8px 8px 0; box-shadow: 8px 8px 0 var(--orange); }
.hero-photo img { aspect-ratio: 1; object-fit: cover; object-position: right center; }
.hero-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: var(--ink); color: var(--paper); padding: .75rem 1rem; }
.drawing-note { display: flex; align-items: center; gap: .9rem; margin-top: clamp(2rem, 5vw, 4rem); color: #5f564b; }
.drawing-note span:nth-child(2) { flex: 1; height: 8px; border-inline: 1px solid; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; font-size: .87rem; }
.services, .project-grid, .contact-grid { padding-block: clamp(3.5rem, 7vw, 7rem); }
.services { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.service-grid article { display: grid; grid-template-columns: 2.3rem minmax(0, .85fr) minmax(0, 1fr); gap: .9rem; border-top: 1px solid var(--line); padding-block: 1.15rem; }
.service-grid article:last-child { border-bottom: 1px solid var(--line); }
.service-grid article span { color: var(--rust); padding-top: .22rem; }
h3 { font-size: clamp(1.08rem, 1.7vw, 1.4rem); line-height: 1.2; letter-spacing: -.04em; }
.service-grid article p { line-height: 1.45; }
.projects { background: var(--ink); color: var(--paper); }
.project-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.project-intro > p { color: #dedbd4; max-width: 36ch; }
.project-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.comparison { position: relative; }
.comparison span { position: absolute; bottom: .6rem; padding: .25rem .5rem; color: white; background: var(--ink); font-size: .72rem; font-weight: 700; }
.comparison span:first-of-type { left: .6rem; }
.comparison span:last-of-type { left: calc(50% + .6rem); }
.project-cards figcaption { padding-block: .8rem; border-bottom: 1px solid #6e6b65; }
.project-cards figcaption span { color: var(--orange); }
.project-cards figcaption p { flex-basis: 100%; color: #dedbd4; }
.contact { background: var(--orange); }
.contact .eyebrow span { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: end; }
.contact h2 + p { margin-top: 1.1rem; max-width: 49ch; }
address { font-style: normal; border-top: 1px solid var(--ink); padding-top: .8rem; }
address p { font-weight: 800; }
address a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-block: .65rem; border-bottom: 1px solid var(--ink); font-size: clamp(1rem, 2.1vw, 1.5rem); text-decoration: none; overflow-wrap: anywhere; }
footer { background: var(--ink); color: var(--paper); font-size: .88rem; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .project-intro, .contact-grid { grid-template-columns: 1fr; }
  .project-intro { gap: 1rem; }
  .hero-photo img { aspect-ratio: 1.18; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 36px); }
  .header-row { flex-direction: column; align-items: flex-start; gap: .7rem; }
  nav { width: 100%; justify-content: space-between; font-size: .9rem; }
  nav a { padding-block: .4rem; }
  h1 { font-size: clamp(2.7rem, 11.2vw, 3.8rem); }
  .project-cards { grid-template-columns: 1fr; }
  .service-grid article { grid-template-columns: 1.8rem 1fr; gap: .35rem .65rem; }
  .service-grid article p { grid-column: 2; }
}

.contact-grid { align-items: start; }
.contact-grid address { margin-top: 1.75rem; }
.contact-form { min-width: 0; padding: clamp(1rem, 3vw, 2rem); background: var(--paper); }
.contact-form h3 { margin-bottom: .45rem; font-size: 1.55rem; }
.contact-form p { font-size: .9rem; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .8rem; }
.form-fields label { display: grid; gap: .25rem; font-weight: 650; }
.form-fields input, .form-fields textarea { width: 100%; border: 1px solid #837b71; padding: .55rem; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.form-fields textarea { resize: vertical; }
.form-message { grid-column: 1 / -1; }
.contact-form .button { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.contact-form .button:disabled { opacity: .65; cursor: default; }
.preview-note { margin-top: .65rem; }
@media (max-width: 480px) {
  .form-fields { grid-template-columns: 1fr; }
}
