/* Sunstate Containers — editorial stylesheet (04/10/2026) */
:root {
  --ink: #0a1b30;
  --text: #2b3645;
  --soft: #5c6b7e;
  --sky: #346ec9;
  --sky-dark: #24509b;
  --rose: #cc3366;
  --page: #fbfaf7;
  --tint: #eef3fa;
  --rule: #cfd9e8;
  --white: #ffffff;
  --measure: 70ch;
  --frame: 1180px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
body { background: var(--page); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rose); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
p + p, p + ul, ul + p, ol + p { margin-top: 0.9em; }
ul, ol { padding-left: 1.2em; }

.col { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .col { padding-inline: 28px; } }
.narrow { max-width: calc(var(--measure) + 56px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

.kicker { font: 700 0.76rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.18em; color: var(--rose); margin-bottom: 14px; }
.standfirst { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--text); max-width: 42em; margin-top: 16px; }
.fine { font-size: 0.86rem; color: var(--soft); margin-top: 18px; }
.grade-note { margin-top: 14px; padding: 12px 16px; background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--rose); font-size: 0.92rem; }

/* buttons: squared, ruled */
.btn { display: inline-block; font: 700 0.98rem/1 var(--sans); padding: 15px 22px; border: 2px solid var(--ink); text-decoration: none; cursor: pointer; text-align: center; }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--sky-dark); border-color: var(--sky-dark); color: var(--white); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--white); }
.lead-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* phone line + masthead */
.phoneline { background: var(--ink); color: #dbe5f4; font-size: 0.84rem; }
.phoneline .col { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; }
.phoneline a { color: var(--white); font-weight: 700; text-decoration: none; }
.masthead { background: var(--page); border-bottom: 1px solid var(--rule); }
.masthead > .col { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-block: 16px; }
.wordmark svg { width: 210px; height: auto; }
.standfirst-mini { font-family: var(--serif); font-style: italic; color: var(--soft); font-size: 1rem; text-align: center; }
.mh-call a { display: block; text-align: right; font: 800 1.35rem/1.1 var(--sans); color: var(--ink); text-decoration: none; }
.mh-call small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.navtoggle { display: none; font: 700 0.9rem var(--sans); background: none; border: 2px solid var(--ink); padding: 8px 14px; color: var(--ink); }
.navrow { border-top: 3px double var(--ink); background: var(--page); position: sticky; top: 0; z-index: 50; }
.navlinks { list-style: none; padding: 0; display: flex; justify-content: center; gap: 4px; }
.navlinks > li { position: relative; }
.navlinks a { display: block; padding: 12px 16px; font: 600 0.95rem var(--sans); color: var(--ink); text-decoration: none; }
.navlinks a:hover { color: var(--rose); }
.navlinks .nav-ask { color: var(--rose); }
.sub { list-style: none; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 290px; background: var(--white); border: 1px solid var(--rule); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: 8px 18px; font-weight: 400; }

@media (max-width: 860px) {
  .masthead > .col { grid-template-columns: 1fr auto; }
  .standfirst-mini, .mh-call { display: none; }
  .navtoggle { display: block; }
  .navrow { display: none; position: static; }
  .navrow.open { display: block; }
  .navlinks { flex-direction: column; gap: 0; }
  .navlinks a { padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .sub { position: static; display: block; border: 0; background: transparent; min-width: 0; padding: 0 0 0 14px; }
  .wordmark svg { width: 170px; }
}

/* breadcrumbs + page headers */
.trail { font-size: 0.84rem; color: var(--soft); padding-top: 18px; }
.trail a { color: var(--soft); }
.page-head { padding: 34px 0 44px; border-bottom: 1px solid var(--rule); }
.head-split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .head-split { grid-template-columns: 1.15fr 0.85fr; } }
.head-pic img, .lead-pic img, .side-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 0.82rem; color: var(--soft); margin-top: 8px; border-left: 2px solid var(--rose); padding-left: 10px; }

/* home lead story */
.lead-story { padding: 44px 0 56px; border-bottom: 1px solid var(--rule); }
.lead-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .lead-grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }
.pledges { list-style: none; padding: 0; margin-top: 30px; border-top: 1px solid var(--rule); }
.pledges li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule); position: relative; font-weight: 600; }
.pledges li::before { content: "—"; position: absolute; left: 0; color: var(--rose); }

/* bands */
.band { padding: 56px 0; }
.band-tint { background: var(--tint); }
.band + .band:not(.band-tint) { border-top: 1px solid var(--rule); }
.two-up { display: grid; gap: 40px; }
@media (min-width: 880px) { .two-up { grid-template-columns: 1fr 1fr; align-items: start; } }
.sub-h { margin-top: 42px; }

.qa-grid { display: grid; gap: 0; margin-top: 18px; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .qa-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.qa { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.qa a { font-weight: 700; }

.index-list { margin-top: 20px; border-top: 2px solid var(--ink); }
.index-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; align-items: center; }
.index-row img { width: 120px; aspect-ratio: 1; object-fit: cover; }
.ir-body strong { display: block; font: 700 1.3rem/1.2 var(--serif); color: var(--ink); }
.ir-body span { display: block; color: var(--text); margin-top: 4px; }
.ir-body em { display: block; font-style: normal; font-weight: 700; color: var(--sky-dark); margin-top: 6px; font-size: 0.95rem; }
.index-row:hover strong { color: var(--rose); }
@media (min-width: 760px) { .index-row { grid-template-columns: 180px 1fr; } .index-row img { width: 180px; aspect-ratio: 4 / 3; } }
.type-links { margin-top: 10px; }
.type-links li { margin-bottom: 8px; }

.numbered { counter-reset: n; list-style: none; padding: 0; margin-top: 10px; }
.numbered li { counter-increment: n; position: relative; padding: 0 0 18px 48px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: -2px; font: 700 1.6rem/1 var(--serif); color: var(--rose); }
.checklist { list-style: none; padding: 0; margin-top: 18px; }
.checklist li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; background: var(--sky); }

.readlist { list-style: none; padding: 0; margin-top: 12px; border-top: 2px solid var(--ink); }
.readlist li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.readlist a { font: 700 1.2rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.readlist a:hover { color: var(--rose); }
.readlist span { display: block; color: var(--soft); font-size: 0.93rem; margin-top: 4px; }

/* product detail */
.price-card div, .spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.price-card dt, .spec-list dt { color: var(--text); }
.price-card dd, .spec-list dd { font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; }
.price-card { border-top: 2px solid var(--ink); }
.spec-list { border-top: 2px solid var(--ink); margin-bottom: 16px; }
details.faq { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details.faq:first-of-type { border-top: 2px solid var(--ink); margin-top: 8px; }
details.faq summary { cursor: pointer; font: 700 1.12rem var(--serif); color: var(--ink); list-style: none; }
details.faq summary::after { content: " +"; color: var(--rose); }
details.faq[open] summary::after { content: " –"; }
details.faq p { margin-top: 8px; }

.compare { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } .compare-col + .compare-col { border-left: 1px solid var(--rule); padding-left: 32px; } .compare-col:first-child { padding-right: 32px; } }
.compare-col { padding-top: 24px; }

/* delivery page */
.truck-grid { display: grid; gap: 26px; margin-top: 16px; }
@media (min-width: 820px) { .truck-grid { grid-template-columns: repeat(3, 1fr); } }
.truck { border-top: 2px solid var(--ink); padding-top: 16px; }
.truck-no { font: 700 2.4rem/1 var(--serif); color: var(--sky); display: block; margin-bottom: 8px; }
.quiz { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--sky); padding: 24px; }
.quiz-intro { color: var(--soft); font-size: 0.95rem; }
.qz { display: none; margin-top: 14px; }
.qz.on { display: block; }
.qz-ask { font-weight: 700; margin-bottom: 10px; }
.qz-pick { display: block; width: 100%; text-align: left; font: 600 0.96rem var(--sans); padding: 12px 14px; margin-bottom: 8px; background: var(--page); border: 1px solid var(--rule); color: var(--ink); cursor: pointer; }
.qz-pick:hover { border-color: var(--sky); background: var(--tint); }
.qz-result { margin-bottom: 16px; }
.town-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.town-list a { font-weight: 600; }

/* tables */
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data caption { text-align: left; font-family: var(--serif); font-style: italic; color: var(--soft); padding-bottom: 8px; }
table.data th, table.data td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
table.data thead th { border-bottom: 2px solid var(--ink); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--soft); }
table.data.compact { margin-top: 6px; }

/* long reads */
.longread h2 { margin-top: 1.6em; }
.longread h3 { margin-top: 1.3em; }
.longread p, .longread li { max-width: var(--measure); }
.longread ul, .longread ol { margin-top: 0.8em; }
.longread table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.longread th, .longread td { border-bottom: 1px solid var(--rule); padding: 8px 10px 8px 0; text-align: left; }
.end-note { min-height: 46vh; }

/* contact */
.ways { display: grid; gap: 30px; }
@media (min-width: 820px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.ways > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.ways .btn { word-break: break-all; }

/* enquiry panel */
.ask { background: var(--ink); color: #dbe5f4; padding: 56px 0; }
.ask h2 { color: var(--white); }
.ask .kicker { color: #f08bb0; }
.ask-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .ask-grid { grid-template-columns: 0.8fr 1.2fr; } }
.ask-phone { font-size: 1.15rem; margin-top: 18px; }
.ask-phone a { color: var(--white); font-weight: 800; }
.enquiry { background: var(--page); color: var(--text); padding: 24px; }
.choose { border: 0; display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.choose legend { font-weight: 700; float: left; margin-right: 6px; }
.choose label { font-weight: 600; }
.fields { display: grid; gap: 4px 16px; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } .fields .wide { grid-column: 1 / -1; } }
.fields label { display: block; font-size: 0.85rem; font-weight: 700; margin: 8px 0 4px; color: var(--ink); }
.fields em { font-weight: 400; color: var(--soft); }
.enquiry input[type="text"], .enquiry input[type="tel"], .enquiry input[type="email"], .enquiry select, .enquiry textarea { width: 100%; font: 400 1rem var(--sans); padding: 10px 12px; border: 1px solid var(--rule); border-bottom: 2px solid var(--ink); background: var(--white); color: var(--ink); }
.enquiry textarea { resize: vertical; }
.enquiry .btn { width: 100%; margin-top: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent-note { background: var(--page); color: var(--ink); padding: 24px; border-left: 4px solid var(--sky); }
.fail-note { background: #fde8ef; color: #7a1636; padding: 10px 12px; margin-bottom: 12px; font-size: 0.92rem; }

/* colophon */
.colophon { background: #071425; color: #b9c6d9; padding: 48px 0 90px; font-size: 0.93rem; }
.colophon a { color: #dbe5f4; }
.colophon h3 { font: 700 0.78rem var(--sans); text-transform: uppercase; letter-spacing: 0.16em; color: var(--white); margin-bottom: 12px; }
.colophon ul { list-style: none; padding: 0; }
.colophon li { margin-bottom: 6px; }
.colo-top { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid #22344f; }
.colo-top p { max-width: 46ch; font-family: var(--serif); font-size: 1.05rem; }
.colo-grid { display: grid; gap: 28px; padding-top: 28px; }
@media (min-width: 820px) { .colo-grid { grid-template-columns: 1fr 1fr 1fr 2fr; } .colo-towns ul { columns: 2; } }
.colo-phone { font-size: 1.3rem; font-weight: 800; }
.colo-base { margin-top: 30px; padding-top: 16px; border-top: 1px solid #22344f; font-size: 0.82rem; }
.thumbbar { display: none; }
@media (max-width: 720px) {
  .thumbbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; }
  .thumbbar .btn { border: 0; padding: 16px 8px; }
  .thumbbar .btn-quiet { background: var(--rose); color: var(--white); }
}
