/* ==========================================================================
   East Yorkshire Broadband — "Modern East Yorkshire".

   North Sea navy, chalk white and golden yellow, from the owner's brand board.
   Navy frames the page (header, footer, the closing bands), chalk carries the
   reading, and gold is for the things you press and the marks that guide the
   eye: buttons, step numbers, icon discs, the current page. Gold is never
   used for text on a light ground — it fails contrast there.

   The brand is a fixed palette, so the site does not follow the viewer's
   light/dark preference: it is one thing in both.

   Two typefaces, both self-hosted (OFL, latin subset, ~47 KB together) so no
   third party sees a visitor: Plus Jakarta Sans at heavy weights for
   headlines, Figtree for reading. Nothing else here loads over the network
   but this file, the two fonts and the photographs.
   ========================================================================== */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin-wght.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand — fixed */
    --navy: #123746;
    --navy-deep: #0C2A36;
    --navy-line: rgba(246, 245, 239, 0.16);
    --chalk: #F6F5EF;
    --gold: #F4C542;
    --gold-hover: #E9B92F;
    --gold-soft: #FBE29A;
    --gold-pale: #FCEFC6;

    /* Grounds and ink */
    --white: #FFFFFF;
    --card: #FFFFFF;
    --light: #FBFAF7;
    --tint: #EEEDE6;
    --ink: #123746;
    --ink-2: #3E5A66;       /* 6.9:1 on chalk */
    --on-navy-2: #C8D4D9;   /* 8.6:1 on navy */
    --rule: #DAD8CE;
    --error: #A3241B;

    --focus: var(--navy);

    --display: "Plus Jakarta Sans", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
    --body: "Figtree", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;

    --measure: 62ch;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 10px;
    --radius-sm: 6px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }

body {
    margin: 0;
    background: var(--chalk);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    min-height: 100vh;
    display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link — the audience skews older and rural, and some of them are on a
   keyboard or a screen reader. */
.skip {
    position: absolute; left: -9999px; top: 12px; z-index: 100;
    background: var(--gold); color: var(--navy);
    padding: 12px 18px; border-radius: var(--radius-sm);
    font-family: var(--display); font-weight: 800; text-decoration: none;
}
.skip:focus { left: 12px; }

:where(a, button, input, select, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}
main:focus { outline: none; }
h1[tabindex]:focus { outline: none; }

.site-header, .site-footer, .on-navy, .cta-band, .close-band, .pkg--pick, .tracking {
    --focus: var(--gold);
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.inner--narrow { max-width: 840px; }

/* ------------------------------------------------------------------- type -- */

h1, h2, h3, h4, .display {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: inherit;
    text-wrap: balance;
}

h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    margin: 0 0 18px;
}
h1.display {
    font-size: clamp(42px, 5.8vw, 82px);
    letter-spacing: -0.035em;
    line-height: 0.98;
}
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }

.h-xl { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.03em; }
.h-lg { font-size: clamp(28px, 3.4vw, 42px); }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.h-sm { font-size: clamp(21px, 2vw, 24px); }

p { margin: 0 0 16px; max-width: var(--measure); }
.lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.5; }
.muted { color: var(--ink-2); font-size: 16px; }

.eyebrow {
    font-family: var(--display);
    font-size: 14px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin: 0 0 14px;
}

.fine {
    font-size: 15px; color: var(--ink-2);
    text-align: center; margin: 22px auto 0; max-width: 70ch;
}
.fine--left { text-align: left; margin-left: 0; }

.note {
    font-size: 16px; color: var(--ink-2);
    border-left: 3px solid var(--gold);
    padding-left: 14px;
}

.nowrap { white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: 16px;
    text-decoration: underline; text-underline-offset: 3px;
}
.text-link .icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- buttons -- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px;
    padding: 12px 26px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: var(--navy);
    font-family: var(--display);
    font-size: 17px; font-weight: 800; letter-spacing: -0.005em;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }

.btn--small { min-height: 44px; padding: 8px 18px; font-size: 15.5px; }
.btn--large { min-height: 56px; padding: 14px 36px; font-size: 19px; }
.btn--block { display: flex; width: 100%; }

.btn--quiet {
    background: transparent;
    border-color: currentColor;
    color: var(--navy);
}
.btn--quiet:hover { background: rgba(18, 55, 70, 0.06); border-color: currentColor; }

/* ------------------------------------------------------------------ header -- */

.site-header {
    background: var(--navy);
    color: var(--chalk);
    position: relative;
    z-index: 20;
}
.header-inner {
    display: flex; align-items: center; gap: 24px;
    min-height: 84px;
}
.logo { display: block; flex-shrink: 0; }
.logo img { width: auto; height: 58px; }

.site-nav {
    flex: 1;
    display: flex; align-items: center; gap: 28px;
}
.site-nav ul {
    list-style: none; margin: 0 auto; padding: 0;
    display: flex; gap: clamp(20px, 3vw, 40px);
}
.site-nav ul a,
.footer-nav a {
    display: inline-block;
    padding: 8px 0 6px;
    color: var(--chalk);
    text-decoration: none;
    font-weight: 500; font-size: 16.5px;
    border-bottom: 3px solid transparent;
}
.site-nav ul a:hover,
.footer-nav a:hover { border-bottom-color: rgba(244, 197, 66, 0.5); }
.site-nav ul a[aria-current="page"],
.footer-nav a[aria-current="page"] { border-bottom-color: var(--gold); font-weight: 700; }

.header-phone {
    display: none;
    align-items: center; gap: 10px;
    color: var(--chalk); text-decoration: none; font-weight: 700;
}
.header-phone .icon { color: var(--gold); width: 20px; height: 20px; }

.menu-toggle {
    display: none;
    margin-left: auto;
    align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 14px;
    background: transparent; color: var(--chalk);
    border: 1.5px solid var(--navy-line); border-radius: var(--radius-sm);
    font: 700 16px var(--body);
    cursor: pointer;
}
.menu-toggle .icon { color: var(--gold); }
.menu-toggle .icon-close { display: none; }
.is-open .menu-toggle .icon-open { display: none; }
.is-open .menu-toggle .icon-close { display: block; }

@media (max-width: 960px) {
    .header-inner { flex-wrap: wrap; min-height: 72px; gap: 12px 16px; padding-top: 10px; padding-bottom: 10px; }
    .logo img { height: 42px; }

    .js .menu-toggle { display: inline-flex; }

    .site-nav {
        flex-basis: 100%;
        flex-direction: column; align-items: stretch; gap: 14px;
        padding: 6px 0 14px;
    }
    .js .site-header:not(.is-open) .site-nav { display: none; }

    .site-nav ul { flex-direction: column; gap: 0; margin: 0; }
    .site-nav ul a {
        display: block; padding: 14px 2px;
        border-bottom: 1px solid var(--navy-line);
        font-size: 18px;
    }
    .site-nav ul a[aria-current="page"] {
        border-bottom: 1px solid var(--navy-line);
        box-shadow: inset 4px 0 0 var(--gold);
        padding-left: 14px;
    }
    .header-check { align-self: flex-start; }
    .header-phone { display: inline-flex; }
}

/* -------------------------------------------------------------------- hero -- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero--sky { background: linear-gradient(180deg, #9CC5E2 0%, #C6DDEA 52%, #E3ECEE 100%); }
.hero--chalk { background: var(--chalk); }

/* The photograph sits on the right and fades into the ground on the left, so
   the headline always reads on flat colour rather than on a picture. */
.hero-photo {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 58%; height: 100%;
    object-fit: cover;
    z-index: -1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero .inner {
    min-height: clamp(380px, 33vw, 480px);
    display: flex; align-items: center;
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-copy { max-width: 580px; }
.hero-copy--wide { max-width: 780px; }
.hero-sub {
    font-size: clamp(19px, 1.9vw, 24px);
    line-height: 1.4;
    margin-bottom: 28px;
}

.hero--home .inner { min-height: clamp(440px, 40vw, 600px); }
.hero--home .hero-copy { max-width: 700px; }
.hero--home .hero-photo { width: 60%; }
.hero--home .hero-sub { font-size: clamp(20px, 2.1vw, 28px); font-weight: 500; }

.full-stop { color: var(--gold); }

@media (max-width: 760px) {
    .hero-photo,
    .hero--home .hero-photo {
        position: static;
        width: 100%; height: 220px;
        -webkit-mask-image: none; mask-image: none;
    }
    .hero .inner,
    .hero--home .inner { min-height: 0; padding-top: 28px; padding-bottom: 36px; }
}

/* ------------------------------------------------------------ postcode box -- */

.postcode { max-width: 640px; }
.postcode-label {
    display: block; margin: 0 0 10px;
    font-family: var(--display); font-weight: 800; font-size: 18px;
}
.postcode-row { display: flex; gap: 12px; }
.postcode-field {
    position: relative;
    flex: 1;
    display: flex; align-items: center;
}
.postcode-field .icon {
    position: absolute; left: 16px;
    color: var(--navy); pointer-events: none;
}
.postcode input,
.interest input[type="text"] {
    width: 100%;
    min-height: 56px;
    padding: 12px 16px;
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid #CFCDC2;
    border-radius: var(--radius-sm);
    font: 500 18px var(--body);
}
.postcode input { padding-left: 50px; }
.postcode input::placeholder,
.interest input::placeholder { color: #6A7F88; }
.postcode .btn { min-height: 56px; white-space: nowrap; }
.postcode .hint { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; }

.error {
    color: var(--error); font-weight: 700; font-size: 16px;
    margin: 10px 0 0;
}
[aria-invalid="true"] { border-color: var(--error) !important; }

@media (max-width: 560px) {
    .postcode-row { flex-direction: column; }
    .postcode .btn { width: 100%; }
}

/* ------------------------------------------------------------ home: reasons -- */

.reasons {
    list-style: none;
    margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--light);
    border: 1px solid var(--rule); border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 10px 24px -18px rgba(18, 55, 70, 0.35);
    position: relative; z-index: 1;
}
.reasons li {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 22px 16px;
    font-family: var(--display); font-weight: 700; font-size: 19px;
}
.reasons li + li { border-left: 1px solid var(--rule); }
.reasons .icon { width: 40px; height: 40px; color: #D9A514; stroke-width: 1.6; }

@media (max-width: 760px) {
    .reasons { grid-template-columns: 1fr; }
    .reasons li { justify-content: flex-start; padding: 16px 20px; }
    .reasons li + li { border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- sections -- */

.section { padding: clamp(48px, 6vw, 88px) 0; }
.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.section--flush-top { padding-top: 0; }
.section--light { background: var(--light); }
.section--tint { background: var(--tint); }

.on-navy { background: var(--navy); color: var(--chalk); }
.on-navy p, .on-navy .fine { color: var(--on-navy-2); }
.on-navy .fine--left { border-color: var(--gold); }

.intro { margin-bottom: 36px; }
.intro .lead strong { font-weight: 700; }

.pair {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 5vw, 64px); align-items: start;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.panel {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 32px);
}
.panel p:last-child { margin-bottom: 0; }
.panel--tint { background: var(--tint); border-color: transparent; }

@media (max-width: 820px) {
    .pair, .duo { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ cards, discs -- */

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 28px;
}
.card p { color: var(--ink-2); margin: 0; }
.card .disc { margin-bottom: 18px; }

.disc {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
}
.disc .icon { width: 32px; height: 32px; stroke-width: 1.7; }
.disc--soft { background: var(--gold-pale); }

@media (max-width: 900px) {
    .cards--3 { grid-template-columns: 1fr; }
}

/* Feature lists: a yellow disc, a title, a line. */
.features { list-style: none; margin: 8px 0 0; padding: 0; }
.features li {
    display: grid; grid-template-columns: 64px 1fr; gap: 22px;
    align-items: center;
    margin: 0 0 26px;
}
.features li:last-child { margin-bottom: 0; }
.features h3 { margin-bottom: 4px; }
.features p { margin: 0; color: var(--ink-2); font-size: 17px; }

.features--row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.features--row li { margin: 0; align-items: start; }
.features--row li + li { border-left: 1px solid var(--rule); padding-left: 28px; }

@media (max-width: 900px) {
    .features--row { grid-template-columns: 1fr; gap: 24px; }
    .features--row li + li { border-left: 0; padding-left: 0; }
}

/* Questions with answers, side by side. */
.qa-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px; margin-top: 36px;
}
.qa { border-top: 3px solid var(--gold); padding-top: 18px; }
.qa p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .qa-grid { grid-template-columns: 1fr; } }

/* What stays, what changes — on navy. */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 32px;
}
.split-col {
    border: 1px solid var(--navy-line);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 32px);
}
.split-col .sub { font-size: 16px; margin-bottom: 18px; }
.split-col:last-child { background: rgba(244, 197, 66, 0.08); border-color: rgba(244, 197, 66, 0.35); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid var(--navy-line);
    color: var(--on-navy-2);
}
.ticks strong { color: var(--chalk); }
.ticks .icon { color: var(--gold); margin-top: 2px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- packages -- */

.packages {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; align-items: stretch;
    margin-top: 30px;
}

.pkg {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 26px 26px 26px;
}
.pkg h3 { font-size: clamp(24px, 2.3vw, 30px); margin: 0 0 6px; letter-spacing: -0.02em; }
.pkg .price { margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; }
.pkg .price strong {
    font-family: var(--display); font-weight: 800;
    font-size: clamp(42px, 4vw, 54px); letter-spacing: -0.035em; line-height: 1;
}
.pkg .price span { font-family: var(--display); font-weight: 700; font-size: 18px; }

.speeds {
    list-style: none; margin: 0; padding: 14px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.speeds li { display: flex; align-items: center; gap: 16px; padding: 6px 0; font-size: 17.5px; }
.speeds strong { font-weight: 700; }
.speeds .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.speeds .floor { color: var(--ink-2); font-size: 16px; }

.pkg .who { margin: 16px 0 22px; flex-grow: 1; font-size: 17.5px; }
.pkg .btn { margin-top: auto; }

/* The one we'd point most people at: navy, with the gold bar on top. */
.pkg--pick {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--chalk);
    border-radius: 0 0 var(--radius) var(--radius);
}
.pkg--pick::before {
    content: "";
    position: absolute; left: -1px; right: -1px; top: -8px; height: 9px;
    background: var(--gold);
    border-radius: var(--radius) var(--radius) 0 0;
}
.pkg--pick .speeds { border-color: var(--navy-line); }
.pkg--pick .speeds .icon { color: var(--gold); }
.pkg--pick .speeds .floor { color: var(--on-navy-2); }

@media (max-width: 900px) {
    .packages { grid-template-columns: 1fr; gap: 30px; max-width: 480px; }
}

/* ------------------------------------------------------------------- steps -- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gold); color: var(--navy);
    font-family: var(--display); font-weight: 800; font-size: 24px;
}
.steps h3 { font-size: 21px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 17px; }

/* Vertical, joined by a thin gold rail. */
.steps--rail li { padding: 0 0 40px 84px; min-height: 56px; }
.steps--rail li:last-child { padding-bottom: 0; }
.steps--rail li::before { position: absolute; left: 0; top: 0; }
.steps--rail li:not(:last-child)::after {
    content: "";
    position: absolute; left: 27px; top: 64px; bottom: 8px;
    width: 2px; background: var(--gold);
}
.steps--rail h3 { padding-top: 12px; }

/* In a row, with a rule between. */
.steps--row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    margin-top: 28px;
}
.steps--row li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; align-content: start; }
.steps--row li::before { grid-row: span 2; }
.steps--row li + li { border-left: 1px solid var(--rule); padding-left: 28px; }
.steps--row h3 { padding-top: 12px; }

@media (max-width: 860px) {
    .steps--row { grid-template-columns: 1fr; gap: 24px; }
    .steps--row li + li { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------- our area -- */

.map-steps {
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: clamp(28px, 5vw, 56px); align-items: center;
    margin-top: 28px;
}
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; border-radius: var(--radius-sm); }
.area-map figcaption { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; }
.pin-label {
    font-family: var(--display); font-weight: 800; font-size: 17px;
    fill: var(--navy);
    paint-order: stroke; stroke: #EEF0E2; stroke-width: 5px; stroke-linejoin: round;
}
@media (max-width: 860px) { .map-steps { grid-template-columns: 1fr; } }

.stamps {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 28px; margin: 32px 0 40px;
}
.stamps figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stamps .stamp { width: 100%; max-width: 150px; }
.stamps figcaption { font-size: 15px; font-weight: 600; color: var(--ink-2); }

.stamp--muted { opacity: 0.45; }
.stamp-slot { display: flex; justify-content: center; }
.stamp-slot .stamp { width: 100%; max-width: 240px; }

.next-villages p { color: var(--ink-2); }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
    padding: 8px 16px;
    border: 1.5px solid var(--navy); border-radius: 999px;
    font-family: var(--display); font-weight: 700; font-size: 15.5px;
}

.team-band {
    position: relative; overflow: hidden; isolation: isolate;
    background: #F1ECE1;
}
.team-photo {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 52%; height: 100%; object-fit: cover; z-index: -1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.team-copy { padding: clamp(40px, 5vw, 64px) 0; max-width: 640px; }
.team-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.team-copy p { font-size: 20px; }
@media (max-width: 760px) {
    .team-photo { position: static; width: 100%; height: 180px; -webkit-mask-image: none; mask-image: none; }
    .team-copy { padding-top: 28px; }
}

.close-band {
    background: var(--navy); color: var(--chalk);
    text-align: center;
    padding: clamp(36px, 4vw, 52px) 0;
}
.close-band h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 18px; }

/* ------------------------------------------------------------ how it works -- */

/* Home → the access network → our equipment → the wider internet. */
.path {
    list-style: none; margin: 0; padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: var(--tint); border-radius: var(--radius);
    text-align: center;
}
.path li { position: relative; padding: 0 12px; }
.path p { color: var(--ink-2); font-size: 15.5px; margin: 0 auto; max-width: 24ch; }
.path h3 { font-size: 18px; margin: 14px 0 6px; }
.path-icon { width: 88px; height: 88px; margin: 0 auto; stroke-width: 1.3; color: var(--navy); }
.path-link { padding-top: 0; }
.path-link h3 { margin-top: 14px; margin-bottom: 44px; }

/* The arrows: a gold line, with a head where it meets the next stop. */
.path li:not(:last-child)::after {
    content: "";
    position: absolute; top: 44px; height: 18px;
    left: calc(50% + 54px); right: calc(-50% + 54px);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='18' viewBox='0 0 14 18'%3E%3Cpath d='M2 2l9 7-9 7' fill='none' stroke='%23F4C542' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 14px 18px no-repeat,
        linear-gradient(var(--gold), var(--gold)) left center / calc(100% - 4px) 3px no-repeat;
}
.path-node:has(+ .path-link)::after { right: 0; background: linear-gradient(var(--gold), var(--gold)) left center / 100% 3px no-repeat; }
.path-link::after { left: 0 !important; }

@media (max-width: 760px) {
    .path { grid-template-columns: 1fr; gap: 0; }
    .path li:not(:last-child)::after,
    .path-node:has(+ .path-link)::after {
        position: static; display: block;
        width: 18px; height: 34px; margin: 12px auto;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='34' viewBox='0 0 18 34'%3E%3Cpath d='M9 2v28M2 23l7 8 7-8' fill='none' stroke='%23F4C542' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    .path-link h3 { margin: 0 0 6px; }
}

.one-team {
    display: flex; align-items: center; gap: clamp(20px, 3vw, 36px);
    background: var(--gold-soft);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 32px) clamp(22px, 4vw, 48px);
}
.one-team-icon { width: 76px; height: 76px; stroke-width: 1.4; flex-shrink: 0; }
.one-team > div { border-left: 1.5px solid rgba(18, 55, 70, 0.25); padding-left: clamp(20px, 3vw, 36px); }
.one-team h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 4px; }
.one-team p { font-size: clamp(19px, 1.8vw, 24px); margin: 0; }
.one-team--left h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.one-team--left p { font-size: 18px; }
@media (max-width: 600px) {
    .one-team { flex-direction: column; align-items: flex-start; }
    .one-team > div { border-left: 0; padding-left: 0; }
}

/* --------------------------------------------------------------------- FAQ -- */

.faq-head {
    display: flex; justify-content: space-between; align-items: baseline;
    flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px;
}
.faq details {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 16px 22px;
    font-family: var(--display); font-weight: 700; font-size: 18px;
    cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }
.faq-q { font: inherit; color: inherit; margin: 0; }

/* The area pages: towns as plain links, and the figures from the last coverage check. */
.place-links { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.place-links a { display: block; padding: 16px 20px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; font-weight: 600; }
.prose h2 { margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.place-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.place-table th, .place-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }

/* -------------------------------------------------------------- CTA band -- */

.cta-wrap { padding: 0 0 clamp(36px, 4vw, 56px); }
.section--light + .cta-wrap { background: var(--light); }
.cta-band {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
    flex-wrap: wrap;
    background: var(--navy); color: var(--chalk);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px);
}
.cta-photo {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 55%; height: 100%; object-fit: cover; z-index: -1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.cta-copy { flex: 1 1 420px; max-width: 680px; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 8px; }
.cta-band p { color: var(--chalk); font-size: clamp(18px, 1.6vw, 21px); }
.cta-band .postcode { margin-top: 18px; }
.cta-band .postcode input { border-color: transparent; }
.cta-band .postcode .hint { color: var(--on-navy-2); }
.cta-band .error { color: #FFB8AE; }
.cta-action { flex-shrink: 0; }
@media (max-width: 760px) {
    .cta-photo {
        width: 100%; opacity: 0.35;
        -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
                mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
    }
}

/* -------------------------------------------------------- the check, pages -- */

.page-head {
    padding: clamp(40px, 6vw, 80px) 0;
    background: var(--light);
    border-bottom: 1px solid var(--rule);
}
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); }
.page-head .lead { color: var(--ink); }
.page-head .panel { margin-top: 24px; }

.answer {
    display: grid; grid-template-columns: minmax(120px, 200px) 1fr;
    gap: clamp(24px, 4vw, 52px); align-items: start;
}
.answer > div { max-width: 680px; }
.answer .stamp { width: 100%; }
.addr { font-size: 16px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
@media (max-width: 640px) {
    .answer { grid-template-columns: 1fr; }
    .answer .stamp { max-width: 120px; }
}

.picker {
    list-style: none; margin: 28px 0 24px; padding: 0;
    max-width: 640px;
    background: var(--card);
    border: 1px solid var(--rule); border-radius: var(--radius);
    overflow: hidden;
}
.picker li + li { border-top: 1px solid var(--rule); }
.picker a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 58px; padding: 14px 20px;
    text-decoration: none; font-size: 18px; font-weight: 500;
}
.picker a:hover { background: var(--gold-pale); }
.picker a:focus-visible { outline-offset: -3px; }
.picker .icon { color: var(--navy); width: 20px; height: 20px; }

.network { margin-top: 44px; }
.network-name {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    font-size: clamp(21px, 2vw, 25px);
}
.network-badge {
    font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0;
    background: var(--gold-pale); padding: 4px 12px; border-radius: 999px;
}
.network-about { color: var(--ink-2); }
.network .packages { margin-top: 20px; }

/* "Tell us you're waiting". */
.interest {
    max-width: 560px;
    margin-top: 24px;
    background: var(--card);
    border: 1px solid var(--rule); border-radius: var(--radius);
    padding: clamp(20px, 3vw, 28px);
}
.interest > label:not(.tick) {
    display: block; margin: 0 0 8px;
    font-family: var(--display); font-weight: 800; font-size: 17px;
}
.interest .tick {
    display: flex; gap: 12px; align-items: flex-start;
    margin: 16px 0 18px; font-size: 16.5px; cursor: pointer;
}
.interest .tick input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.interest .hint { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; }

code { font-size: 15px; background: var(--tint); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ footer -- */

.site-footer {
    background: var(--navy);
    color: var(--chalk);
    padding: clamp(32px, 4vw, 44px) 0 28px;
}
.footer-top {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px 40px;
}
.footer-nav {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px clamp(20px, 3vw, 44px);
}
.footer-nav a { font-size: 15.5px; }
.footer-domain {
    font-family: var(--display); font-weight: 800; font-size: 20px;
    margin: 0;
}
.footer-bottom {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px;
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid var(--navy-line);
    font-size: 15px;
}
.footer-bottom p { color: var(--on-navy-2); margin-bottom: 10px; }
.footer-phone { color: var(--chalk); font-weight: 700; font-size: 17px; margin-right: 10px; }
.footer-dim { color: var(--on-navy-2); }
.footer-links { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--chalk); }
.footer-legal { font-size: 13.5px; }
@media (max-width: 760px) {
    .footer-bottom { grid-template-columns: 1fr; }
    .footer-top { align-items: flex-start; flex-direction: column; }
}

/* ------------------------------------------------------- the tracking strip -- */

.tracking {
    position: sticky; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 14px 24px;
    padding: 14px var(--gutter);
    background: var(--navy-deep); color: var(--chalk);
    border-top: 3px solid var(--gold);
    font-size: 16px;
}
.tracking p { margin: 0; max-width: 80ch; }
.tracking a { color: var(--gold); }
.tracking-actions { display: flex; gap: 10px; flex-shrink: 0; }
.tracking-btn {
    min-height: 44px; padding: 8px 18px;
    background: transparent; color: var(--chalk);
    border: 1.5px solid var(--chalk); border-radius: var(--radius-sm);
    font: 700 15.5px var(--body);
    cursor: pointer;
}
.tracking-btn:hover { background: rgba(246, 245, 239, 0.1); }
@media (max-width: 640px) {
    .tracking { flex-direction: column; align-items: stretch; }
    .tracking-btn { flex: 1; }
}

/* ------------------------------------------------------------------ motion -- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
