/* Daniel Gordon, Handyman – Taree. Self-hosted Barlow (SIL OFL 1.1). */
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --river: #123C4A;   /* Manning River blue: text, headings, trust */
  --deep: #0C2A35;    /* footer, text on hi-vis */
  --hivis: #FF8A1F;   /* hi-vis orange: calls to action only */
  --paper: #EEF2F1;   /* cool concrete grey background */
  --white: #FFFFFF;
  --muted: #4A6470;   /* secondary text */
  --rule: #C9D4D3;
  --sign: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --measure: 66ch;
  --wrap: 72rem;
  --chevron: repeating-linear-gradient(135deg, var(--hivis) 0 16px, var(--river) 16px 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--river);
  font: 400 1.125rem/1.6 var(--body);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--river); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose p, .prose ul { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--sign); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Skip link and test notice */
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--hivis); color: var(--deep); padding: .6rem 1rem; font-weight: 600; z-index: 20; }
.skip:focus { top: .5rem; }
.test-notice { background: var(--deep); color: var(--paper); font-size: .95rem; padding: .45rem 0; text-align: center; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; flex-wrap: wrap; }
.brand { text-decoration: none; display: grid; line-height: 1; margin-right: auto; }
.brand-name { font: 700 1.9rem/1 var(--sign); }
.brand-trade { font: 600 1.05rem/1.2 var(--sign); color: var(--muted); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--hivis); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.3rem/1 var(--sign); letter-spacing: .01em; text-decoration: none;
  padding: .85rem 1.35rem; border-radius: 6px; border: 2px solid var(--river); color: var(--river); background: var(--white); cursor: pointer; }
.btn svg { width: 1.2em; height: 1.2em; }
.btn-hivis { background: var(--hivis); border-color: var(--hivis); color: var(--deep); }
.btn-hivis:hover { background: #ff9a3c; }
.btn:hover { text-decoration: none; box-shadow: inset 0 -3px 0 rgba(12,42,53,.25); }
.header-call { padding: .6rem 1rem; font-size: 1.2rem; }

/* Hero: laid out like ute signwriting */
.hero { background: var(--white); position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero-sign { display: grid; gap: .25rem; }
.hero h1 { margin: 0; display: grid; gap: .3rem; }
.hero h1 .name { font-size: clamp(3.2rem, 9vw, 6.25rem); line-height: .92; }
.hero h1 .trade { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 600; color: var(--muted); }
.hero-phone { display: inline-block; font: 700 clamp(3.4rem, 11vw, 8.5rem)/1 var(--sign); text-decoration: none; letter-spacing: .01em;
  margin: 1.25rem 0 1.5rem; color: var(--river); }
.hero-phone:hover { color: var(--deep); text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 6px; text-underline-offset: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 0; margin: 0 0 2.5rem; color: var(--muted); font-weight: 500; }
.hero-facts strong { color: var(--river); font-weight: 600; }
.chevron { height: 22px; background: var(--chevron); }
.hero .chevron { animation: chevron-in 1.1s ease-out both; }
@keyframes chevron-in { from { background-position: -320px 0; clip-path: inset(0 100% 0 0); } to { background-position: 0 0; clip-path: inset(0 0 0 0); } }

/* Page headers (inner pages) */
.page-head { background: var(--white); padding-block: 2.5rem 2rem; border-bottom: 1px solid var(--rule); }
.page-head p.lead { font-size: 1.3rem; color: var(--muted); max-width: var(--measure); margin: 0; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: .75rem; }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-white { background: var(--white); }
.section-river { background: var(--river); color: var(--white); }
.section-river a { color: var(--white); }
.section-intro { max-width: var(--measure); color: var(--muted); font-size: 1.2rem; }
.section-river .section-intro { color: #D6E2E3; }

/* Services list */
.services { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); border-top: 2px solid var(--river); }
.services li { border-bottom: 1px solid var(--rule); }
.services a { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; padding: 1.4rem .5rem 1.4rem 0; text-decoration: none; height: 100%; }
.services a:hover h3 { text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.services svg { width: 3rem; height: 3rem; color: var(--river); grid-row: span 2; }
.services h3 { margin: .15rem 0 .25rem; }
.services p { margin: 0; color: var(--muted); }
@media (min-width: 44rem) { .services li:nth-child(odd) a { padding-right: 2rem; } }

/* Steps (a real sequence) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.steps li { counter-increment: step; border-top: 4px solid var(--hivis); padding-top: 1rem; }
.steps li::before { content: counter(step); font: 700 3rem/1 var(--sign); display: block; margin-bottom: .4rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { color: #D6E2E3; margin: 0; }

/* Price */
.price-block { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: start; }
.price { font: 700 clamp(4.5rem, 12vw, 7rem)/.9 var(--sign); margin: 0; }
.price small { font-size: .35em; font-weight: 600; color: var(--muted); display: block; margin-top: .4rem; }

/* Reviews */
.reviews { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin: 2rem 0 1rem; }
.review { margin: 0; background: var(--white); border-left: 6px solid var(--hivis); padding: 1.25rem 1.4rem; }
.review blockquote { margin: 0 0 .8rem; font-size: 1.25rem; line-height: 1.45; }
.review figcaption { color: var(--muted); font-size: 1rem; }
.stars { color: var(--hivis); letter-spacing: .1em; font-size: 1.1rem; }
.stars-text { color: var(--river); }

/* Areas */
.areas { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2rem; }
.areas h3 { border-bottom: 2px solid var(--river); padding-bottom: .3rem; }
.areas ul { list-style: none; padding: 0; margin: 0; }
.areas li { padding: .25rem 0; }

/* Not-done box */
.limits { background: var(--white); border: 2px solid var(--river); padding: 1.5rem 1.75rem; max-width: var(--measure); }
.limits h2 { font-size: 2rem; }
.limits ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* Service detail pages */
.two-col { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 60rem) { .two-col { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding: .4rem 0 .4rem 2rem; position: relative; border-bottom: 1px solid var(--rule); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .9rem; height: .5rem; border-left: 3px solid var(--river); border-bottom: 3px solid var(--river); transform: rotate(-45deg); }
.checklist.no li::before { width: .9rem; height: 3px; border: 0; background: var(--muted); transform: none; top: 1.15rem; }
.aside-card { background: var(--white); padding: 1.5rem; border-top: 6px solid var(--hivis); position: sticky; top: 1rem; }
.aside-card .phone-big { font: 700 2.6rem/1 var(--sign); text-decoration: none; display: block; margin: .5rem 0 1rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }
.faq details { border-bottom: 1px solid var(--rule); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.2rem; }
.faq details p { margin: .6rem 0 0; }
.related { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; list-style: none; }

/* Draft notes for things Daniel must confirm */
.draft-note { background: #FFF3E6; border: 2px dashed var(--hivis); padding: 1rem 1.25rem; margin: 1.5rem 0; max-width: var(--measure); font-size: 1rem; }

/* Quote form */
.form { display: grid; gap: 1.1rem; max-width: 36rem; }
.form label { font-weight: 600; display: block; margin-bottom: .3rem; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .95rem; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--river); padding: .75rem .85rem; border: 2px solid #8FA5AA; border-radius: 6px; background: var(--white); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--river); outline: 3px solid var(--hivis); outline-offset: 1px; }
.form textarea { min-height: 9rem; resize: vertical; }
.form-status { font-weight: 600; min-height: 1.6em; }

/* CTA band */
.cta-band { background: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; }
.cta-band h2 { margin: 0; }

/* Footer */
.site-footer { background: var(--deep); color: var(--paper); padding-block: 2.5rem 6rem; font-size: 1rem; }
.site-footer a { color: var(--paper); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-footer h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .15rem 0; }
.footer-legal { border-top: 1px solid #2B4A55; margin-top: 2rem; padding-top: 1rem; color: #B9C9CC; }

/* Mobile call/text bar */
.mobile-bar { position: fixed; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 10; border-top: 3px solid var(--deep); }
.mobile-bar a { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: .95rem .5rem; font: 700 1.35rem/1 var(--sign); text-decoration: none; }
.mobile-bar .call { background: var(--hivis); color: var(--deep); }
.mobile-bar .text { background: var(--river); color: var(--white); }
.mobile-bar svg { width: 1.3em; height: 1.3em; }
@media (min-width: 48rem) { .mobile-bar { display: none; } .site-footer { padding-bottom: 2.5rem; } }
@media (max-width: 47.99rem) { .header-call { display: none; } .nav ul { gap: .25rem 1rem; font-size: 1.05rem; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .mobile-bar, .test-notice, .nav, .header-call { display: none; } }
