@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f7f3e9;
  --ink: #222a23;
  --forest: #25362c;
  --mist: #d9e0d4;
  --body: #484e44;
  --line: #cfc9bb;
  --rust: #a43a21;
  --rust-hover: #7e2d1a;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body-font: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.55 var(--body-font); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #127477; outline-offset: 4px; }
[id] { scroll-margin-top: 1.3rem; }
.wrap { width: min(100% - 5rem, 1320px); margin-inline: auto; }
.section-pad { padding-block: clamp(4rem, 8vw, 7.75rem); }
.skip { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .75rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 5vw, 4rem); min-height: 91px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; text-decoration: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 38px; height: 42px; background: currentColor; clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); }
.brand-mark::before, .brand-mark i { content: ""; position: absolute; width: 71%; height: 74%; inset: auto auto 13%; background: var(--paper); clip-path: inherit; }
.brand-mark i { width: 42%; height: 50%; inset: auto auto 13%; background: currentColor; }
.brand-type { display: grid; line-height: 1; }
.brand-type strong { font: 800 1.63rem/.93 var(--display); text-transform: uppercase; }
.brand-type > span { font: 700 .77rem/1.05 var(--body-font); margin-top: .28rem; letter-spacing: .025em; }
nav { display: flex; gap: clamp(1.15rem, 3vw, 2.65rem); margin-left: auto; }
nav a, .text-link { font-weight: 700; text-underline-offset: .25em; }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 54px; width: fit-content; padding: .72rem 1rem .72rem 1.1rem; border: 1px solid transparent; border-radius: 2px; background: var(--rust); color: #fff; text-decoration: none; font-weight: 700; line-height: 1.15; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.button span { font-size: 1.22em; line-height: .8; }
.button:hover { background: var(--rust-hover); transform: translateY(-2px); }
.button-small { min-height: 46px; }

.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(1.75rem, 5vw, 5.4rem); padding-block: clamp(3.5rem, 6.5vw, 6.5rem); }
.hero-copy { container-type: inline-size; }
.hero-copy, .room { animation: enter .55s ease-out both; }
.room { animation-delay: .08s; }
@keyframes enter { from { opacity: .25; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { margin: 0 0 1rem; font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.location { display: flex; gap: .55rem; align-items: center; }
.location span { width: .53rem; aspect-ratio: 1; background: var(--rust); border-radius: 50%; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: .88; text-transform: uppercase; letter-spacing: -.012em; margin: 0; }
h1 { font-size: clamp(2.85rem, 18.15cqw, 7.15rem); }
h1 em { color: var(--rust); font-style: normal; }
h2 { font-size: clamp(3.45rem, 5.85vw, 6.2rem); }
.lede { max-width: 35ch; margin: 1.6rem 0 1.65rem; color: var(--body); font-size: clamp(1.08rem, 1.6vw, 1.26rem); }
.hero-actions, .about-links { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.hero-actions .text-link { white-space: nowrap; }
.room { position: relative; border: 1px solid var(--line); background: #fbf8f0; box-shadow: 9px 9px 0 #e6dfd0; }
.room-image { position: relative; isolation: isolate; background: #9b8060; }
.room-image img { aspect-ratio: 1.5; object-fit: cover; }
.image-label { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .55rem; font-size: .68rem; font-weight: 700; color: white; background: #222a23e8; }
.pin { position: absolute; display: grid; place-items: center; width: 45px; height: 45px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--forest); color: #fff; box-shadow: 0 2px 12px #18160e60; transform: translate(-50%, -50%); transition: background .18s, scale .18s; }
.pin span { font-size: 1.48rem; line-height: 1; margin-top: -.13em; }
.pin:hover { scale: 1.08; }
.pin[aria-pressed="true"] { background: var(--rust); box-shadow: 0 0 0 4px #ffffff94; }
.pin:focus-visible { outline-color: white; }
.pin-drywall { top: 39%; left: 38%; }
.pin-painting { top: 24%; left: 65%; }
.pin-repairs { top: 47%; left: 89%; }
.pin-flooring { top: 80%; left: 58%; }
.room-caption { display: flex; align-items: center; justify-content: space-between; gap: .55rem 1rem; min-height: 87px; padding: .65rem 1rem; }
.room-caption strong { font-size: 1.04rem; }
.room-caption p { color: var(--body); font-size: .91rem; margin: .08rem 0 0; }
.room-caption a { flex: 0 0 auto; font-size: .88rem; }
.room-caption a span { display: inline-block; text-decoration: none; }

.services { background: var(--forest); color: var(--paper); }
.services-grid, .quote-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.section-intro > p:last-of-type, .about-copy > p:last-of-type { max-width: 35ch; margin: 1.2rem 0 0; font-size: 1.12rem; }
.services .section-intro > p { color: var(--mist); }
.services :focus-visible { outline-color: #fbc6a2; }
.service-list { border-top: 1px solid #ffffff47; }
details { border-bottom: 1px solid #ffffff47; }
summary { display: flex; min-height: 70px; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; list-style: none; font: 800 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--display); padding: 1rem .35rem; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: #ffc4a9; }
.detail-icon { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #ffffff54; border-radius: 50%; flex: 0 0 auto; }
.detail-icon::before, .detail-icon::after { grid-area: 1 / 1; content: ""; width: 11px; height: 1px; background: currentColor; }
.detail-icon::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .detail-icon::after { transform: none; }
.service-body { padding: 0 .35rem 1.3rem; }
.service-body p { margin: 0 0 .9rem; max-width: 53ch; color: var(--mist); }

.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.about figure { margin: 0; position: relative; border: 1px solid var(--line); box-shadow: -9px 9px 0 #e6dfd0; }
.about figure img { aspect-ratio: 1.19; object-fit: cover; object-position: center 26%; }
.about-copy > p:last-of-type { color: var(--body); max-width: 47ch; }
.about-links { margin-top: 1.35rem; }

.quote { background: #eee9dc; border-top: 1px solid var(--line); }
.quote .section-intro > p:last-of-type { color: var(--body); margin-bottom: 1.35rem; }
form { display: grid; gap: .96rem; padding: clamp(1.1rem, 3.4vw, 2.25rem); border: 1px solid var(--line); background: #fbf8f1; }
.preview-note { margin: 0; padding: .6rem .75rem; border-left: 3px solid var(--rust); background: #f2e7da; font-size: .87rem; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
legend, form > label, .form-row > label { font-weight: 700; }
legend { padding: 0; margin-bottom: .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.choices label { display: flex; align-items: center; gap: .36rem; min-height: 43px; padding: .32rem .52rem; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.choices label:has(input:checked) { border-color: var(--forest); background: #e3e8db; }
.choices input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--forest); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
form input:not([type="checkbox"]), textarea { display: block; width: 100%; min-height: 46px; margin-top: .25rem; padding: .56rem .65rem; border: 1px solid #858a7e; border-radius: 2px; background: #fffdfa; color: var(--ink); font-weight: 400; }
textarea { resize: vertical; }
.form-status { margin: 0; color: var(--forest); font-weight: 700; }
.form-status:empty { margin-top: -.96rem; }
.footer { background: var(--paper); border-top: 1px solid var(--line); }
.foot-inner { min-height: 111px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; color: var(--body); }
.footer p span { margin-inline: .3rem; }

@media (max-width: 1080px) {
  .wrap { width: min(100% - 3.5rem, 1320px); }
  .hero { gap: clamp(1.4rem, 4vw, 3rem); }
  .room-caption { flex-wrap: wrap; align-content: center; }
}
@media (max-width: 790px) {
  .wrap { width: min(100% - 2.5rem, 620px); }
  .head-inner { gap: .5rem 1rem; flex-wrap: wrap; min-height: 0; padding-block: .95rem .35rem; }
  nav { order: 3; flex: 1 0 100%; margin-left: 0; gap: 1.5rem; }
  nav a { display: inline-flex; align-items: center; min-height: 42px; }
  .hero, .services-grid, .about, .quote-grid { grid-template-columns: 1fr; }
  .hero { gap: 2.1rem; padding-top: 3.1rem; }
  h2 { font-size: clamp(3.45rem, 9vw, 5.4rem); }
  .about-copy { order: -1; }
  .about figure { width: min(100%, 460px); }
}
@media (max-width: 440px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { gap: .48rem; }
  .brand-mark { width: 30px; height: 34px; }
  .brand-type strong { font-size: 1.29rem; }
  .brand-type > span { font-size: .68rem; }
  .head-inner .button { min-height: 44px; padding-inline: .55rem; gap: .35rem; font-size: .79rem; }
  .hero { padding-top: 2.6rem; }
  .room { box-shadow: 5px 5px 0 #e6dfd0; }
  .room-caption { padding: .6rem .7rem; min-height: 100px; gap: .15rem .6rem; }
  .pin { width: 44px; height: 44px; }
  .image-label { left: .45rem; bottom: .45rem; }
  .form-row { grid-template-columns: 1fr; }
  .foot-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .7rem; padding-block: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .button:hover, .pin:hover { scale: 1; }
  .button:hover { transform: none; }
}
