/* Mornington Plasterers. One 1100px column. Dark hero band, alternating plaster-white bands,
   hi-vis yellow for every call and enquiry action, flat tiles with a teal top rule. */
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #f4f5f3;
  --surface: #ffffff;
  --ink: #1c262e;
  --muted: #55626c;
  --line: #d6dadd;
  --bay: #0d5c6b;
  --bay-soft: #e2eef0;
  --hivis: #ffc72c;
  --hivis-dark: #e8ad00;
  --display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--bay); }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 68ch; }
.wrap.prose { max-width: 1100px; }
.wrap.prose > * { max-width: 68ch; }
.intro { max-width: 68ch; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { position: relative; display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.brand-main { font: 700 1.6rem/1 var(--display); }
.brand-sub { font: 700 .75rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--bay); }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a, .nav summary { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer; border-radius: 4px; }
.nav a:hover, .nav summary:hover { background: var(--bay-soft); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: " \25BE"; font-size: .8em; }
.nav details ul { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.menu-btn { display: none; font: 700 1rem var(--body); padding: 10px 14px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 4px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 4px; font: 700 1.05rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-call { background: var(--hivis); color: var(--ink); }
.btn-call:hover { background: var(--hivis-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-stack { flex-direction: column; padding: 8px 18px; line-height: 1.2; }
.btn-stack .sub { font-size: .78rem; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
dialog { border: 0; border-radius: 6px; padding: 24px; max-width: 420px; width: calc(100% - 32px); color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .55); }
dialog h2 { font-size: 1.6rem; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 44px 0; }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero a { color: #fff; }
.hero .btn-call { color: var(--ink); }
.eyebrow { color: var(--hivis); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: #d8e0e4; }
.ticks { list-style: none; padding: 0; display: grid; gap: 6px; margin: 0; }
.ticks li::before { content: "\2713"; color: var(--hivis); font-weight: 700; margin-right: 10px; }
.crumbs { font-size: .9rem; color: #b6c2c9; margin-bottom: 12px; }
.crumbs a { color: #d8e0e4; }
.hero-card { background: var(--surface); color: var(--ink); border-radius: 6px; padding: 26px; border-top: 6px solid var(--hivis); }
.hero-card .card-title { font: 700 1.25rem var(--display); margin: 0 0 .3em; }
.hero-card .big { font: 700 2.2rem/1.1 var(--display); margin: 0; }
.hero-card .big a { color: var(--ink); text-decoration: none; }
.hero-card .btn { width: 100%; margin-top: 10px; }
.hero-card .btn-ghost { border-color: var(--bay); color: var(--bay); }
.hero-card .btn-ghost:hover { background: var(--bay-soft); }
.hero-card small { display: block; margin-top: 12px; color: var(--muted); }

/* Lead generator notice (in the page body on every page) */
.leadgen { background: var(--bay-soft); border-bottom: 1px solid var(--line); padding: 12px 0; font-size: .98rem; }
.leadgen p { margin: 0; }

/* Bands and content blocks */
.band { padding: 52px 0; }
.band.alt { background: var(--surface); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--bay); padding: 18px; }
.alt .tile { background: var(--paper); }
.tile .ico { width: 30px; height: 30px; fill: none; stroke: var(--bay); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; display: block; }
.tile h3 { font-size: 1.25rem; margin-bottom: .35em; }
.tile h3 a { color: var(--ink); text-decoration-color: var(--bay); text-underline-offset: 3px; }
.tile p { margin: 0; color: var(--muted); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); padding: 18px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--hivis); font: 700 1.15rem var(--display); margin-bottom: 10px; }
.steps p { margin: 0; }
.also { margin-top: 1.5em; color: var(--muted); }
.also a { margin-right: 4px; }
.faq details { background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; padding: 0 16px; }
.faq summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 0; }
.legal-stub { background: var(--surface); border: 2px dashed var(--muted); padding: 14px 16px; margin: 0 0 1.5em; color: var(--muted); }

/* Enquiry form */
.quote { background: var(--bay); color: #fff; padding: 52px 0; }
.quote-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.quote-call a { color: #fff; font-weight: 700; }
.form { background: var(--surface); color: var(--ink); padding: 24px; border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 4px; align-content: start; }
.full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid #94a0a8; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { background: var(--ink); color: #cfd8dd; padding: 44px 0 28px; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot h2 { font-size: 1.15rem; color: #fff; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.foot a[href^="tel:"], .quote-call a { white-space: nowrap; }
.foot-brand { font: 700 1.4rem var(--display); color: #fff; margin-bottom: .3em; }
.disclose { border-top: 1px solid #3a4650; margin-top: 24px; padding-top: 18px; font-size: .92rem; }
.callbar { display: none; }

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .top .btn-call { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; max-height: 80vh; overflow-y: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav details ul { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .hero-in, .quote-in, .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .callbar { display: grid; grid-template-columns: 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .callbar a { padding: 10px 8px; text-align: center; font-weight: 700; text-decoration: none; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
  .callbar .sub { font-size: .72rem; font-weight: 600; }
  .callbar .c1 { background: var(--hivis); color: var(--ink); }
  .callbar .c2 { background: var(--ink); color: #fff; }
  body { padding-bottom: 62px; }
}
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
