/* Benji's Handyman and Decking: "Jarrah & Eucalyptus" palette. */
@font-face { font-family: "Hepta Slab"; src: url("../fonts/hepta-slab.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --j0: #1c0a07;
  --j1: #2d120c;
  --j2: #43190f;
  --j3: #5e2617;
  --jline: #6f3423;
  --euc: #8fd1b4;
  --euc-hi: #a9e0c7;
  --euc-d: #2f7d62;
  --euc-soft: #e3f3eb;
  --oil: #f0b45a;
  --linen: #f7f0e5;
  --linen-2: #eee3d2;
  --card: #fffaf3;
  --ink: #2a140e;
  --ink-2: #4d3229;
  --muted: #7a6158;
  --line: #e3d4c1;
  --err: #b3261e;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(45, 18, 12, .45);
  --head: "Hepta Slab", Georgia, serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--linen); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--euc); color: var(--j1); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.tbc { display: inline-block; font-family: var(--body); font-size: .78em; font-weight: 700; letter-spacing: .02em; color: #8a4b00; background: #fde9c6; border-radius: 6px; padding: 0 .4em; vertical-align: .08em; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--euc-d); margin-bottom: .9em; display: inline-flex; align-items: center; gap: .55em; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
:focus-visible { outline: 3px solid var(--oil); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 1rem/1 var(--body); padding: .95em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-lg { font-size: 1.05rem; padding: 1.05em 1.6em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--euc); color: var(--j1); box-shadow: 0 10px 24px -12px rgba(143, 209, 180, .9); }
.btn-primary:hover { background: var(--euc-hi); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--linen); border-color: rgba(247, 240, 229, .35); }
.btn-ghost:hover { border-color: var(--euc); color: var(--euc); }

/* call pill: header + floating share one style */
.call-pill { display: inline-flex; align-items: center; gap: .5em; background: var(--euc); color: var(--j1); font: 800 .95rem/1 var(--body); text-decoration: none; padding: .78em 1.15em; border-radius: 999px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55), inset 0 -3px 0 rgba(47, 125, 98, .35); transition: transform .2s, background .2s; }
.call-pill svg { width: 1.1em; height: 1.1em; }
.call-pill:hover { background: var(--euc-hi); transform: translateY(-2px); }
.call-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; font-size: 1.02rem; padding: .95em 1.3em; opacity: 0; transform: translateY(18px) scale(.96); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.call-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.call-float.is-visible:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .call-float, .call-pill { transition: opacity .2s; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(28, 10, 7, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--linen); border-bottom: 1px solid rgba(143, 209, 180, .12); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--linen); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--j3); color: var(--euc); display: grid; place-items: center; }
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--head); font-size: 1.35rem; font-weight: 800; }
.brand-text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--euc); font-weight: 700; margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(247, 240, 229, .82); }
.nav a:hover { color: var(--euc); }
.header-call { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; font-weight: 800; font-size: 1.05rem; line-height: 1.1; text-align: right; }
.header-phone small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 240, 229, .6); font-weight: 700; }
@media (max-width: 1020px) { .nav { display: none; } .header-call { margin-left: auto; } }
@media (max-width: 560px) {
  .header-phone small { display: none; }
  .header-phone { font-size: .92rem; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .1em; }
  .brand-mark { width: 36px; height: 36px; }
  .call-pill--header { padding: .7em .85em; font-size: .85rem; }
  .header-inner { gap: 10px; min-height: 64px; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .header-phone { font-size: .84rem; }
  .call-pill--header { padding: .65em .75em; font-size: .8rem; }
}
@media (max-width: 340px) { .header-phone { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--linen); background:
  radial-gradient(1000px 600px at 74% 52%, rgba(110, 52, 35, .9), transparent 70%),
  radial-gradient(700px 420px at 90% 10%, rgba(143, 209, 180, .14), transparent 70%),
  linear-gradient(160deg, var(--j1), var(--j0) 70%); min-height: min(860px, calc(100vh - 74px)); display: flex; align-items: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, rgba(28, 10, 7, .55)); pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; padding: 72px 0 88px; }
.hero-copy { max-width: 540px; }
.hero .kicker { color: var(--euc); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--euc); box-shadow: 0 0 0 5px rgba(143, 209, 180, .18); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
.hero h1 .hl { display: block; color: var(--euc); font-weight: 600; font-size: .72em; margin-top: .25em; }
.hero .lede { color: rgba(247, 240, 229, .84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { font-size: .88rem; padding: .45em .9em; border-radius: 999px; background: rgba(247, 240, 229, .07); border: 1px solid rgba(247, 240, 229, .14); color: rgba(247, 240, 229, .88); }
.hero-chips b { color: var(--oil); margin-right: .3em; }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero-inner { padding: 34px 0 0; }
  .hero h1 { font-size: 2.15rem; }
  .hero .lede { font-size: 1rem; }
  .hero-actions { margin: 20px 0 16px; }
  .hero-canvas { position: relative; inset: auto; height: 300px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card { grid-column: span 3; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s; }
.card--wide { grid-column: span 6; }
.card:hover { transform: translateY(-4px); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen-2); }
.card--wide .card-media { aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; }
.card-body p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--j3); background: var(--euc-soft); padding: .3em .7em; border-radius: 6px; margin-bottom: 12px; }
@media (max-width: 1100px) { .card { grid-column: span 6; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card, .card--wide { grid-column: span 1; } }

.section-steps { background: var(--j1); color: var(--linen); padding: 70px 0; }
.steps-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { padding: 24px; border-radius: var(--radius); background: rgba(247, 240, 229, .05); border: 1px solid rgba(247, 240, 229, .1); }
.steps h3 { color: var(--linen); font-size: 1.08rem; }
.steps p { color: rgba(247, 240, 229, .72); margin: 0; font-size: .95rem; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--euc); color: var(--j1); font-family: var(--head); font-weight: 800; margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.photo-tag { position: absolute; left: 14px; bottom: 14px; font-size: .74rem; font-weight: 700; background: rgba(28, 10, 7, .78); color: var(--linen); padding: .45em .8em; border-radius: 8px; }
.about-copy p { color: var(--ink-2); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.about-facts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.about-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--euc-d); }
.about-facts dd { margin: 4px 0 0; font-weight: 600; font-size: .98rem; }
.about-facts a { text-decoration: none; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .about-facts { grid-template-columns: 1fr; } }

.section-area { background: var(--linen-2); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.area-list { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: .5em 1em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .94rem; }
.area-list li.is-base { background: var(--j2); color: var(--euc); border-color: var(--j2); }
.small-note { font-size: .92rem; color: var(--muted); }
.area-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.area-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

.sample-flag { display: inline-flex; gap: .7em; align-items: baseline; flex-wrap: wrap; font-size: .95rem; color: var(--ink-2); background: #fde9c6; border-radius: 12px; padding: .7em 1em; }
.sample-flag b { color: #8a4b00; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { margin: 0; background: var(--card); border: 1px dashed #d6b98f; border-radius: var(--radius); padding: 26px; }
.stars { color: var(--oil); letter-spacing: .15em; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 14px; font-family: var(--head); font-size: 1.08rem; color: var(--ink); }
.review-card figcaption { font-size: .9rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- quote (fits one screen) ---------- */
.section-quote { background: linear-gradient(150deg, var(--j1), var(--j0)); color: var(--linen); padding: 44px 0; min-height: calc(100vh - 74px); display: flex; align-items: center; }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote-intro .kicker { color: var(--euc); }
.quote-intro .lede { color: rgba(247, 240, 229, .8); }
.quote-call { display: inline-flex; align-items: center; gap: 14px; margin: 10px 0 18px; text-decoration: none; font-family: var(--head); font-size: 1.6rem; font-weight: 800; }
.quote-call small { display: block; font-family: var(--body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--euc); font-weight: 700; }
.quote-call-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--euc); color: var(--j1); display: grid; place-items: center; }
.quote-call-icon svg { width: 24px; height: 24px; }
.quote-addr { color: rgba(247, 240, 229, .66); font-size: .95rem; }
.quote-form { background: var(--card); color: var(--ink); border-radius: 22px; padding: 24px 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); border-top: 5px solid var(--euc); }
.field { display: flex; flex-direction: column; margin-bottom: 10px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-weight: 700; font-size: .86rem; margin-bottom: 4px; }
.req { color: var(--err); }
.optional { font-weight: 500; color: var(--muted); font-size: .86em; }
.field input, .field select, .field textarea { font: inherit; font-size: .98rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: .6em .8em; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--euc-d); box-shadow: 0 0 0 3px rgba(143, 209, 180, .45); }
.hint { font-size: .76rem; color: var(--muted); margin: 3px 0 0; }
.error { font-size: .8rem; color: var(--err); margin: 3px 0 0; font-weight: 600; min-height: 0; }
.error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.has-error .hint { display: none; }
.form-note { font-size: .8rem; color: var(--muted); margin: 2px 0 12px; }
.form-status { margin: 12px 0 0; padding: .8em 1em; border-radius: 12px; background: var(--euc-soft); color: var(--j2); font-weight: 600; font-size: .92rem; border: 1px solid var(--euc); }
.quote-form .btn-primary { box-shadow: 0 12px 24px -14px rgba(47, 125, 98, .9); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .section-quote { min-height: 0; } }
@media (max-width: 520px) { .field-row { gap: 10px; } .quote-form { padding: 18px 16px; } .quote-call { font-size: 1.35rem; } .field { margin-bottom: 8px; } .field input, .field select, .field textarea { font-size: 16px; padding: .55em .65em; } .field textarea { min-height: 70px; } .hint { display: none; } }
@media (max-width: 359px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.site-footer { background: var(--j0); color: rgba(247, 240, 229, .78); padding: 56px 0 96px; border-top: 1px solid rgba(143, 209, 180, .14); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.footer-tag { margin-top: 14px; max-width: 36ch; }
.footer-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin: 0; }
.footer-contact dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--euc); }
.footer-contact dd { margin: 4px 0 0; color: var(--linen); }
.footer-contact a { text-decoration: none; font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(247, 240, 229, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
