/* LakeHouse Councils: the parish and town council site at /parish-councils, part of LakeHouse Intelligence.
   Built to match the main site (Ray, 2 Dec): the dark top band, the mist hero, three frosted glass cards under it,
   glass cards through the page and a dark closing band. Not linked from the main site.
   The booking dialog further down is copied from site.css so the shared booking script (site.js) works unchanged. */
:root {
  --navy: #0F1C27; --ink2: #13202B; --mut: #4E5D69; --soft: #6A7A87; --lakeb: #2A78C2; --sun: #FFD43B; --sunline: #F2D06B; --laked: #1F5F9E; --sky: #EAF3FB;
  --green: #2F9E6E; --greend: #1A6B47; --paper: #F4F7F9; --mistc: #E7EDF2; --linec: #D6DFE6;
  /* names the copied dialog styles use */
  --text: #0F1C27; --muted: #4E5D69; --faint: #6A7A87; --lake: #2A78C2; --ink-2: #EEF2F5; --line: #D6DFE6;
  --sans: "Hanken Grotesk", system-ui, sans-serif; --ease: cubic-bezier(.22, .8, .24, 1);
  /* the main site's frosted glass */
  --glass: linear-gradient(145deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .5) 100%);
  --glass-edge: 1px solid rgba(255, 255, 255, .95);
  --glass-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 28, 39, .04), 0 14px 30px -20px rgba(15, 28, 39, .35);
  --glow: radial-gradient(closest-side at 50% 50%, rgba(42, 120, 194, .18) 0%, rgba(42, 120, 194, .05) 60%, transparent 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink2); font: 17px/1.65 var(--sans); }
a { color: var(--laked); }
img, svg { display: block; }
.wrap { max-width: 1380px; margin: 0 auto; padding: 0 56px; }
h1, h2, h3 { color: var(--navy); margin: 0; letter-spacing: -.025em; font-weight: 600; }
h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lakeb); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: #33424E; max-width: 560px; }
.sub { margin-top: 14px; font-size: 18px; color: var(--mut); max-width: 680px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 6px; background: var(--navy); color: #fff; font: 500 15px var(--sans); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: #1F3447; transform: translateY(-1px); }
.btn.light { background: #E9EEF2; color: var(--navy); }
.btn.light:hover { background: #fff; }
.btn.small { padding: 10px 18px; font-size: 14px; line-height: 1.4; }
.link { font-size: 15px; color: var(--mut); text-decoration: none; border-bottom: 1px solid var(--linec); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--navy); border-color: var(--lakeb); }
:focus-visible { outline: 3px solid rgba(42, 120, 194, .5); outline-offset: 2px; }

/* dark top band, the same as the main site */
.top { position: sticky; top: 0; z-index: 30; background: #0F1C27; transition: box-shadow .3s; }
.top.scrolled { box-shadow: 0 10px 30px rgba(15, 28, 39, .25); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.mark { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; margin-right: auto; }
.mark svg { width: 28px; height: 28px; }
.mark b { display: block; font-size: 17px; font-weight: 600; line-height: 1.15; letter-spacing: .01em; }
.mark small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); line-height: 1.2; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a { color: rgba(255, 255, 255, .74); text-decoration: none; font-size: 14px; padding: 10px 14px; border-radius: 6px; transition: background .2s, color .2s; }
.top nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.top .btn, .top .btn:hover { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .32); border-radius: 2px; transform: none; }
.top .btn:hover { border-color: #8FC0EC; }
.top a:focus-visible { outline: 2px solid #8FC0EC; outline-offset: 2px; }

/* hero: the mist background, text left, the plain timeline in glass on the right */
.hero { overflow: hidden; background: radial-gradient(120% 90% at 35% 40%, #F7F9FB 0%, #E8EEF2 55%, #D6DFE6 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { max-width: 640px; text-wrap: balance; }
.hero h1 .keep { background: linear-gradient(90deg, #1F5F9E 0%, #2A78C2 30%, #0F1C27 50%, #2A78C2 70%, #1F5F9E 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: sheen 7s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.tagline { margin: 0 0 26px; font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; }
.tagline > span { display: inline-block; background: linear-gradient(90deg, #1F5F9E 0%, #2A78C2 30%, #0F1C27 50%, #2A78C2 70%, #1F5F9E 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite; }
.hero .lead { margin-top: 30px; }
.cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

.shift { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; }
.shift::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -70px -60px; background: radial-gradient(closest-side at 60% 45%, rgba(42, 120, 194, .24) 0%, rgba(42, 120, 194, .08) 60%, transparent 100%); }
.sh-cap { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 2px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.sh-hint { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mut); }
@media (hover: none) { .sh-hint { font-size: 0; } .sh-hint::after { content: "Tap for details"; font-size: 12px; } }
.sh-row { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) 20px; gap: 16px; align-items: start; padding: 16px 20px; border-radius: 10px; cursor: pointer; outline: none; background: linear-gradient(145deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .42) 100%); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border: var(--glass-edge); box-shadow: inset 0 1px 0 #fff, 0 12px 30px -18px rgba(15, 28, 39, .35); transition: box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.sh-row .yr { padding-top: 3px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.sh-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.sh-more p { overflow: hidden; margin: 0; font-size: 14px; line-height: 1.55; color: #33424E; }
.sh-plus { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--soft); stroke-width: 1.8; stroke-linecap: round; transition: transform .25s ease; }
.sh-row:hover, .sh-row:focus-visible, .sh-row:focus { background: linear-gradient(145deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .66) 100%); box-shadow: inset 0 1px 0 #fff, 0 16px 34px -18px rgba(15, 28, 39, .42); }
.sh-row:focus-visible { box-shadow: 0 0 0 3px rgba(42, 120, 194, .35), 0 16px 34px -18px rgba(15, 28, 39, .42); }
.sh-row:hover .sh-more, .sh-row:focus .sh-more { grid-template-rows: 1fr; }
.sh-row:hover .sh-more p, .sh-row:focus .sh-more p { padding-top: 8px; }
.sh-row:hover .sh-plus, .sh-row:focus .sh-plus { transform: rotate(45deg); }
.sh-row b { display: block; font-size: 16px; font-weight: 600; color: var(--navy); }
.sh-row small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--mut); }
.sh-row .yr, .sh-row.now .yr { color: #237F58; }
.sh-row.now .yr { font-weight: 700; }
.cta .btn, .sun-badge { min-height: 50px; padding: 0 26px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.sun-badge { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; background: #FFF1BA; color: var(--navy); text-decoration: none; border: 1px solid #F2DC8A; box-shadow: 0 0 0 4px rgba(255, 226, 120, .18), 0 8px 26px -6px rgba(240, 200, 70, .45); transition: background .15s, box-shadow .2s, transform .15s; }
.sun-badge:hover { background: #FFEBA0; transform: translateY(-1px); box-shadow: 0 0 0 5px rgba(255, 226, 120, .24), 0 10px 30px -6px rgba(240, 200, 70, .55); }
.sun-badge:focus-visible { outline: 3px solid rgba(42, 120, 194, .45); outline-offset: 2px; }
.sun-badge svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sh-go { margin: 0 4px 6px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.sh-go strong { font-weight: 700; color: #1F5F9E; }
.sh-sub { margin: 0 4px 14px; font-size: 15px; line-height: 1.55; color: var(--mut); max-width: 520px; }
.sh-sub a { color: inherit; font-style: italic; text-decoration: none; }
.sh-sub a:hover { color: var(--navy); }

/* three glass cards under the hero, as on the main site */
.overview { background: linear-gradient(180deg, #EDF2F6 0%, #F4F7F9 100%); border-top: 1px solid var(--linec); border-bottom: 1px solid var(--linec); padding: 44px 0 48px; }
.ov { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ov::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -40px 0; background: radial-gradient(closest-side at 50% 50%, rgba(42, 120, 194, .2) 0%, rgba(42, 120, 194, .06) 60%, transparent 100%); }
.ov-i { display: flex; flex-direction: column; gap: 6px; padding: 30px 30px 32px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: var(--glass-edge); box-shadow: var(--glass-shadow); }
.ov-ico { width: 40px; height: 40px; margin-bottom: 14px; fill: none; stroke: var(--lakeb); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ov-ico .g { stroke: var(--green); stroke-width: 2.2; }
.ov-n { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.ov-i b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.ov-i p { font-size: 15.5px; color: var(--mut); max-width: 320px; }

.st { flex: none; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.st.ok { background: #E3F3EA; color: var(--greend); } .st.work { background: #FFF4D6; color: #6E5200; } .st.miss { background: #FBE9E7; color: #8F342C; }
.ex { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--linec); border-radius: 99px; padding: 2px 9px; }

/* trust strip, near the bottom */
.strip { border-top: 1px solid var(--linec); background: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.strip div { display: flex; gap: 14px; align-items: flex-start; }
.strip svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.strip b { display: block; font-size: 15.5px; color: var(--navy); }
.strip span { display: block; font-size: 14px; color: var(--mut); }

/* sections */
.sec { padding: 110px 0; background: #FFFFFF; scroll-margin-top: 76px; }
.sec.alt { background: linear-gradient(180deg, #EEF2F5 0%, #E1E8ED 100%); }
.sec-h { margin-bottom: 44px; }
.sec-h h2 { margin-top: 4px; max-width: 820px; }
.sec-h .eyebrow { margin-bottom: 18px; }
.card { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: var(--glass-edge); border-radius: 12px; box-shadow: var(--glass-shadow); }
.tl, .parts, .tests, .plans, .board, .year { position: relative; isolation: isolate; }
.tl::after, .parts::before, .steps::before, .tests::before, .plans::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -40px 0; background: var(--glow); }

.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding-top: 22px; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #2A78C2, #5CC99A, #7DB5E8, #A58BE0, #1F5F9E, #93A3B0); }
.tl li { padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 99px; padding: 2px 8px; }
.tag.on { background: #E3F3EA; color: var(--greend); } .tag.next { background: var(--sky); color: var(--laked); } .tag.soon { background: #EEF1F4; color: var(--mut); }
.tl .when { font-size: 14px; font-weight: 700; color: var(--laked); }
.tl h3 { font-size: 16.5px; }
.tl p { font-size: 14px; line-height: 1.45; color: var(--mut); }

.parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.part { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--sunline); }
.part .ic, .tcard .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; }
.a10 { font-size: 1.12em; white-space: nowrap; }
.part .ic svg, .tcard .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--lakeb); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.part p { font-size: 15px; color: var(--mut); line-height: 1.5; }
.aud { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--mistc); }
.aud em { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--laked); margin-bottom: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; color: var(--ink2); }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: #E3F3EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F9E6E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.dark { padding: 110px 0; background: #0F1C27; color: #E9EEF2; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: #7DB5E8; }
.dark .sub { color: #A9B8C4; }
.bx { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bx li { padding: 26px 22px 28px; border-radius: 12px; background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid #22384A; outline: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s, box-shadow .3s; }
.bx li:hover, .bx li:focus-within, .bx li:focus { transform: translateY(-4px); background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border-color: #35536B; box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .7); }
.bx li:focus-visible { box-shadow: 0 0 0 2px #7DB5E8; }
.bx .art { display: block; width: 108px; height: 72px; margin-bottom: 18px; fill: none; stroke: #7F9DB5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bx .art .ok { stroke: #5CC99A; stroke-width: 2.6; }
.bx .art .fill { fill: rgba(125, 181, 232, .16); stroke: #7DB5E8; }
.bx b { display: block; color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.bx p { margin: 0; color: #C3CFD8; font-size: 14.5px; line-height: 1.5; }
.bx p.more { max-height: 0; overflow: hidden; opacity: 0; color: #A9B8C4; transition: max-height .35s, opacity .3s, margin-top .3s; }
.bx li:hover p.more, .bx li:focus p.more, .bx li:focus-within p.more { max-height: 120px; opacity: 1; margin-top: 10px; }
@media (hover: none) { .bx p.more { max-height: none; opacity: 1; margin-top: 10px; } }


.tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tcard { padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.tcard .ic { flex: none; }
.tcard p { margin-top: 4px; font-size: 15px; color: var(--mut); line-height: 1.5; }

.board { padding: 26px 28px; }
.board-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--mistc); }
.board-h > div { display: flex; align-items: center; gap: 12px; }
.board-h b { font-size: 17px; color: var(--navy); }
.sum { display: flex; gap: 8px; flex-wrap: wrap; }
.board-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.board-g h3 { font-size: 14.5px; padding-bottom: 8px; border-bottom: 2px solid var(--sunline); margin-bottom: 4px; }
.br { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--mistc); }
.br b { display: block; font-size: 14px; color: var(--navy); }
.br small { display: block; font-size: 12.5px; color: var(--soft); }
.mk { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.mk circle { stroke-width: 1.6; }
.mk path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mk.yes circle { fill: #2F9E6E; stroke: #2F9E6E; } .mk.yes path { stroke: #fff; }
.mk.no circle { fill: #fff; stroke: #C9D4DD; } .mk.no path { stroke: #B3322C; stroke-width: 2; }
.pr { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; }
.pr > i, .sum-bar { flex: 1; display: block; height: 6px; border-radius: 99px; background: #E4EAEF; overflow: hidden; }
.pr > i > i, .sum-bar > i { display: block; height: 100%; border-radius: 99px; background: #2F9E6E; }
.pr span { font-size: 12px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.sum { align-items: center; gap: 12px; min-width: 260px; }
.sum-t { font-size: 14px; color: var(--mut); white-space: nowrap; } .sum-t b { color: var(--navy); }
.sum-bar { min-width: 120px; }
.small { margin-top: 14px; font-size: 13.5px; color: var(--soft); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.main { border-color: #9DBFE0; box-shadow: inset 0 1px 0 #fff, 0 16px 34px -18px rgba(42, 120, 194, .5); }
.plan .most { position: absolute; top: -11px; left: 22px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--lakeb); border-radius: 99px; padding: 3px 10px; }
.plan .who { font-size: 14.5px; color: var(--mut); line-height: 1.5; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--linec); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--laked); border-bottom: 2px solid var(--laked); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { margin-top: 10px; font-size: 15.5px; color: var(--mut); line-height: 1.6; }

/* closing band: dark navy, as on the main site */
.band { background: #0F1C27; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 100px; padding-bottom: 100px; }
.band h2 { color: #fff; max-width: 680px; }

.foot { background: #fff; color: var(--soft); border-top: 1px solid var(--linec); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; font-size: 13px; }
.foot a { color: var(--mut); text-decoration: none; }
.foot a:hover { color: var(--navy); }
.foot .links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .tl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parts, .board-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top nav { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .shift { max-width: 620px; }
}
@media (max-width: 900px) { .ov { grid-template-columns: minmax(0, 1fr); gap: 12px; } .ov-i { padding: 24px 22px 26px; } .overview { padding: 28px 0 32px; } }
@media (max-width: 720px) {
  .tagline { font-size: 12.5px; }
  .sh-go { font-size: 22px; }
  .wrap { padding: 0 20px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 60px; }
  .strip .wrap, .tl, .parts, .board-g, .tests { grid-template-columns: 1fr; }
  .sec { padding-top: 80px; }
  .strip { margin-top: 80px; }
  .dark { margin-top: 80px; padding: 64px 0; }
  .band .wrap { padding-top: 64px; padding-bottom: 64px; }
  .mark small { display: none; }
  .sh-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; padding: 16px 18px; } .sh-row .yr { grid-column: 1 / -1; padding-top: 0; } .sh-cap { flex-wrap: wrap; gap: 4px 12px; }
  .cta { gap: 22px; margin-top: 34px; }
}
@media (max-width: 480px) { .top .wrap { gap: 12px; } .mark b { font-size: 15px; } .top .btn.small { padding: 8px 12px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .keep, .tagline > span { animation: none; } .btn:hover { transform: none; } html { scroll-behavior: auto; } .sh-more, .sh-plus { transition: none; } }

/* ---------- the booking dialog, copied from site.css ---------- */
html.demo-open { overflow: hidden; }
.demo { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--text); overflow: visible; }
.demo::backdrop { background: rgba(10, 20, 29, .55); backdrop-filter: blur(4px); }
.demo[open] { animation: demo-in .28s var(--ease); }
@keyframes demo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.demo-card { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 80px rgba(15, 28, 39, .25); }
.demo-body, .demo-done { padding: 34px 34px 28px; }
.demo-body { display: flex; flex-direction: column; gap: 14px; }
.demo [hidden] { display: none !important; }
.demo .eyebrow { margin: 0; color: var(--lake); }
.demo h2 { font-family: var(--sans); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.015em; color: var(--text); }
.demo-sub { margin: -4px 0 6px; font-size: 15px; color: var(--muted); }
.demo label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.demo .opt { font-weight: 400; color: var(--faint); }
.demo input, .demo textarea { width: 100%; padding: 11px 13px; font: 400 16px/1.4 var(--sans); color: var(--text); background: #fff; border: 1px solid #C3CFD8; border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
.demo textarea { resize: vertical; min-height: 84px; }
.demo input::placeholder, .demo textarea::placeholder { color: #94A3AF; }
.demo input:hover, .demo textarea:hover { border-color: #9FB0BD; }
.demo input:focus, .demo textarea:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px rgba(42, 120, 194, .18); }
.demo-when { margin: 2px 0 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-when legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.demo-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.demo-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.demo .chip { flex: none; display: block; cursor: pointer; font-weight: 400; }
.demo .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.demo .chip span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 12px; border: 1px solid #C3CFD8; border-radius: 8px; font-size: 14px; color: var(--text); background: #fff; transition: border-color .15s, background .15s, color .15s; white-space: nowrap; }
.demo-days .chip span { min-width: 64px; }
.demo .chip span b { font-size: 12px; font-weight: 600; color: var(--muted); }
.demo .chip:hover span { border-color: var(--lake); }
.demo .chip.off { cursor: default; }
.demo .chip.off span { color: #A9B4BD; background: #F4F6F8; border-color: #E2E7EB; text-decoration: line-through; }
.demo .chip.off span b { color: #B8C1C8; }
.demo .chip.off:hover span { border-color: #E2E7EB; }
.demo .chip input:checked + span { background: var(--lake); border-color: var(--lake); color: #fff; }
.demo .chip input:checked + span b { color: #DCEBF8; }
.demo .chip input:focus-visible + span { outline: 3px solid rgba(42, 120, 194, .45); outline-offset: 2px; }
.demo-pick { margin: 0; font-size: 13.5px; color: var(--muted); }
.demo-pick b { color: var(--text); font-weight: 600; }
.demo-clear { border: 0; background: none; padding: 0; font: inherit; color: var(--lake); text-decoration: underline; cursor: pointer; }
.demo .btn.ghost { background: #fff; color: var(--text); border: 1px solid #C3CFD8; margin-bottom: 10px; }
.demo-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-err { display: none; margin: 0; padding: 10px 12px; border-radius: 8px; background: #FBEDEB; color: #8A2E24; font-size: 14px; }
.demo-err.on { display: block; }
.demo .btn { display: block; text-align: center; width: 100%; padding: 15px 20px; margin-top: 4px; border: 0; font: 600 16px var(--sans); cursor: pointer; }
.demo .btn[disabled] { opacity: .7; cursor: default; transform: none; }
.demo-note { margin: 0; font-size: 13px; color: var(--faint); text-align: center; }
.demo-note a, .demo-done a { color: var(--muted); }
.demo-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.demo-x:hover { background: var(--ink-2); color: var(--text); }
.demo-x:focus-visible, .demo .btn:focus-visible { outline: 3px solid rgba(42, 120, 194, .45); outline-offset: 2px; }
.demo-done { text-align: center; }
/* thank-you mark: a green tick draws in, then after 2s the ring unwinds and the tick bends into the logo (site.js builds it) */
.demo-mark { width: 60px; height: 60px; margin: 2px auto 16px; display: block; overflow: visible; }
.demo-mark * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.demo-mark .ln { stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0; }
.demo-mark.still .ln { stroke-dashoffset: 0; opacity: 1; animation: none !important; }
@keyframes mkDraw { 0% { opacity: 0; stroke-dashoffset: 1; } 1% { opacity: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes mkUnwind { 0% { opacity: 1; stroke-dashoffset: 0; } 99% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -1; } }
@keyframes mkInk { to { stroke: #0F1C27; stroke-width: 2.4; } }
.demo-done p { margin: 10px 0 22px; color: var(--muted); font-size: 15px; }
@media (max-width: 480px) { .demo-body, .demo-done { padding: 28px 20px 22px; } .demo h2 { font-size: 22px; padding-right: 30px; } }
@media (prefers-reduced-motion: reduce) { .demo[open] { animation: none; } }

/* every year, kept up to date */
.year { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.year h2 { margin-top: 10px; }
.year-b { gap: 14px; }
.year-b li { font-size: 16px; }
@media (max-width: 720px) { .year { grid-template-columns: 1fr; gap: 22px; } }

/* guides for clerks (/parish-councils/<slug>, built from src/data/councils.js) */
.g-hero { background: radial-gradient(120% 90% at 35% 40%, #F7F9FB 0%, #E8EEF2 55%, #D6DFE6 100%); padding: 72px 0 64px; border-bottom: 1px solid var(--linec); }
.g-hero h1 { max-width: 860px; font-size: clamp(34px, 3.8vw, 52px); text-wrap: balance; }
.g-hero .lead { max-width: 720px; margin-top: 18px; }
.g-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13.5px; color: var(--soft); }
.g-crumbs a { color: #33424E; text-decoration: none; border-bottom: 1px solid var(--linec); }
.g-crumbs a:hover { border-bottom-color: var(--lakeb); }
.g-draft { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 99px; background: #FFF4D6; color: #6E5200; font-size: 13px; font-weight: 600; }
.g-date { margin-top: 18px; font-size: 14px; color: var(--soft); }
.g-body { background: #fff; padding: 64px 0 80px; }
.g-wrap > * { max-width: 780px; }
.g-body h2 { margin: 44px 0 14px; font-size: clamp(24px, 2.2vw, 30px); }
.g-body h2:first-child { margin-top: 0; }
.g-body p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.7; color: #33424E; max-width: 720px; }
.g-list { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.g-list li { font-size: 17px; line-height: 1.6; color: #33424E; }
.g-list b { color: var(--navy); }
.g-ask { margin-top: 44px; padding: 26px 28px; border-radius: 12px; background: #F4F7F9; border: 1px solid var(--linec); }
.g-ask h2 { margin-top: 0; font-size: 22px; }
.g-ask .ticks li { font-size: 16px; }
.g-src { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linec); }
.g-src h2 { margin: 0 0 10px; font-size: 16px; letter-spacing: 0; }
.g-src ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.g-src a { font-size: 14.5px; color: var(--laked); }
.g-more { background: linear-gradient(180deg, #EEF2F5 0%, #E1E8ED 100%); padding: 72px 0 84px; }
.g-more h2 { margin-bottom: 26px; font-size: clamp(26px, 2.4vw, 34px); }
.g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; text-decoration: none; transition: transform .15s, box-shadow .2s; }
.g-card:hover { transform: translateY(-2px); }
.g-card b { font-size: 17px; color: var(--navy); }
.g-card span { font-size: 14.5px; line-height: 1.5; color: var(--mut); }
@media (max-width: 900px) { .g-cards { grid-template-columns: minmax(0, 1fr); } .g-hero { padding: 48px 0 44px; } .g-body { padding: 44px 0 60px; } }

/* the steps as a flow line, like "From first link to deletion" on the main site */
.flow4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.flow4::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 38px; height: 2px; background: linear-gradient(90deg, #C9D6E0, #2A78C2 45%, #2F9E6E 85%, #C9D6E0); }
.flow4::after { content: ""; position: absolute; top: 34px; left: 12.5%; width: 10px; height: 10px; border-radius: 50%; background: #2F9E6E; box-shadow: 0 0 0 4px rgba(47, 158, 110, .18); animation: f4dot 7s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes f4dot { 0% { left: 12.5%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(87.5% - 10px); opacity: 0; } }
.flow4 li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.flow4 svg { width: 76px; height: 76px; padding: 15px; border-radius: 50%; background: #fff; border: 1px solid #D5DFE7; fill: none; stroke: var(--lakeb); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; margin-bottom: 8px; box-shadow: 0 10px 24px -16px rgba(15, 28, 39, .4); }
.flow4 li:last-child svg { stroke: #2F9E6E; border-color: rgba(47, 158, 110, .35); }
.flow4 .wk { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #237F58; }
.flow4 b { font-size: 19px; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.flow4 span:not(.wk) { font-size: 14.5px; color: var(--mut); line-height: 1.5; max-width: 250px; }
@media (max-width: 900px) {
  .flow4 { grid-template-columns: 1fr; gap: 24px; }
  .flow4::before { left: 37px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(180deg, #C9D6E0, #2A78C2, #2F9E6E, #C9D6E0); }
  .flow4::after { display: none; }
  .flow4 li { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; row-gap: 2px; text-align: left; align-items: start; }
  .flow4 svg { grid-row: span 3; margin: 0; }
  .flow4 span:not(.wk) { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .flow4::after { animation: none; display: none; } }

/* plans as rows that come forward on hover */
.plans { display: flex; flex-direction: column; gap: 14px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 32px; padding: 26px 30px; outline: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.plan:hover, .plan:focus-within, .plan:focus { transform: translateY(-4px) scale(1.012); border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 28, 39, .05), 0 28px 50px -26px rgba(15, 28, 39, .5); position: relative; z-index: 1; }
.plan:focus-visible { box-shadow: 0 0 0 2px var(--lakeb); }
.plan h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 22px; }
.plan .most { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--lakeb); border-radius: 99px; padding: 3px 10px; }
.plan .who { font-size: 15px; color: var(--mut); line-height: 1.5; margin-top: 6px; max-width: 700px; }
.plan .sun-badge { min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 600; border-radius: 10px; white-space: nowrap; }
.plan .sun-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.plan .sun-badge:hover svg { transform: translateX(2px); }
.plan-more { grid-column: 1 / -1; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .3s, margin-top .3s; }
.plan:hover .plan-more, .plan:focus .plan-more, .plan:focus-within .plan-more { max-height: 160px; opacity: 1; margin-top: 16px; }
.plan-more .ticks { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; padding-top: 16px; border-top: 1px solid var(--mistc); }
@media (hover: none) { .plan-more { max-height: none; opacity: 1; margin-top: 16px; } }
@media (max-width: 720px) { .plan { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; } .plan .sun-badge { justify-self: start; } .plan-more { margin-top: 0; } .bx { grid-template-columns: 1fr; } }
@media (max-width: 1080px) and (min-width: 721px) { .bx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* header button sits centred in the band */
.top .btn { margin: 0; align-self: center; line-height: 1.2; padding: 11px 18px; }

/* tables in the guides */
.g-tw { margin: 6px 0 18px; overflow-x: auto; border: 1px solid #DCE4EA; border-radius: 12px; background: #fff; }
.g-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.g-table th, .g-table td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid #E6ECF0; color: #33424E; }
.g-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); background: #F5F8FA; border-bottom: 2px solid var(--sunline); }
.g-table tbody th { color: var(--navy); font-weight: 600; white-space: nowrap; }
.g-table tbody tr:last-child th, .g-table tbody tr:last-child td { border-bottom: 0; }
.g-body p a, .g-list a { color: var(--laked); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .g-table { font-size: 14.5px; } .g-table th, .g-table td { padding: 11px 12px; } .g-table tbody th { white-space: normal; } }

/* privacy policy and terms inside the councils frame */
.c-legal { padding: 90px 0 110px; background: #fff; }
.c-legal .eyebrow { margin-bottom: 10px; }
.c-legal h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
.c-legal .draft-note { display: inline-block; margin: 22px 0 0; padding: 10px 16px; border: 1px solid #D9C27A; border-radius: 8px; background: #FBF5E3; color: #6B520C; font-size: 14px; }
.c-legal mark.tbc { background: #FBF0CF; color: #6B520C; padding: 1px 5px; border-radius: 3px; font-size: .92em; }
.c-legal .legal-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; margin-top: 50px; align-items: start; }
.c-legal .legal-toc { position: sticky; top: 100px; font-size: 14px; }
.c-legal .legal-toc > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.c-legal .legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.c-legal .legal-toc a { text-decoration: none; color: var(--mut); }
.c-legal .legal-toc a:hover { color: var(--navy); }
.c-legal .legal-body { max-width: 780px; }
.c-legal .legal-body h2 { font-size: 26px; margin: 50px 0 16px; scroll-margin-top: 100px; }
.c-legal .legal-body h2:first-of-type { margin-top: 6px; }
.c-legal .legal-body p, .c-legal .legal-body li, .c-legal .legal-body td { color: #33424E; font-size: 16px; line-height: 1.65; }
.c-legal .legal-body p { margin: 0 0 16px; }
.c-legal .legal-body ul { margin: 0 0 18px; padding-left: 20px; }
.c-legal .legal-body li { margin: 6px 0; }
.c-legal .legal-body strong { color: var(--navy); font-weight: 600; }
.c-legal .legal-body a { color: var(--laked); }
.c-legal .tbl { overflow-x: auto; margin: 10px 0 22px; }
.c-legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.c-legal th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding: 10px 14px 10px 0; border-bottom: 1px solid #DCE4EA; }
.c-legal td { padding: 12px 14px 12px 0; border-bottom: 1px solid #E6ECF0; vertical-align: top; font-size: 14px !important; }
@media (max-width: 900px) { .c-legal .legal-grid { grid-template-columns: 1fr; gap: 30px; } .c-legal .legal-toc { position: static; } .c-legal { padding-top: 60px; } }

/* topic carousel under the Assertion 10 cards: two rows drifting in opposite directions, full width */
.mq-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.topics { margin-top: 70px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-r { display: flex; gap: 12px; width: max-content; animation: cmq 70s linear infinite; }
.mq-r.rev { animation-direction: reverse; animation-duration: 80s; }
.topics:hover .mq-r { animation-play-state: paused; }
@keyframes cmq { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.mq-c { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 10px; background: linear-gradient(145deg, #fff 0%, #F4F8FB 100%); border: 1px solid #DCE5EC; box-shadow: 0 8px 20px -16px rgba(15, 28, 39, .45); white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--navy); }
.mq-c svg { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--sky); fill: none; stroke: var(--lakeb); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 720px) { .topics { margin-top: 48px; } .mq-c { font-size: 14px; padding: 10px 14px 10px 10px; } }
@media (prefers-reduced-motion: reduce) { .mq-r { animation: none; } .topics { overflow-x: auto; } }
.g-note { margin: 36px 0 0; padding: 16px 20px; border-radius: 10px; background: #F5F8FA; border: 1px solid #DCE4EA; font-size: 14.5px !important; line-height: 1.6; color: var(--mut) !important; }
.g-wrap > .g-note { margin-top: 22px; box-sizing: border-box; }
