/* Kettle & Coil Electrical (demo) · Kiwi Site Lab
   Hi-vis yellow and asphalt, condensed industrial headings. The one loud thing is the suburb checker. */

/* Width-matched fallbacks for Big Shoulders, so headings don't re-wrap (layout shift) when the web font loads */
@font-face { font-family: "Shoulders Fallback"; src: local("Impact"); size-adjust: 88%; }
@font-face { font-family: "Shoulders Fallback Arial"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"); font-weight: 600 900; size-adjust: 65%; }

:root {
  --yellow: #FFD60A;
  --yellow-dark: #E8C000;
  --asphalt: #1D1F1E;
  --asphalt-2: #2A2D2B;
  --concrete: #F2F2EF;
  --steel: #5A605D;
  --rule: #DADBD6;
  --ok: #1E7A3E;
  --head: "Big Shoulders Display", "Shoulders Fallback", "Shoulders Fallback Arial", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--asphalt); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul, dl, dd, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--asphalt); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--asphalt); outline-offset: 3px; }
h1, h2 { font-family: var(--head); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(2.4rem, 7vw, 3.75rem); margin-bottom: 14px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.lede { color: var(--steel); margin-bottom: 32px; max-width: 56ch; }
.small { font-size: .9375rem; color: var(--steel); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 16px; background: var(--yellow); color: var(--asphalt); }
.skip-link:focus { top: 16px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--asphalt); color: #fff; border: 2px solid var(--asphalt); border-radius: 4px; font: 600 1.0625rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.button:hover { background: #000; color: #fff; }
.button-ghost { background: transparent; color: var(--asphalt); }
.button-ghost:hover { background: var(--asphalt); color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--asphalt); color: #fff; }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: #fff; text-decoration: none; font: 800 1.5rem/1 var(--head); text-transform: uppercase; }
.brand svg { width: 34px; height: 34px; }
.brand small { font-size: .7em; color: var(--yellow); }
.top-links { display: flex; align-items: center; gap: 22px; }
.top-links a { color: #fff; text-decoration: none; font-weight: 500; }
.top-links a:not(.quote-link) { display: none; }
.top-links a:hover { text-decoration: underline; }
@media (max-width: 420px) { .brand small { display: none; } }
.quote-link { white-space: nowrap; padding: 9px 16px; background: var(--yellow); color: var(--asphalt) !important; border-radius: 4px; font-weight: 600 !important; }
.quote-link:hover { background: var(--yellow-dark); text-decoration: none !important; }
@media (min-width: 760px) { .top-links a:not(.quote-link) { display: inline; } }

/* Hero: yellow panel + photo */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--yellow); }
.hero-text { padding: 40px var(--gutter) 40px; }
.hero h1 { font-size: clamp(3.25rem, 13vw, 6rem); max-width: 10ch; margin-bottom: 18px; }
.hero-text > p { max-width: 42ch; margin-bottom: 24px; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { padding: 6px 12px; border: 2px solid var(--asphalt); border-radius: 4px; font-size: .9375rem; font-weight: 600; }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: 8 / 7; object-fit: cover; }
.demo-strip { padding: 10px var(--gutter); background: var(--asphalt); color: #C9CCCA; font-size: .875rem; text-align: center; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-text { align-self: center; padding: 64px 48px 64px max(var(--gutter), calc((100vw - 1160px) / 2 + var(--gutter))); }
  .hero-photo img { aspect-ratio: auto; min-height: 600px; }
}

/* Suburb checker */
.area { background: var(--asphalt); color: #fff; }
.area p { color: #D4D7D5; }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.checker label { display: block; margin-bottom: 8px; font-weight: 600; color: #fff; }
.checker-row { display: flex; gap: 8px; }
.checker input { flex: 1; min-width: 0; min-height: 60px; padding: 0 16px; border: 3px solid var(--yellow); border-radius: 4px; background: #fff; color: var(--asphalt); font: 500 1.25rem var(--body); }
.checker input:focus { outline: 3px solid #fff; outline-offset: 2px; }
.checker .button { min-height: 60px; background: var(--yellow); border-color: var(--yellow); color: var(--asphalt); }
.checker .button:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.checker-result { min-height: 3em; margin-top: 16px; font-size: 1.125rem; color: #fff !important; }
.checker-result strong { color: var(--yellow); }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; } }

/* Prices */
.prices { background: var(--concrete); }
.price-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.rate { padding: 24px; background: var(--yellow); border-radius: 4px; }
.rate-big { font: 800 3.5rem/1 var(--head); }
.rate-big span { font-size: .5em; }
.rate p:not(.rate-big) { margin: 4px 0 18px; font-weight: 500; }
.rate p:last-child { margin-bottom: 0; }
.jobs > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.jobs > div:first-child { border-top: 2px solid var(--asphalt); }
.jobs dt { font-weight: 500; }
.jobs dd { font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .price-list { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; } .rate { padding: 32px; } }

/* Recent jobs */
.job-grid { display: grid; gap: 24px; }
.job-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.job-grid p { color: var(--steel); font-size: .9375rem; }
.job-grid strong { display: block; color: var(--asphalt); font-size: 1.0625rem; }
@media (min-width: 640px) { .job-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .job-grid { grid-template-columns: repeat(3, 1fr); } .job-grid li:first-child { grid-column: span 2; grid-row: span 2; } .job-grid li:first-child img { aspect-ratio: auto; height: calc(100% - 60px); } }

/* Reviews */
.reviews { border-top: 1px solid var(--rule); }
.quotes { display: grid; gap: 24px; }
.quotes blockquote { padding: 20px 22px; border-left: 6px solid var(--yellow); background: var(--concrete); }
.quotes p { font-size: 1.125rem; margin-bottom: 8px; }
.quotes footer { color: var(--steel); font-size: .9375rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Quote form */
.quote { background: var(--yellow); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.quote-grid > div p { max-width: 40ch; margin-bottom: 12px; }
.quote .small { color: #3B3A2C; }
.quote-form { display: grid; gap: 18px; padding: 24px 20px; background: #fff; border-radius: 4px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font: 800 1.5rem/1 var(--head); text-transform: uppercase; }
.job-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.job-types label { position: relative; cursor: pointer; }
.job-types input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.job-types span { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border: 2px solid var(--rule); border-radius: 4px; font-weight: 600; }
.job-types input:checked + span { border-color: var(--asphalt); background: var(--yellow); }
.job-types input:focus-visible + span { outline: 3px solid var(--asphalt); outline-offset: 2px; }
.field-row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 10px 12px; border: 2px solid #A9ADAA; border-radius: 4px; font: 400 1.0625rem var(--body); color: var(--asphalt); background: #fff; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--asphalt); }
.quote-form .button { justify-self: start; }
.form-error { min-height: 1.4em; margin-bottom: -8px; color: #A11B12; font-weight: 600; }
.form-done { padding: 14px 16px; border-left: 6px solid var(--ok); background: #EAF4ED; }
@media (min-width: 640px) { .job-types { grid-template-columns: repeat(3, 1fr); } .field-row { grid-template-columns: repeat(3, 1fr); } .quote-form { padding: 32px; } }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 1fr 1.5fr; gap: 56px; } }

/* Footer */
.foot { padding: 36px 0 96px; background: var(--asphalt); color: #C9CCCA; font-size: .9375rem; }
.foot a { color: var(--yellow); }
.foot strong { color: #fff; }
.foot-inner { display: grid; gap: 8px; }
.credits { font-size: .875rem; }
@media (min-width: 900px) { .foot { padding-bottom: 36px; } }

/* Sticky quote button on phones */
.sticky { position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9; background: var(--yellow); border-color: var(--yellow); color: var(--asphalt); box-shadow: 0 8px 24px rgba(0,0,0,.3); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.sticky:hover { background: var(--yellow-dark); color: var(--asphalt); }
.sticky.is-visible { visibility: visible; opacity: 1; }
@media (min-width: 900px) { .sticky { display: none; } }
