/* Asbestos Enquiries Somerset stylesheet. Written for this site only.
   Design language "Cider": cream paper, plum, gold pill buttons, line-led cards (no boxes),
   a drawn Somerset skyline (Glastonbury Tor). Fonts: Bitter (headings) + Nunito Sans (body). */
:root {
  --paper: #fbf7ee;
  --paper-2: #f1e6dc;
  --leaf: #f3e4e9;
  --ink: #2a2018;
  --muted: #5d5246;
  --rule: #dccdc0;
  --green: #5b1a35;
  --green-2: #7e2c4f;
  --apple: #7e2c4f;
  --apple-d: #5b1a35;
  --gold: #e3a72f;
  --btn: #e3a72f;
  --btn-d: #c88a12;
  --warn: #fff1d6;
  --ph-bg: #ffe3e3;
  --ph-ink: #8a1010;
  --head: "Bitter", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { 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; font: 18px/1.65 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--apple); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img, svg { max-width: 100%; }
.shell { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 6px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.18; }
h1 { font-size: 34px; font-weight: 800; margin: 0 0 14px; }
h2 { font-size: 27px; font-weight: 700; margin: 0 0 14px; }
h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--gold); margin-top: 10px; }
.closing h2::after, .formtop h2::after, .masthead h1::after { display: none; }
h3 { font-size: 20px; font-weight: 700; margin: 22px 0 6px; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fillme { background: var(--ph-bg); color: var(--ph-ink); font-weight: 600; padding: 0 4px; border-radius: 3px; }
.note { font-size: 15px; color: var(--muted); }
.note a { color: var(--muted); }

/* identity strip */
.strip { background: var(--ink); color: #efe6d4; font-size: 15px; line-height: 1.45; padding: 9px 0; }
.strip strong { color: #fff; } .strip a { color: #fff; }

/* header: logo centred, nav as a green bar underneath */
header.top { background: var(--paper); position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--green); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 10px 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 48px; order: 1; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 46px; height: 46px; }
.logo-words { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font: 800 20px var(--head); }
.logo-sub { font: 700 12px var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--apple); margin-top: 4px; }
.logo small { display: none; }
.top-actions { order: 2; display: flex; gap: 8px; align-items: center; }
.burger { display: none; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px; border: 2px solid var(--green); border-radius: 999px; background: transparent; color: var(--green); font: 800 15px var(--body); cursor: pointer; }
.js-on .burger { display: inline-flex; }
nav.menu { order: 3; flex: 1 0 100%; margin: 10px -18px 0; background: var(--green); }
nav.menu ul { list-style: none; margin: 0 auto; padding: 0 18px; max-width: 1080px; display: flex; flex-wrap: wrap; }
nav.menu li { margin: 0; }
nav.menu a { display: flex; align-items: center; min-height: 46px; padding: 6px 14px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
nav.menu a:hover { background: var(--green-2); color: #fff; }
nav.menu a[aria-current="page"] { background: var(--paper); color: var(--green); }
@media (max-width: 1099px) {
  .js-on nav.menu { display: none; }
  .js-on nav.menu.is-open { display: block; }
  nav.menu ul { flex-direction: column; padding: 4px 18px 10px; }
  nav.menu a { border-bottom: 1px solid rgba(255,255,255,.18); }
  nav.menu a[aria-current="page"] { background: transparent; color: var(--gold); }
}

/* buttons: pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--btn); color: var(--ink); font: 800 17px var(--head); text-decoration: none; border: 2px solid var(--btn); border-radius: 999px; padding: 12px 26px; min-height: 52px; line-height: 1.2; cursor: pointer; text-align: center; }
.pill:hover { background: var(--btn-d); border-color: var(--btn-d); color: var(--ink); }
.pill.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.pill.ghost:hover { background: var(--green); color: #fff; border-color: var(--green); }
.pill.sm { padding: 6px 18px; min-height: 44px; font-size: 15px; }
.pill .icon { width: 20px; height: 20px; stroke-width: 2.2; }

/* heroes: cream paper with a drawn skyline */
.masthead { position: relative; background: var(--paper); padding: 34px 0 150px; overflow: hidden; }
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130' preserveAspectRatio='none'%3E%3Cpath d='M0 90 C120 60 220 70 340 85 C470 100 560 55 700 62 C760 40 800 60 840 78 C940 50 1010 20 1085 18 L1085 8 L1093 8 L1093 18 C1130 24 1170 55 1230 75 C1300 90 1380 70 1440 60 L1440 130 L0 130Z' fill='%23efdde4'/%3E%3Cpath d='M0 105 C150 85 260 100 400 108 C560 118 700 90 860 100 C1020 112 1180 92 1300 100 C1370 104 1410 108 1440 104 L1440 130 L0 130Z' fill='%23dcbcc9'/%3E%3Cpath d='M0 120 C200 112 420 122 640 118 C900 113 1160 123 1440 117 L1440 130 L0 130Z' fill='%23bb8aa0'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; pointer-events: none; }
.masthead > .shell { position: relative; z-index: 1; }
.masthead p.standfirst { font-size: 20px; line-height: 1.55; color: #43382c; margin: 0 0 22px; max-width: 38em; }
.masthead .acts { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mh-inner { display: block; }
.mh-art { display: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 800 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--apple); margin: 0 0 12px; }
.kicker .icon { width: 18px; height: 18px; }
.masthead-home { padding-top: 44px; }
.masthead-home h1 { font-size: 36px; max-width: 16em; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ticks li { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 700; font-size: 16px; }
.ticks .icon { color: var(--green); width: 22px; height: 22px; stroke-width: 2.6; }

/* sections */
main section { padding: 46px 0; }
main section.tint { background: var(--leaf); }
main section.sand { background: var(--paper-2); }
.sechead { max-width: 46em; margin-bottom: 24px; }
.tint .note, .sand .note { color: #4d4338; }

/* cards: line-led, not boxed */
.tiles { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 0 0 16px; }
.tile { background: transparent; border: 0; border-top: 4px solid var(--green); padding: 14px 2px 4px; }
.tile h3 { margin-top: 0; }
.tile p:last-child, .tile ul:last-child { margin-bottom: 0; }
.tile-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--apple); margin-bottom: 8px; }
.tile-ico .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.tile.offer { display: flex; flex-direction: column; }
.tile.offer p { flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; min-height: 44px; }
.more::after { content: "\2192"; }
.tile.compact { display: flex; gap: 12px; border-top: 1px solid var(--rule); padding-top: 14px; }
.tile.compact .tile-ico { margin: 0; width: 38px; }
.tile.compact .tile-ico .icon { width: 28px; height: 28px; }
.tile.compact h3 { font-size: 18px; margin-bottom: 4px; }
.tile.compact p { font-size: 17px; }

/* council picker (home) */
.councilrow { display: grid; gap: 14px; margin: 0 0 12px; }
.councilbox { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 2px solid var(--green); border-radius: 18px 18px 18px 4px; padding: 18px 20px; }
.councilbox:hover { background: var(--green); color: #fff; }
.councilbox:hover h3, .councilbox:hover p { color: #fff; }
.councilbox h3 { margin: 0 0 4px; font-size: 20px; }
.councilbox p { margin: 0; font-size: 16px; }

/* timeline steps */
.stages { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: p; }
.stages li { counter-increment: p; position: relative; margin: 0; padding: 0 0 22px 62px; }
.stages li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font: 800 20px var(--head); display: flex; align-items: center; justify-content: center; }
.stages li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--rule); }
.stages .stage-top { display: none; }
.stages strong { font-family: var(--head); font-size: 19px; }
.care { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.care li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.care .tile-ico { margin: 0; color: var(--apple); }
.caution { background: var(--warn); border-left: 6px solid var(--gold); padding: 16px 18px; margin: 14px 0; }

table.grid { width: 100%; border-collapse: collapse; font-size: 16.5px; background: transparent; }
table.grid th, table.grid td { border: 0; border-bottom: 1px solid var(--rule); padding: 11px 12px; text-align: left; vertical-align: top; }
table.grid thead th { background: var(--green); color: #fff; font: 700 16px var(--head); }
table.grid tbody th { font: 700 15px var(--head); color: var(--green); width: 9em; }
table.grid tbody tr:nth-child(even) td, table.grid tbody tr:nth-child(even) th { background: var(--paper-2); }
.tablebox { overflow-x: auto; margin: 0 0 16px; }
.tablebox table.grid { min-width: 720px; }

/* FAQ */
details { border-bottom: 1px solid var(--rule); margin: 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 2px; min-height: 56px; font: 700 18px var(--head); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 28px var(--body); color: var(--apple); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 2px 16px; }
.qa details, .qa > p { max-width: 820px; }

/* forms */
.formcard { background: #fff; border-top: 6px solid var(--apple); padding: 22px 18px; box-shadow: 0 10px 30px rgba(42,32,24,.12); }
.formtop { margin-bottom: 14px; }
.formtop h2 { margin: 0 0 4px; font-size: 25px; }
.formtop p { color: var(--muted); margin: 0; font-size: 16px; }
.fld { margin: 0 0 16px; }
.fld label { display: block; font-weight: 800; margin: 0 0 4px; }
.fld .help { display: block; font-size: 15px; color: var(--muted); margin: 0 0 6px; font-weight: 400; line-height: 1.45; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; font: 17px var(--body); padding: 12px 12px; min-height: 50px; border: 0; border-bottom: 2.5px solid var(--green); background: var(--paper-2); color: var(--ink); border-radius: 0; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px var(--gold); }
fieldset.fld legend { font-weight: 800; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: transparent; border: 2px solid var(--green); border-radius: 999px; padding: 9px 16px; min-height: 46px; cursor: pointer; margin: 0; }
.choices label:has(input:checked) { background: var(--green); color: #fff; }
.choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sendnote { font-size: 16px; margin: 4px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold); }
.formcard .pill { width: 100%; font-size: 18px; }
.formmsg { margin-top: 8px; }
.formcard.closing { background: var(--green); color: #f6e9ee; border-top: 6px solid var(--gold); padding: 30px 22px; box-shadow: none; }
.closing h2 { color: #fff; }
.closing > p { color: #f1dfe6; max-width: 44em; }
.closing .pill { width: auto; min-width: 230px; }
.closing .pill { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.closing .pill:hover { background: #fff; border-color: #fff; color: var(--green); }
.closing .note { color: #e6cfd9; }
.closing a:not(.pill) { color: #fff; }

/* two-column enquiry block (home + enquiry page) */
.duo { display: grid; gap: 30px; align-items: start; }

/* footer: dark, columns */
footer.base { background: var(--ink); color: #e3d9c6; padding: 40px 0 26px; font-size: 16px; }
footer.base a { color: #fff; }
.footlogo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #fff; text-decoration: none; }
.footlogo .logo-name { color: #fff; }
.footlogo .logo-sub { color: var(--gold); }
footer.base .whoweare { border-left: 4px solid var(--gold); padding: 6px 0 6px 16px; margin-bottom: 22px; line-height: 1.55; }
footer.base .whoweare strong { color: #fff; }
footer.base ul { list-style: none; padding: 0; margin: 0 0 16px; columns: 2; column-gap: 24px; }
footer.base li { margin: 0; break-inside: avoid; }
footer.base li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; font-weight: 700; }
footer.base li a:hover { text-decoration: underline; color: var(--gold); }
footer.base .note { color: #bdb09a; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
footer.base .fillme { color: var(--ph-ink); }

.stickycta { position: sticky; bottom: 0; background: var(--paper); border-top: 3px solid var(--green); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); z-index: 15; }
.stickycta .pill { width: 100%; }
.bare h1 { margin-top: 8px; }
.bare .shell { max-width: 820px; }
.unconfirmed { opacity: .65; font-style: italic; }

@media (min-width: 760px) {
  h1 { font-size: 42px; }
  .masthead-home h1 { font-size: 50px; }
  h2 { font-size: 31px; }
  .masthead { padding: 54px 0 170px; }
  .masthead .acts { flex-direction: row; flex-wrap: wrap; }
  main section { padding: 66px 0; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 30px; }
  .tiles.trio, .tiles.sextet { grid-template-columns: 1fr 1fr 1fr; }
  .councilrow { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stages li { padding: 62px 0 0; }
  .stages li:not(:last-child)::after { left: 54px; right: -20px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .care { grid-template-columns: 1fr 1fr; gap: 0 36px; }
  .formcard { padding: 30px 30px; }
  .duo { grid-template-columns: 5fr 7fr; gap: 50px; }
  .formcard.closing { padding: 40px 44px; }
  .stickycta { display: none; }
  footer.base ul { columns: 3; }
}
@media (min-width: 1100px) {
  .burger, .js-on .burger { display: none; }
  .topbar { flex-wrap: wrap; justify-content: center; position: relative; }
  .logo { order: 1; margin: 0 auto; }
  .top-actions { position: absolute; right: 18px; top: 14px; }
  nav.menu ul { justify-content: center; }
}
@media (max-width: 479px) { .top-actions .pill.sm { display: none; } }

/* ---- 16 Oct 2026: layout differences from the Plymouth site ---- */
/* inner pages: contents rail on the left, text on the right */
.layout { display: grid; gap: 22px; padding-top: 34px; padding-bottom: 20px; }
.pagemap { font-size: 16px; }
.pagemap strong { display: block; font: 800 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--apple); margin-bottom: 8px; }
.pagemap ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.pagemap li { margin: 0; }
.pagemap a { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--green); background: #fff; }
.pagemap a:hover { border-color: var(--green); }
.story > h2 { margin-top: 36px; scroll-margin-top: 150px; }
.story > h2:first-child { margin-top: 0; }
.story > ul, .story > ol, .story > p, .story > .tiles, .story > .tablebox, .story > .caution, .story > h3 { max-width: 46em; }
.story > .tablebox, .story > .tiles { max-width: none; }
.story .tiles { grid-template-columns: 1fr; }
/* service rows on the home page */
.offers { list-style: none; padding: 0; margin: 0 0 14px; counter-reset: s; }
.offers li { counter-increment: s; display: grid; gap: 4px; padding: 20px 0; margin: 0; border-top: 2px solid var(--green); }
.offers li::before { content: "0" counter(s); font: 800 34px var(--head); color: var(--gold); line-height: 1; }
.offers h3 { margin: 0; font-size: 22px; }
.offers p { margin: 0 0 6px; max-width: 44em; }
/* footer in three groups */
.footcols { display: grid; gap: 22px; margin-bottom: 18px; }
.footcols h4 { margin: 0 0 8px; font: 800 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.footcols ul { columns: 1; margin: 0; }
@media (min-width: 900px) {
  .layout { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 50px; }
  .pagemap { position: sticky; top: 150px; align-self: start; }
  .pagemap ol { display: block; }
  .pagemap li { margin-bottom: 4px; }
  .pagemap a { display: block; border: 0; border-left: 4px solid var(--rule); border-radius: 0; background: transparent; padding: 7px 12px; }
  .pagemap a:hover { border-left-color: var(--gold); background: var(--paper-2); }
  .story .tiles { grid-template-columns: 1fr 1fr; }
  .offers li { grid-template-columns: 90px 1fr 1.6fr; align-items: baseline; gap: 20px; }
  .offers p { grid-column: 3; }
  .offers h3 { grid-column: 2; grid-row: 1; }
  .offers li::before { grid-row: 1; }
  .offers .more { grid-column: 2; }
  .footcols { grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 36px; }
}
/* steps stay vertical inside the two-column enquiry block */
.duo .stages { display: block; }
.duo .stages li { padding: 0 0 22px 62px; }
.duo .stages li:not(:last-child)::after { left: 21px; right: auto; top: 48px; bottom: 4px; width: 2px; height: auto; }
.layout.single { grid-template-columns: 1fr !important; }
.layout > *, .duo > *, .story { min-width: 0; }

.pagemapto { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.pagemapto:focus { left: 8px; top: 8px; }
.sechead { max-width: 46em; margin-bottom: 20px; }

/* 16 Oct: no top strip; honesty line sits under the masthead; the call to action lives in the nav bar */
.aside-note { margin-top: 18px; }
.menu-cta { margin-left: auto; }
.menu-cta a { background: var(--gold); color: var(--ink); font-weight: 800; gap: 8px; }
.menu-cta a:hover { background: var(--btn-d); color: var(--ink); }
.menu-cta .icon { width: 18px; height: 18px; stroke-width: 2.4; }
@media (max-width: 1099px) { .menu-cta { margin-left: 0; } .menu-cta a { background: var(--gold); color: var(--ink); margin-top: 8px; border-radius: 999px; justify-content: center; } }
@media (min-width: 1100px) { .top-actions { display: none; } }
