:root {
  color-scheme: light;
  --ink: #161616;
  --charcoal: #232323;
  --yellow: #f6cf4c;
  --yellow-hover: #ffdf72;
  --paper: #f1f0ed;
  --white: #fff;
  --muted: #52524f;
  --line: #d6d4ce;
  --body-font: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body-font); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:where(h1, h2, h3, p, figure) { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.056em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.25rem); text-wrap: balance; }
h3 { font-size: clamp(1.3rem, 2.45vw, 1.9rem); letter-spacing: -.035em; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1; top: .5rem; left: .5rem; transform: translateY(-150%); padding: .65rem; background: var(--yellow); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.header { background: var(--ink); color: var(--white); border-bottom: 1px solid #3c3c3c; }
.header-inner, .footer-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { width: fit-content; font-size: 1.85rem; font-weight: 850; line-height: 1; letter-spacing: .09em; white-space: nowrap; }
.brand span { color: var(--yellow); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: fit-content; max-width: 100%; min-height: 48px; padding: .7rem 1.05rem; border: 1px solid transparent; background: var(--yellow); color: var(--ink); font-weight: 750; line-height: 1.25; text-align: left; transition: background-color .18s; }
.button:hover { background: var(--yellow-hover); }
.button-small { min-height: 44px; padding: .55rem .8rem; font-size: .91rem; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #424242; }
.header .button:focus-visible, .hero .button:focus-visible { outline-color: var(--yellow); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; max-width: 100%; padding: .35rem 0; border: 0; background: none; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-align: left; }
.text-link:hover { text-decoration-thickness: 2px; }
.arrow { position: relative; display: inline-block; flex: 0 0 10px; width: 10px; height: 10px; }
.arrow::before { content: ""; position: absolute; top: 0; right: 0; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { content: ""; position: absolute; top: 4px; left: -1px; width: 12px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }

.hero { background: var(--ink); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; align-items: stretch; }
.hero-copy { padding: clamp(50px, 6.5vw, 110px) clamp(22px, 4vw, 58px) clamp(56px, 6.5vw, 105px) 0; align-self: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--yellow); }
h1 { font-size: clamp(3.3rem, 6.05vw, 6.6rem); line-height: .98; }
h1 span { color: var(--yellow); }
.hero-intro { max-width: 38ch; margin: 22px 0 25px; color: #e0e0de; font-size: clamp(1rem, 1.42vw, 1.2rem); }
.hero-image { position: relative; min-width: 0; border-bottom: 4px solid var(--yellow); }
.hero-image img { position: absolute; inset: 0; object-position: 53% center; }

.services, .quote { padding-block: clamp(54px, 7vw, 104px); }
.services > h2 { margin-bottom: clamp(24px, 3.1vw, 42px); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.15vw, 30px); }
.service-card { background: var(--white); display: flex; flex-direction: column; border: 1px solid var(--line); }
.service-photo { height: auto; aspect-ratio: 2 / 1; }
.service-photo.toolbox { object-position: center 65%; }
.service-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2.55vw, 34px); }
.service-content p, .outdoor p { color: var(--muted); margin-top: 10px; }
.outdoor { margin-top: clamp(14px, 2.15vw, 30px); border: 1px solid var(--line); }
.outdoor-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.outdoor-collage img { height: auto; aspect-ratio: 3 / 2; }
.outdoor-content { padding: 22px clamp(18px, 2.55vw, 34px); }
.outdoor h3 { font-size: 1.3rem; }
.outdoor p { margin-top: 5px; }

.roof { background: var(--charcoal); color: var(--white); padding-block: clamp(42px, 6.3vw, 92px); }
.roof-inner { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(24px, 5.5vw, 84px); }
.roof-image { aspect-ratio: 1.12; border-left: 4px solid var(--yellow); }
.roof-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.65rem); text-wrap: initial; }
.roof-copy p { max-width: 45ch; margin-top: 15px; color: #dedede; }
.roof-services { margin: 23px 0 18px; padding: 0; list-style: none; border-bottom: 1px solid #626262; }
.roof-services li { padding: 12px 0; border-top: 1px solid #626262; font-weight: 650; }
.roof-copy > .text-link { color: var(--yellow); }

.quote { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; }
.quote-info { align-self: stretch; background: var(--yellow); padding: clamp(24px, 4vw, 56px); }
.quote-info p { margin: 19px 0 27px; max-width: 39ch; }
.contact-links { display: grid; gap: 7px; justify-items: start; }
.contact-links a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.quote-panel { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.field { display: grid; gap: 5px; margin-bottom: 16px; }
label { font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 46px; border: 1px solid #898983; border-radius: 0; padding: 9px 10px; background: #fcfcfb; color: var(--ink); }
select { text-overflow: ellipsis; }
textarea { resize: vertical; }
::placeholder { color: #61615e; opacity: 1; }
.quote-status:not(:empty) { margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid var(--yellow); background: var(--paper); }
.quote-status.is-confirmed { border-color: #287443; background: #e8f4eb; color: #173e26; font-weight: 700; }
.quote-status:focus { outline: 2px solid currentColor; outline-offset: 2px; scroll-margin-block: 16px; }
.footer { background: var(--ink); color: var(--white); }
.footer-inner p { font-size: .87rem; color: #d7d7d7; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .hero-inner, .roof-inner, .quote { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 0 27px; }
  .hero-intro { margin: 17px 0 20px; }
  .hero-image { aspect-ratio: 1.5; }
  .roof-image { order: 1; aspect-ratio: 1.48; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 22px; gap: 10px; }
}

@media (max-width: 510px) {
  .service-grid { grid-template-columns: 1fr; }
  .outdoor-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outdoor-collage img:first-child { grid-column: 1 / -1; }
  .service-photo { aspect-ratio: 1.8; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-actions { gap: 10px 18px; }
}

@media (max-width: 360px) {
  .hero-actions .button { font-size: .93rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
