:root {
  color-scheme: light;
  --ink: #252020;
  --paper: #fff9ee;
  --orange: #ff944d;
  --yellow: #ffdc68;
  --mint: #a9e6c2;
  --sky: #c9eef7;
  --line: #2d2826;
  --shadow: 5px 5px 0 var(--line);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 system-ui, "Yu Gothic", sans-serif; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1167a3; outline-offset: 4px; }
figure, h1, h2, h3, p { margin: 0; }
.wrap { width: min(1120px, 91%); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 92px); scroll-margin-top: 12px; }
.top, .brand, .top nav, .actions, .foot { display: flex; align-items: center; gap: 14px; }
.top { min-height: 76px; justify-content: space-between; }
.brand { font-weight: 900; text-decoration: none; white-space: nowrap; gap: 8px; }
.brand img { border-radius: 50%; }
.top nav { gap: 20px; font-size: .92rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 8px 17px; border: 2px solid var(--line); border-radius: 12px; background: var(--mint); box-shadow: 3px 3px 0 var(--line); color: var(--ink); font-weight: 850; text-decoration: none; }
.button:hover { background: #c8f4d9; }
.button.outline { background: #fff9ee; }
.button.outline:hover { background: #ffefbc; }
.compact { padding-inline: 12px; min-height: 40px; font-size: .9rem; }
.actions { flex-wrap: wrap; gap: 12px; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(16px, 4vw, 57px); padding: clamp(35px, 6vw, 85px) max(4.5%, calc((100% - 1120px) / 2)); background: var(--yellow) radial-gradient(#9b5c291f 1.3px, transparent 1.3px) 0 0 / 17px 17px; border-block: 2px solid var(--line); }
.hero h1 { font-size: clamp(2.15rem, 4.5vw, 4.25rem); font-weight: 950; line-height: 1.18; letter-spacing: -.045em; }
.eyebrow { font-weight: 850; font-size: .9rem; color: #803a1d; margin-bottom: 8px; }
.intro { max-width: 29em; margin: 17px 0 23px; }
.hero-visual { overflow: hidden; border: 2px solid var(--line); border-radius: 23px; box-shadow: 8px 8px 0 var(--line); background: var(--sky); transform: rotate(1.8deg); }
.hero-visual img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.85rem); font-weight: 900; line-height: 1.28; margin-bottom: 15px; }
h3 { font-size: 1.13rem; font-weight: 850; line-height: 1.4; margin-bottom: 7px; }
.services, .cases, .claim-steps, .steps { display: grid; gap: 16px; }
.services, .claim-steps, .steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
.services { margin-top: 22px; }
.services article, .cases article, .claim-steps li { border: 2px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 3px 3px 0 var(--line); background: white; }
.services article { border-left-width: 9px; border-left-color: #ca5e2b; }
.services article:nth-child(3n+2) { border-left-color: #397d59; }
.services article:nth-child(3n) { border-left-color: #477ca7; }
.services p, .steps p, .claim-steps p { font-size: .95rem; }
.work { background: var(--sky); border-block: 2px solid var(--line); }
.case-note { margin-bottom: 20px; }
.cases { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px; }
.cases article { padding: 12px; }
.cases h3 { padding-inline: 4px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.pair figure { position: relative; overflow: hidden; border-radius: 8px; }
.mini { width: 100%; aspect-ratio: 1 / 1; background-color: #e9f2ec; background-image: var(--case-image); background-size: 200% auto; background-position: var(--column) 50%; }
.before { --column: 0%; }.after { --column: 100%; }
.case-roof { --case-image: url("assets/pop-roof.jpg"); }
.case-water { --case-image: url("assets/pop-waterproof.jpg"); }
.case-ridge { --case-image: url("assets/pop-ridge.jpg"); }
.case-paint { --case-image: url("assets/pop-paint.jpg"); }
.case-plaster { --case-image: url("assets/pop-plaster.jpg"); }
.pair figcaption { position: absolute; bottom: 5px; left: 5px; background: #fff9ee; border: 1px solid var(--line); border-radius: 6px; font-weight: 750; font-size: .8rem; padding: 1px 6px; }
.after + figcaption { background: var(--mint); }
.insurance-top { margin-bottom: 18px; }
.claim-steps { list-style: none; counter-reset: claims; margin: 0 0 18px; padding: 0; }
.claim-steps li { counter-increment: claims; }
.claim-steps li::before { content: counter(claims); display: grid; place-items: center; width: 29px; aspect-ratio: 1; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--line); font-weight: 850; margin-bottom: 9px; }
.claim-steps blockquote { margin: 10px 0 0; border-left: 3px solid #a94c22; padding-left: 9px; font-size: .9rem; }
.insurance-note { background: #ffeab9; border-radius: 10px; padding: 13px; font-size: .92rem; }
.insurance-note a { display: inline-block; margin-left: .5em; }
.river-band { position: relative; border-top: 2px solid var(--line); }
.river-band img { width: 100%; height: clamp(190px, 29vw, 340px); object-fit: cover; object-position: center 53%; }
.river-band figcaption { position: absolute; right: 4.5%; bottom: 10px; padding: 2px 7px; border-radius: 5px; background: var(--paper); font-size: .82rem; }
.team { background: #ffdbb9; border-block: 2px solid var(--line); padding-block: clamp(35px,6vw,72px); }
.team-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 25px; align-items: center; }
.team figure { border: 2px solid var(--line); border-radius: 19px; overflow: hidden; box-shadow: var(--shadow); }
.team img { width: 100%; }
.contact { background: var(--mint); border-bottom: 2px solid var(--line); }
.steps { list-style-position: inside; padding: 0; margin: 0 0 19px; }
.steps li { padding-top: 10px; border-top: 2px solid var(--line); }
.steps p { margin-top: 4px; }
.contact .button:first-child { background: var(--yellow); }
.small { font-size: .88rem; margin-top: 7px; }
.foot { justify-content: space-between; padding-top: 18px; }
.foot p { font-size: .9rem; }
.credits { font-size: .8rem; padding-block: 9px 15px; }
@media(max-width: 850px) { .top nav { display: none; } }
@media(max-width: 680px) {
  .top { min-height: 61px; gap: 7px; }
  .hero, .team-layout, .claim-steps, .steps, .cases { grid-template-columns: 1fr; }
  .hero { padding-bottom: 36px; }
  .hero-visual { transform: none; border-radius: 15px; box-shadow: var(--shadow); }
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .services article { padding: 9px; border-left-width: 5px; }
  .insurance-note a { margin-left: 0; }
}
@media(max-width: 340px) { .services { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
