/* Barris Construction — "Burnt Timber"
   Layout: cream ground, burnt-brown stamped headlines (Montserrat Black, matching the logo),
   real wood grain from the logo as plank strips, forest green for every action.
   One deliberate look, light only. */
:root {
  --cream: #fbf7f0;
  --paper: #fffdf8;
  --tan: #e9dcc6;
  --tan-2: #f3e9da;
  --line: #d9c8ad;
  --line-soft: #e4d6c1;
  --brown: #4b3420;
  --ink: #2d2219;
  --body: #4a3c30;
  --muted: #6b5a48;
  --rust: #8a5a2e;
  --green: #2f4a35;
  --green-dk: #1f3526;
  --green-2: #3d5a43;
  --on-green: #e9efe6;
  --gold: #f0c48f;
  --display: 'Montserrat', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dk); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 900px; }

/* wood grain strips cut from the logo itself */
.grain { background: #c98f55 url(wood.jpg) 0 0 / 1400px auto repeat; }
.grain-low { background: #c98f55 url(wood.jpg) 0 -500px / 1400px auto repeat; }
.strip { height: 14px; }
.strip-lg { height: 22px; }

/* header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 14px; }
.logo img { height: 62px; width: auto; border-radius: 3px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.nav a { color: var(--brown); text-decoration: none; padding: 12px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--brown); }
.nav a.btn, .nav a.btn:hover { color: #fff; padding: 12px 20px; border: 0; margin-left: 4px; }

/* type */
.h-xl { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 6.4vw, 80px); line-height: .94; letter-spacing: -.02em; text-transform: uppercase; color: var(--brown); }
.h-l { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 46px); line-height: 1; text-transform: uppercase; color: var(--brown); }
.h-m { margin: 0; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.25; color: var(--brown); }
.lede { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.35; color: var(--brown); }
.body { margin: 0; color: var(--body); }
.body-lg { margin: 0; color: var(--body); font-size: 19px; }
.note { font-family: var(--hand); font-size: 26px; line-height: 1.15; color: var(--rust); }
.note.tilt { display: inline-block; transform: rotate(-2.5deg); }
.sig { margin: 0; font-family: var(--hand); font-size: 30px; line-height: 1.1; color: var(--green); }
.tagline { margin: 0; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.45; color: var(--green); }
.pre { white-space: pre-line; }

/* buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 17px; padding: 16px 28px; border-radius: 4px; border: 0; cursor: pointer; }
.btn:hover { background: var(--green-dk); color: #fff; }
.btn-line { display: inline-block; background: transparent; color: var(--brown); border: 2px solid var(--brown); font-family: var(--display); font-weight: 700; padding: 12px 22px; border-radius: 4px; cursor: pointer; text-decoration: none; }
.link-strong { font-family: var(--display); font-weight: 800; font-size: 17px; padding: 12px 0; display: inline-block; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* layout blocks */
.section { padding-block: 88px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.split > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.head-row { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }

.photo { background: var(--tan); border-radius: 4px; display: flex; align-items: flex-end; padding: 18px; color: #5e4b37; overflow: hidden; position: relative; }
.photo .note { color: #5e4b37; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.has-img > .note { display: none; }

/* hero */
.hero { padding-block: 48px 72px; }
.hero .photo { flex: 1.15 1 460px; min-height: 540px; }
.hero .copy { flex: 1 1 400px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }

/* ledger list (services, promises) */
.ledger-wrap { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.ledger-wrap > :first-child { flex: 1 1 280px; }
.ledger { flex: 2.4 1 560px; min-width: 0; border-top: 3px solid var(--brown); display: flex; flex-direction: column; }
.ledger-row { display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ledger-row .name { flex: 0 1 300px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--brown); }
.ledger-row .desc { flex: 1 1 260px; color: var(--body); }
.ledger-row .go { font-family: var(--display); font-weight: 800; color: var(--green); }
a.ledger-row:hover .name { color: var(--green); }

/* green band */
.band { background: var(--green); color: var(--on-green); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 0 56px; align-items: stretch; }
.band .copy { flex: 1 1 440px; padding-block: 80px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.band .h-l { color: #fff; }
.band .photo { flex: 1 1 400px; min-height: 420px; background: var(--green-2); border-radius: 0; color: #d6e2d2; }
.band .photo .note { color: #d6e2d2; }
.band a.link-strong { color: var(--gold); align-self: flex-start; }

/* recent work / gallery */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px 22px; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.shot .photo { height: 340px; }
.shot figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.shot .note { font-size: 24px; color: var(--brown); }
.shot .cat { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--muted); white-space: nowrap; }
.shots.stagger .shot:nth-child(3n+2) { padding-top: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 24px; border-bottom: 3px solid var(--brown); }
.filters button { min-height: 44px; padding: 10px 20px; border-radius: 4px; border: 2px solid var(--brown); background: transparent; color: var(--brown); font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brown); color: #fff; }
.empty { padding: 48px 0; color: var(--muted); }

.quote-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; padding-top: 40px; border-top: 1px solid var(--line); }
.quote-row blockquote { flex: 2 1 480px; margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.4; color: var(--brown); }
.quote-row p { flex: 1 1 200px; margin: 0; color: var(--body); }

/* pricing receipt */
.receipt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 3px solid var(--brown); border-bottom: 3px solid var(--brown); }
.receipt > div { padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; border-right: 2px dashed var(--line); }
.receipt > div:last-child { border-right: 0; }
.price { margin: 0; font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.callout { margin: 0; flex: 1 1 360px; background: var(--green); color: #fff; border-radius: 4px; padding: 28px 30px; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.35; }
.small-jobs { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; border: 2px solid var(--brown); border-radius: 4px; padding: 32px; background: var(--paper); }
.small-jobs > :first-child { flex: 1.6 1 420px; min-width: 0; }
.fees { flex: 1 1 320px; border-left: 2px dashed var(--line); padding-left: 32px; }
.fee { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; }
.fee + .fee { border-top: 1px solid var(--line-soft); }
.fee .price { font-size: 40px; flex: 0 0 auto; }
.fee span:last-child { font-size: 16px; color: var(--body); }

/* timeline ruler */
.ruler { height: 18px; border-top: 3px solid var(--brown); background: repeating-linear-gradient(90deg, var(--brown) 0 2px, transparent 2px 24px) top / 100% 10px no-repeat; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px; padding-top: 18px; }
.steps .note { font-size: 24px; }

/* FAQ */
.faq { border-top: 3px solid var(--brown); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--brown); min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: 10px 0 0; color: var(--body); }

/* contact slip on wood */
.slip-section { padding-block: 80px; }
.slip { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; background: var(--paper); border-radius: 4px; box-shadow: 0 20px 50px rgba(45, 34, 25, .35); }
.slip .side { flex: 1 1 300px; padding: 44px 40px; border-right: 2px dashed var(--line); display: flex; flex-direction: column; gap: 16px; }
.slip .main { flex: 1.6 1 440px; padding: 44px 40px; min-width: 0; }
.slip .side a { font-weight: 700; text-decoration: none; padding: 6px 0; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 2px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { border: 0; border-bottom: 2px solid #cdbca3; background: transparent; padding: 10px 0; font: 400 19px/1.4 var(--text); color: var(--ink); border-radius: 0; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #9b2c1f; font-weight: 600; margin: 0; }
.sent { padding: 40px 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sent .note { font-size: 44px; color: var(--green); line-height: 1; }

/* paper card on wood (about story, gallery cta) */
.paper { max-width: 860px; margin: 0 auto; background: var(--paper); border-radius: 4px; box-shadow: 0 20px 50px rgba(45, 34, 25, .35); padding: 56px; display: flex; flex-direction: column; gap: 18px; }

.cta-band { background: var(--green); }
.cta-band .wrap { padding-block: 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band .h-l { color: #fff; font-size: clamp(28px, 3.2vw, 36px); max-width: 700px; }
.cta-band .btn { background: var(--gold); color: var(--ink); }
.cta-band .btn:hover { background: #e7b574; color: var(--ink); }
.cta-band a.plain { color: #fff; font-family: var(--display); font-weight: 700; }

.site-footer { background: var(--ink); color: #d9cbb3; }
.site-footer .wrap { padding-block: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.site-footer p { margin: 0; font-size: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 16px; }
.site-footer a { color: #f3ead9; text-decoration: none; padding: 8px 0; }
.site-footer a.gold { color: var(--gold); font-weight: 700; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding-block: 64px; }
  .hero .photo { min-height: 320px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .slip .side, .slip .main { padding: 32px 22px; }
  .slip .side { border-right: 0; border-bottom: 2px dashed var(--line); }
  .paper { padding: 36px 24px; }
  .fees { border-left: 0; padding-left: 0; border-top: 2px dashed var(--line); }
  .receipt > div { border-right: 0; border-bottom: 2px dashed var(--line); padding-inline: 0; }
  .receipt > div:last-child { border-bottom: 0; }
  .shots.stagger .shot:nth-child(3n+2) { padding-top: 0; }
  .nav { gap: 0 18px; font-size: 14px; }
  .logo img { height: 52px; }
}
