/* Darryl Wilson: his own layer over the starter's "modern" look. Navy, red and white; calm and professional.
   Colours come from Design (var(--brand), var(--accent)), so a change there carries through. */

/* A slim red, white and blue line across the very top of every page */
body::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, var(--brand) 0 33.4%, #fff 33.4% 66.6%, var(--accent) 66.6% 100%); }

/* The greeting that follows the visitor's clock */
.hero-greet { font-size: 1.3rem; letter-spacing: -.01em; }
.hero-greet::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--accent); }

/* The portrait: a navy block set behind it, like a campaign card */
.hero-split .hero-media { position: relative; }
.hero-split .hero-media::before { content: ''; position: absolute; inset: 28px -18px -18px 28px; border-radius: 28px; background: var(--brand); z-index: 0; }
.hero-split .hero-media .ph { position: relative; z-index: 1; }
.hero-split .hero-media .ph img { object-position: 50% 18%; }
.hero-split .hero-media .float-card { z-index: 2; }
.eyebrow .dot { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* The closing banner's photo is a faded backdrop (a watermark) behind the words, never a loud picture */
.cta-band.has-photo .cta-bg { opacity: .2; filter: grayscale(.35); translate: 0 0 0; }
.cta-band.has-photo { background: var(--brand); }

/* Christmas countdown: a navy card with big white numbers and a few quiet lights */
body .stn-b.stn-countdown .stn-card { position: relative; overflow: hidden; background: var(--brand); color: #fff; border: 0; box-shadow: none; border-radius: 28px; padding: 52px 24px 44px; }
body .stn-b.stn-countdown .stn-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 14px; background: radial-gradient(circle at 12px 7px, #ffd43b 0 4px, transparent 5px) 0 0 / 96px 14px, radial-gradient(circle at 44px 7px, #ff6b6b 0 4px, transparent 5px) 0 0 / 96px 14px, radial-gradient(circle at 76px 7px, #8ce99a 0 4px, transparent 5px) 0 0 / 96px 14px; opacity: .9; }
body .stn-b.stn-countdown .stn-head h2, body .stn-b.stn-countdown .stn-intro, body .stn-b.stn-countdown .stn-kicker { color: #fff; }
body .stn-b.stn-countdown .stn-kicker { opacity: .8; }
body .stn-b.stn-countdown .stn-clock b { color: #fff; }
body .stn-b.stn-countdown .stn-clock span { color: rgb(255 255 255 / .78); }
body .stn-b.stn-countdown .stn-clock > div { background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .16); }
@media (prefers-reduced-motion: no-preference) {
  body .stn-b.stn-countdown .stn-card::before { animation: dw-lights 2.4s steps(2, jump-none) infinite; }
  @keyframes dw-lights { 50% { opacity: .45; } }
}

/* Facebook: his page's posts in a tidy frame, like a phone held up beside the words */
body .stn-b.stn-fb .stn-fb-box { border-radius: 26px; border: 8px solid var(--brand); background: #fff; box-shadow: 0 24px 60px rgb(16 24 40 / .16); }

/* Press cuttings: each card reads like a clipping, with the paper and date under the headline */


/* The quote on About: the name under it in white (red on navy is hard to read) */
.pull figcaption { color: rgb(255 255 255 / .82); }

/* ------------------------------------------------------------------------------------------------
   The modern layer (Geoffrey, 30 Nov 2026: "more modern, quirky menus, wow factor", still professional).
   Everything here stops for people who ask for less movement.
   ------------------------------------------------------------------------------------------------ */

/* The menu: a red line sweeps in under each link; the page you're on keeps it */
@media (min-width: 1081px) {
  .look-modern .site-nav a:not(.btn) { background: none; border-radius: 0; padding-inline: 4px; margin-inline: 10px; }
  .look-modern .site-nav a:not(.btn):hover, .look-modern .site-nav a[aria-current="page"] { background: none; color: var(--brand); }
  .look-modern .site-nav a:not(.btn)::after, .look-modern .site-nav a[aria-current="page"]::after { content: ''; display: block; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
  .look-modern .site-nav a:not(.btn):hover::after, .look-modern .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* On phones the menu is a tall navy sheet: big numbered links that step in one after another */
@media (max-width: 1080px) {
  .look-modern .site-nav { background: var(--brand); border: 0; border-radius: 28px; padding: 26px 26px 30px; max-height: calc(100dvh - 150px); overflow: auto; box-shadow: 0 40px 80px -30px rgb(8 16 34 / .7); }
  .look-modern .site-nav::before { content: ''; display: block; height: 5px; width: 84px; border-radius: 3px; margin-bottom: 14px; background: linear-gradient(90deg, var(--accent) 0 50%, #fff 50% 100%); }
  .look-modern .site-nav ul { counter-reset: nav; gap: 0; }
  .look-modern .site-nav li { counter-increment: nav; }
  .look-modern .site-nav a:not(.btn) { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; color: #fff; font: 700 clamp(1.6rem, 7vw, 2.1rem)/1.1 var(--f-heading, var(--f-body)); letter-spacing: -.02em; border-bottom: 1px solid rgb(255 255 255 / .14); }
  .look-modern .site-nav a:not(.btn)::before { content: counter(nav, decimal-leading-zero); font: 600 .8rem/1 var(--f-body); letter-spacing: .08em; color: rgb(255 255 255 / .55); min-width: 24px; }
  .look-modern .site-nav a:not(.btn):hover, .look-modern .site-nav a[aria-current="page"] { color: #fff; background: none; }
  .look-modern .site-nav a[aria-current="page"]::after { display: block; content: ''; position: static; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); align-self: center; margin-left: auto; }
  .look-modern .site-nav .nav-cta { margin-top: 22px; width: 100%; justify-content: center; }
  @media (prefers-reduced-motion: no-preference) {
    .look-modern .site-nav.open { animation: dw-sheet .34s cubic-bezier(.2, .8, .2, 1) both; transform-origin: top center; }
    .look-modern .site-nav.open li { animation: dw-step .4s cubic-bezier(.2, .8, .2, 1) both; }
    .look-modern .site-nav.open li:nth-child(2) { animation-delay: .05s; } .look-modern .site-nav.open li:nth-child(3) { animation-delay: .1s; }
    .look-modern .site-nav.open li:nth-child(4) { animation-delay: .15s; } .look-modern .site-nav.open li:nth-child(5) { animation-delay: .2s; }
    .look-modern .site-nav.open li:nth-child(n+6) { animation-delay: .25s; }
  }
}
@keyframes dw-sheet { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes dw-step { from { opacity: 0; transform: translateX(-18px); } }

/* The welcome: a slow wash of red and navy light behind the words, and the portrait's block drifts a little */
.hero-split { position: relative; overflow: clip; }
.hero-split::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), radial-gradient(closest-side at 30% 70%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.hero-split .hero-grid { position: relative; z-index: 1; }
.hero-title .hl { font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .hero-split::before { animation: dw-wash 16s ease-in-out infinite alternate; }
  .hero-split .hero-media::before { animation: dw-drift 9s ease-in-out infinite alternate; }
  .hero-greet, .hero .eyebrow, .hero-title, .hero-lede, .hero .btns, .hero .ticks { animation: dw-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .eyebrow { animation-delay: .06s; } .hero-title { animation-delay: .12s; } .hero-lede { animation-delay: .2s; } .hero .btns { animation-delay: .28s; } .hero .ticks { animation-delay: .34s; }
  .hero-split .hero-media { animation: dw-rise .9s .15s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes dw-wash { to { transform: translate(-6%, 8%) scale(1.08); } }
@keyframes dw-drift { to { transform: translate(8px, 8px); } }
@keyframes dw-rise { from { opacity: 0; transform: translateY(18px); } }

/* Cards lift, and a red line draws itself along the top */
.svc-card, .stn-post, .post-card { position: relative; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.svc-card::before, .blk-cards .svc-card::before { content: ''; position: absolute; inset: 0 auto auto 0; height: 4px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1); border-radius: 4px 4px 0 0; }
.svc-card:hover, .blk-cards .svc-card:hover { transform: translateY(-5px); }
.svc-card:hover::before, .blk-cards .svc-card:hover::before { transform: scaleX(1); }


/* Sections ease in as they're reached (only in browsers that can tie movement to scrolling) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section > .wrap, .stn-b > .stn-wrap { animation: dw-rise linear both; animation-timeline: view(); animation-range: entry 0px entry 240px; }
    .hero > .wrap { animation: none; }
  }
}

/* News pictures are shown whole, never cut at the sides */
.post-ph, .stn-post-ph, .post-card.featured .post-ph, .post-card.row .post-ph { aspect-ratio: 1200 / 630; min-height: 0; background: var(--brand); }
.post-ph img, .stn-post-ph img { object-fit: contain; }

/* The timeline on About: red markers down a navy line */
.stn-timeline .stn-when, .stn-timeline time { color: var(--accent); }
.article-cover img { object-fit: contain; background: var(--brand); }

/* ------------------------------------------------------------------------------------------------
   Bolder (Geoffrey, same day: "way, way more modern"; the phone menu was cut off).
   A navy welcome with white words, the facts as a card that sits over its edge, numbered cards,
   and a phone menu that takes the whole screen.
   ------------------------------------------------------------------------------------------------ */

/* The welcome is navy: white words, the red highlight, the portrait in a white frame at a slight angle */
.look-modern .hero-split { background: var(--brand); color: #fff; border-radius: 0 0 44px 44px; margin-top: -96px; padding-top: 96px; }
.look-modern .hero-split::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%), radial-gradient(closest-side at 20% 80%, rgb(255 255 255 / .16), transparent 70%); opacity: .5; }
.look-modern .hero-split::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: 0;
  background: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); }
.hero-split .hero-greet { color: #fff; }
.hero-split .hero-title { color: #fff; font-size: clamp(2.7rem, 1.2rem + 5.4vw, 5.2rem); letter-spacing: -.045em; }
.hero-split .hero-title .hl { color: #fff; background: linear-gradient(transparent 68%, var(--accent) 68%, var(--accent) 94%, transparent 94%); }
.hero-split .hero-lede { color: rgb(255 255 255 / .84); }
.hero-split .ticks li { color: rgb(255 255 255 / .9); }
.hero-split .ticks .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; }
.hero-split .eyebrow { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); color: #fff; box-shadow: none; }
.hero-split .eyebrow .dot { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .2); }
.hero-split .btn-outline { --t: #fff; border-color: rgb(255 255 255 / .45); }
.hero-split .btn-outline:hover { background: #fff; color: var(--brand); }
.hero-split .hero-media::before { background: var(--accent); inset: 26px -16px -16px 26px; }
.hero-split .hero-media .ph { border: 8px solid #fff; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); rotate: 1.5deg; }
.hero-split .hero-media .float-card { background: #fff; color: var(--ink); rotate: -2deg; }

/* The header floats over the navy welcome on the home page */
.look-modern .site-header { z-index: 50; }

/* The four facts: one white card sitting over the bottom edge of the welcome */
.look-modern .trust { background: none; border: 0; padding: 0; margin-top: -46px; position: relative; z-index: 2; }
.look-modern .trust > .wrap { background: var(--surface); border-radius: 26px; box-shadow: 0 30px 70px -34px rgb(16 24 40 / .45); padding-block: 26px; border: 1px solid var(--line); }
.look-modern .trust .ic, .look-modern .trust-ic { color: var(--accent); }

/* Priorities: each card carries its number, big and faint, like a manifesto */
.services .card-grid { counter-reset: pri; }
.services .svc-card { counter-increment: pri; overflow: hidden; }
.services .svc-card::after { content: counter(pri, decimal-leading-zero); position: absolute; right: 18px; top: 8px; font: 700 3.4rem/1 var(--f-heading, var(--f-body)); letter-spacing: -.04em; color: color-mix(in srgb, var(--brand) 9%, transparent); pointer-events: none; }
.services .svc-card:hover::after { color: color-mix(in srgb, var(--accent) 22%, transparent); }

/* Big numbers on About */
.stat b, .stats .num, .stat-num { background: linear-gradient(120deg, var(--brand) 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Section headings: a short red rule above each, so the page has a rhythm */
.section .section-head .h2::before, .stn-b .stn-head h2::before { content: ''; display: block; width: 46px; height: 4px; border-radius: 3px; background: var(--accent); margin: 0 0 16px; }
.section .section-head.center .h2::before, .stn-b .stn-head h2::before { margin-inline: auto; }
.stn-countdown .stn-head h2::before { background: #fff; }

/* Words that are names of things start with a capital on each word (menu, buttons, small labels) */
.site-nav a, .btn, .footer-col h3, .site-footer h2, .site-footer h3, .trust b, .trust strong { text-transform: capitalize; }

/* The phone menu takes the whole screen: navy, the logo and the close button on top, nothing cut off */
@media (max-width: 1080px) {
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-bar, body.menu-open .announce, body.menu-open .topbar { display: none; }
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; }
  body.menu-open .site-header .brand-words b, body.menu-open .site-header .brand-words small { color: #fff; }
  body.menu-open .site-header .brand-mark { box-shadow: 0 0 0 2px rgb(255 255 255 / .35); border-radius: 12px; }
  body.menu-open .nav-toggle { background: #fff; color: var(--brand); border-color: #fff; }
  .look-modern .site-nav, .look-modern .site-nav.open { position: fixed; inset: 0; top: 0; z-index: -1; width: 100vw; height: 100dvh; max-height: none; border-radius: 0; margin: 0; padding: 120px 28px calc(36px + env(safe-area-inset-bottom)); box-shadow: none; overflow: auto;
    background: radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%), var(--brand); }
  .look-modern .site-nav a:not(.btn) { padding: 20px 0; font-size: clamp(2rem, 9vw, 2.8rem); }
  .look-modern .site-nav .nav-cta { margin-top: 30px; min-height: 58px; font-size: 1.1rem; }
}
.look-modern .hero-split .btn-outline { background: transparent; color: #fff; --b: transparent; }
.look-modern .hero-split .btn-outline:hover { background: #fff; color: var(--brand); }
body .topbar, body .announce { position: relative; z-index: 3; }
body .topbar { background: var(--surface); }
.look-modern .site-header { background: #fff; }
@media (max-width: 760px) { .look-modern .trust > .wrap { width: calc(100% - 24px); margin-inline: auto; } .look-modern .hero-split { border-radius: 0 0 30px 30px; } }

/* Phones: nothing cut off (Geoffrey, 30 Nov 2026). The long council email wraps, the facts card sits clear of
   the candidate badge, and the call button keeps its number on one line. */
.site-footer a, .info-card a, .info-card b, .contact-strip a { overflow-wrap: anywhere; }
.site-footer .wrap > *, .site-footer [class*="foot-"] { min-width: 0; max-width: 100%; }
.cta-btns .btn, .foot-cta .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .look-modern .hero-split .hero-grid { padding-bottom: 96px; }
  .look-modern .trust { margin-top: -40px; }
  .hero-split .hero-media .ph { rotate: 0deg; }
  .hero-split .hero-media .float-card { rotate: 0deg; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; font-size: 1rem; padding-inline: 14px; }
}
html, body { overflow-x: clip; }
