/* ==========================================================================
   The Local Page — site stylesheet
   Modern, friendly local-platform design: crisp white surfaces, emerald-teal
   brand, warm amber accents, soft shadows, pill controls.
   Fraunces display + Libre Franklin body (self-hosted, OFL).
   ========================================================================== */

/* ----- Fonts (self-hosted variable fonts, OFL) --------------------------- */
@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Libre Franklin';
    src: url('../fonts/LibreFranklin-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ----- Tokens ------------------------------------------------------------- */
:root {
    /* Brand */
    --brand: #0e7a5a;
    --brand-strong: #0a5f46;
    --brand-deep: #07332a;
    --brand-soft: #e4f4ec;
    --brand-softer: #f2faf6;
    --brand-bright: #34c48d;
    /* Accents */
    --accent: #e8930c;
    --accent-soft: #fdf3df;
    --error: #d64545;
    --error-soft: #fdecec;
    --ok: #0e7a5a;
    /* Neutrals */
    --ink: #14231d;
    --body-c: #3f5148;
    --muted: #6e7f77;
    --bg: #ffffff;
    --bg-soft: #f6faf8;
    --card: #ffffff;
    --line: #e4ece7;
    --line-strong: #cfdcd4;
    --focus: #37b287;
    /* Type */
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
    /* Layout */
    --wrap: 1160px;
    --gutter: 20px;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(7, 51, 42, 0.06), 0 1px 3px rgba(7, 51, 42, 0.05);
    --shadow-md: 0 2px 4px rgba(7, 51, 42, 0.04), 0 9px 24px rgba(7, 51, 42, 0.09);
    --shadow-lg: 0 4px 8px rgba(7, 51, 42, 0.06), 0 18px 44px rgba(7, 51, 42, 0.16);
}

/* ----- Reset-lite ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-c);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: -0.012em; margin: 0 0 0.5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.16rem; font-weight: 650; }
h4 { font-size: 1.03rem; }
p { margin: 0 0 0.9em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
dl, dt, dd { margin: 0; }
button { font: inherit; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--brand-deep); color: #fff; padding: 10px 18px;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
main.wrap { flex: 1 0 auto; padding-block: 30px 64px; }
main.page-home { padding-top: 20px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ----- Masthead -------------------------------------------------------------- */
.masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.masthead__main {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-block: 12px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--ink);
    flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__word {
    font-family: var(--serif);
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    white-space: nowrap;
}
.brand__local { color: var(--brand); }

.nav-primary { flex: 1 1 auto; }
.nav-primary ul {
    display: flex; flex-wrap: wrap; gap: 4px;
    list-style: none; margin: 0; padding: 0;
    justify-content: center;
}
.nav-primary a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--body-c);
    font-weight: 550;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-primary a:hover { color: var(--brand-strong); background: var(--brand-softer); text-decoration: none; }
.nav-primary a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); font-weight: 650; }

.masthead__tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.masthead__account { display: flex; gap: 4px; }
.masthead__account a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 550;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}
.masthead__account a:hover { color: var(--brand-strong); background: var(--brand-softer); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 8px 16px;
    min-height: 40px;
    color: var(--brand-strong);
    font-weight: 650;
    font-size: 0.86rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.chip:hover { background: #d8efe4; border-color: var(--brand); box-shadow: var(--shadow-sm); }
.chip__pin { width: 15px; height: 15px; color: var(--brand); }

.burger {
    display: none;
    flex-direction: column; justify-content: center; gap: 4px;
    width: 44px; height: 44px;
    background: none; border: 1px solid var(--line-strong); border-radius: 12px;
    cursor: pointer;
}
.burger__bar { width: 20px; height: 2px; background: var(--ink); margin-inline: auto; border-radius: 2px; }

@media (max-width: 1020px) {
    .masthead__account { display: none; }
}
@media (max-width: 900px) {
    .masthead__main { flex-wrap: wrap; gap: 12px; }
    .brand { order: 1; }
    .masthead__tools { order: 2; margin-left: auto; }
    .burger { display: flex; order: 3; }
    .nav-primary { order: 4; flex-basis: 100%; display: none; }
    .nav-primary.is-open {
        display: block;
        position: absolute;
        top: calc(100% + 6px);
        left: var(--gutter);
        right: var(--gutter);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 8px;
    }
    .nav-primary ul { flex-direction: column; gap: 2px; }
    .nav-primary a { display: block; padding: 12px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
    .masthead__account { display: flex; flex-direction: column; }
    .masthead__account a { display: block; }
}
@media (max-width: 900px) and (min-width: 901px) {
    /* no-op guard */
}
@media (max-width: 560px) {
    .chip__label { max-width: 24vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .masthead__account { display: none; }
}

/* Lean masthead (national pages with no area context, e.g. the homepage):
   no section nav or burger, so keep the account links visible and
   right-align the tools. */
.masthead--lean .masthead__tools { margin-left: auto; }
@media (max-width: 1020px) {
    .masthead--lean .masthead__account { display: flex; }
}
@media (max-width: 560px) {
    .masthead--lean .masthead__account { display: flex; }
    .masthead--lean .masthead__account a { padding: 5px 9px; font-size: 0.82rem; }
}

/* Legacy top-bar classes (kept so any cached markup still renders sanely) */
.masthead__top { display: none; }

/* ----- Flashes / notices -------------------------------------------------------- */
.flashes { margin-bottom: 18px; }
.flash {
    padding: 13px 16px;
    border-left: 4px solid var(--brand);
    background: var(--brand-softer);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 0 0 10px;
    box-shadow: var(--shadow-sm);
}
.flash--error { border-left-color: var(--error); background: var(--error-soft); }
.flash--warning { border-left-color: var(--accent); background: var(--accent-soft); }
.flash--info { border-left-color: var(--brand); background: var(--brand-softer); }

/* ----- Kickers & sections --------------------------------------------------------- */
.kicker {
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 8px;
}
.kicker--light { color: #a9dcc6; }
.section { margin-bottom: 40px; }
.section__head {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 18px;
}
.section__head h2 { margin: 0; flex: 1 1 auto; }
.section__head .section__more { margin: 0; font-size: 0.88rem; font-weight: 550; }
.section__head--centre { flex-direction: column; align-items: center; text-align: center; max-width: 640px; margin-inline: auto; }
.section__note { font-size: 0.92rem; color: var(--muted); }
.section--side h2 { font-size: 1.2rem; }
.section--plain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 40px; box-shadow: var(--shadow-sm); }

.emptysection {
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius);
    padding: 20px 22px;
    color: var(--muted);
    font-size: 0.94rem;
    background: var(--bg-soft);
}
.helpnote { font-size: 0.9rem; color: var(--muted); }
.filternote { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.plainlist { list-style: none; padding: 0; }
.plainlist li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.miniheading { font-family: var(--sans); font-size: 0.8rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 16px 0 4px; }

/* ----- Hero (light pages: find-area, section picker) ------------------------------ */
.hero { padding: 14px 0 30px; margin-bottom: 30px; text-align: center; }
.hero--compact { padding: 10px 0 26px; }
.hero__intro { max-width: 680px; margin-inline: auto; }
.hero__title {
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    font-weight: 640;
    margin-bottom: 14px;
}
.hero__lede { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: var(--muted); max-width: 54ch; margin: 0 auto 24px; }

/* ----- Home hero (the hub: search is the whole point) ------------------------------ */
.hero-home { margin-bottom: 44px; }
.hero-home__panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1.6px) 0 0 / 26px 26px,
        linear-gradient(138deg, #062b23 0%, #0a5f46 52%, #0e7a5a 100%);
    padding: clamp(46px, 7vw, 82px) clamp(20px, 6vw, 80px) clamp(42px, 6vw, 68px);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.hero-home__panel::before,
.hero-home__panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-home__panel::before {
    width: 520px; height: 520px;
    right: -140px; top: -220px;
    background: radial-gradient(circle, rgba(52, 196, 141, 0.35) 0%, transparent 65%);
}
.hero-home__panel::after {
    width: 460px; height: 460px;
    left: -170px; bottom: -250px;
    background: radial-gradient(circle, rgba(240, 170, 60, 0.3) 0%, transparent 65%);
}
.hero-home__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(240, 170, 60, 0.16);
    border: 1px solid rgba(240, 180, 80, 0.42);
    color: #ffe3b8;
    font-size: 0.84rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}
.pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero-home__title {
    color: #ffffff;
    font-size: clamp(2.5rem, 6.4vw, 4.35rem);
    font-weight: 640;
    line-height: 1.06;
    margin-bottom: 16px;
}
.hero-home__lede {
    color: #d7efe3;
    font-size: clamp(1.04rem, 2.2vw, 1.24rem);
    max-width: 56ch;
    margin: 0 auto 30px;
}
.hero-home .locsearch { max-width: 660px; margin-inline: auto; }
.hero-home .locsearch__label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero-home .locsearch__status { color: #bfe6d4; text-align: left; }

/* Trust chips under the hero search */
.trustchips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 26px 0 0;
    padding: 0;
}
.trustchip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e7f7ee;
    font-size: 0.85rem;
    font-weight: 550;
}
.trustchip svg { width: 16px; height: 16px; color: var(--brand-bright); flex: 0 0 auto; }
.trustchip:nth-child(2) svg { color: #7fd4f2; }
.trustchip:nth-child(3) svg { color: #f5c069; }
@media (max-width: 480px) {
    .hero-home__panel { padding-inline: 24px; }
    .trustchip { padding: 7px 12px; font-size: 0.8rem; gap: 6px; }
    .trustchip svg { width: 14px; height: 14px; }
}

/* ----- Location search ------------------------------------------------------------------ */
.locsearch { max-width: 620px; margin-inline: auto; }
.locsearch__label { display: block; font-weight: 650; margin-bottom: 10px; color: var(--ink); }
.locsearch__box { position: relative; }
.locsearch__icon {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; color: var(--muted); pointer-events: none;
}
.locsearch__input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    font: inherit;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    background: var(--card);
    min-height: 56px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.locsearch__input:hover { border-color: var(--brand); }
.locsearch__input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 122, 90, 0.16), var(--shadow-sm);
}
.hero-home .locsearch__input {
    border: 0;
    padding: 18px 24px 18px 54px;
    min-height: 62px;
    font-size: 1.04rem;
    box-shadow: var(--shadow-lg);
}
.hero-home .locsearch__input:focus { box-shadow: 0 0 0 4px rgba(52, 196, 141, 0.45), var(--shadow-lg); }
.hero-home .locsearch__icon { left: 22px; color: var(--brand); width: 22px; height: 22px; }
.locsearch__results {
    position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px);
    list-style: none; margin: 0; padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 340px; overflow-y: auto;
    text-align: left;
}
.locsearch__results li { margin: 0; }
.locsearch__option {
    display: block;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--ink);
}
.locsearch__option .locsearch__optlabel { font-weight: 650; display: block; }
.locsearch__option .locsearch__optmeta { font-size: 0.82rem; color: var(--muted); }
.locsearch__option.is-active, .locsearch__option:hover { background: var(--brand-softer); }
.locsearch__option.is-inactive .locsearch__optlabel { color: var(--muted); }
.locsearch__hint { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.locsearch__status { font-size: 0.85rem; color: var(--muted); min-height: 1.2em; margin: 8px 2px 0; }
.locsearch__message {
    padding: 11px 14px; margin-top: 6px;
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--body-c);
}

/* ----- Feature grid (what's inside) ------------------------------------------------------ */
.featuregrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.featurecard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.featurecard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}
.featurecard h3 { margin-bottom: 6px; }
.featurecard p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.featurecard__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 13px;
    margin-bottom: 14px;
}
.featurecard__icon svg { width: 24px; height: 24px; }
.featurecard__icon--biz { background: var(--brand-soft); color: var(--brand); }
.featurecard__icon--jobs { background: #f1eafd; color: #7c3aed; }
.featurecard__icon--events { background: #fdeee2; color: #ea580c; }
.featurecard__icon--comm { background: #fce7f1; color: #db2777; }
.featurecard__icon--weather { background: #e3f4fc; color: #0284c7; }
@media (max-width: 980px) { .featuregrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .featuregrid { grid-template-columns: 1fr; } }

/* ----- How it works / steps --------------------------------------------------------------- */
.steps {
    list-style: none; counter-reset: step; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 980px;
    margin-inline: auto;
}
.steps li {
    counter-increment: step;
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 22px 22px;
    box-shadow: var(--shadow-sm);
}
.steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.steps__more { margin-top: 22px; text-align: center; }

/* ----- CTA cards (businesses / community) ---------------------------------------------------- */
.ctacards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 46px;
}
.ctacard {
    border-radius: var(--radius-lg);
    padding: 30px 28px;
}
.ctacard h3 { font-size: 1.45rem; margin-bottom: 8px; }
.ctacard p { font-size: 0.96rem; }
.ctacard--biz { background: var(--brand-soft); }
.ctacard--biz h3 { color: var(--brand-deep); }
.ctacard--biz p { color: #2f5c4b; }
.ctacard--comm { background: var(--accent-soft); }
.ctacard--comm h3 { color: #6e4203; }
.ctacard--comm p { color: #5c471e; }
.ctacard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* ----- Launch grid (area picker) ------------------------------------------------------------------ */
.launchgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.launchcard {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.launchcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.launchcard__title { margin-bottom: 4px; font-size: 1.08rem; }
.launchcard__title a { color: var(--ink); text-decoration: none; }
.launchcard__title a:hover { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.launchcard__meta { font-size: 0.82rem; color: var(--muted); margin: 0; }
.launchcard__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.88rem; margin: 0; }

/* Legacy popular-areas list (no longer used on the homepage) */
.popular { margin-top: 26px; }
.popular__heading { font-size: 0.8rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.popular__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 8px 0 0; }
.popular__context { color: var(--muted); }

/* Legacy CTA bands (kept for compatibility) */
.band { padding: 30px 0; margin: 38px 0; }
.band--business { background: var(--brand-deep); border-radius: var(--radius-lg); padding: 36px 28px; }
.band--community { background: var(--brand-softer); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 28px; }
.band__body { max-width: 64ch; }
.band__body h2 { color: inherit; }
.band--business .band__body h2 { color: #f2fbf6; }
.band--business .band__body p { color: #bfe0cf; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }

/* ----- Breadcrumbs ----------------------------------------------------------------------------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 0.84rem; }
.crumbs li { display: flex; align-items: center; gap: 6px; margin: 0; }
.crumbs li + li::before { content: "›"; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-strong); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ----- Area header (LA / place pages) -------------------------------------------------------------- */
.areahead {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}
.areahead__title { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 10px; }
.areahead__intro { font-size: 1.03rem; color: var(--muted); max-width: 58ch; }
.areahead__places { margin-top: 18px; }
.areahead__placeslabel {
    font-size: 0.72rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 8px;
}
.areahead__places ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.areahead__places a {
    display: inline-flex; align-items: center;
    padding: 7px 14px; min-height: 36px;
    background: var(--brand-softer); border: 1.5px solid transparent; border-radius: 999px;
    font-size: 0.87rem; font-weight: 600; text-decoration: none; color: var(--brand-strong);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.areahead__places a:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
@media (max-width: 860px) { .areahead { grid-template-columns: 1fr; } }

/* ----- Weather strip --------------------------------------------------------------------------------- */
.weather {
    background: linear-gradient(150deg, #f0f9f4 0%, #e6f4fa 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.weather__now { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.weather__icon { color: var(--brand); display: inline-flex; }
.weather__icon svg { width: 36px; height: 36px; }
.weather__temp { font-family: var(--mono); font-size: 2.05rem; font-weight: 700; margin: 0; line-height: 1; color: var(--ink); }
.weather__unit { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.weather__cond { margin-right: auto; }
.weather__state { font-weight: 650; margin: 0; color: var(--ink); }
.weather__feels { font-size: 0.82rem; color: var(--muted); margin: 0; }
.weather__stats { display: flex; gap: 18px; padding-right: 2px; }
.weather__stats div { text-align: right; }
.weather__stats dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.weather__stats dd { font-family: var(--mono); font-weight: 650; color: var(--ink); }
.weather__days { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid rgba(19, 51, 42, 0.1); }
.weather__day { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.76rem; text-align: center; }
.weather__daylabel { font-weight: 650; color: var(--muted); }
.weather__dayicon { color: var(--brand); }
.weather__dayicon svg { width: 18px; height: 18px; }
.weather__daytemps { font-family: var(--mono); }
.weather__daytemps strong { color: var(--ink); }
.weather__dayrain { color: #0a7ea4; font-size: 0.7rem; }
.weather__attr { font-size: 0.7rem; color: var(--muted); margin: 10px 0 0; border-top: 1px dotted var(--line-strong); padding-top: 8px; }

/* ----- Area grid (main + sidebar) ------------------------------------------------------------------------ */
.areagrid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: 40px; }
.areagrid__side { min-width: 0; }
@media (max-width: 900px) { .areagrid { grid-template-columns: 1fr; gap: 26px; } }

.is-sponsored { padding-left: 14px; border-left: 4px solid var(--accent); }

/* ----- Badges ---------------------------------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}
.badge--original { color: var(--brand-strong); background: var(--brand-soft); }
.badge--external { color: #5b6b7d; background: #edf1f6; }
.badge--sponsored { color: #8a5a05; background: var(--accent-soft); }
.badge--featured { color: #8a5a05; background: var(--accent-soft); }
.badge--verified { color: var(--brand-strong); background: var(--brand-soft); }
.badge--unclaimed { color: var(--muted); background: var(--bg-soft); }
.badge--plain { color: var(--muted); background: var(--bg-soft); }

/* ----- Directory: category grid, rows --------------------------------------------------------------------------- */
.dirsearch { display: flex; gap: 10px; margin-bottom: 20px; }
.dirsearch--wide { max-width: 560px; }
.dirsearch input[type="search"] {
    flex: 1 1 auto;
    padding: 12px 16px;
    font: inherit;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    background: var(--card);
    min-height: 48px;
    box-shadow: var(--shadow-sm);
}
.dirsearch input[type="search"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 122, 90, 0.14);
}
.catgrid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0; }
.catgrid__item {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
    background: var(--card); box-shadow: var(--shadow-sm);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.catgrid__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.catgrid__name { font-family: var(--sans); font-size: 0.97rem; font-weight: 650; margin: 0 0 7px; }
.catgrid__name a { text-decoration: none; color: var(--ink); }
.catgrid__name a:hover { color: var(--brand-strong); }
.catgrid__subs { list-style: none; padding: 0; margin: 0; font-size: 0.84rem; }
.catgrid__subs a { color: var(--muted); }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.subcats__label { font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 0; }
.subcats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; }
.subcats a {
    display: inline-block; padding: 6px 13px;
    background: var(--brand-softer); border: 1.5px solid transparent; border-radius: 999px;
    font-size: 0.85rem; font-weight: 550; text-decoration: none; color: var(--brand-strong);
    transition: background 0.14s ease, border-color 0.14s ease;
}
.subcats a:hover { border-color: var(--brand); background: var(--brand-soft); }

.bizrow-list { list-style: none; padding: 0; margin: 0; }
.bizrow {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.bizrow:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.bizrow--featured { border-left: 4px solid var(--accent); background: linear-gradient(90deg, #fffaf0 0%, #fffaf0 3%, #fff 12%); }
.bizrow__kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted); margin: 0 0 5px; }
.bizrow__title { font-size: 1.18rem; margin: 0 0 6px; }
.bizrow__title a { text-decoration: none; color: var(--ink); }
.bizrow__title a:hover { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.bizrow__desc { margin: 0; color: var(--body-c); font-size: 0.95rem; }
.bizrow__contact { display: flex; gap: 16px; margin: 10px 0 0; font-size: 0.9rem; font-weight: 650; }
.bizrow__site, .bizrow__tel { text-decoration: none; }
.bizrow__tel { color: var(--brand-strong); }

.filterbar {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: end;
    padding: 16px 18px; margin-bottom: 22px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.filterbar__field { display: flex; flex-direction: column; gap: 5px; }
.filterbar__field label { font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.filterbar__field select, .filterbar__field input {
    padding: 10px 13px; font: inherit; border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm); background: #fff; min-height: 44px;
}
.filterbar__field select:focus, .filterbar__field input:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 122, 90, 0.14);
}

/* ----- Sports -------------------------------------------------------------------------------------------------------- */
.sportrow-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sportrow-list--full { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.sportrow {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.sportrow:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.sportrow__kicker { font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 4px; }
.sportrow__name { font-family: var(--serif); font-size: 1.22rem; margin: 0 0 8px; color: var(--ink); }
.sportrow__line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 5px; font-size: 0.93rem; color: var(--body-c); }
.sportrow__line .badge { flex: 0 0 auto; }
.sportrow__line.muted { color: var(--muted); font-style: italic; }

/* ----- Traffic & travel ---------------------------------------------------------------------------------------------- */
.trafficlist { list-style: none; padding: 0; margin: 0; }
.trafficlist--full { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.trafficrow {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.trafficrow:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.trafficrow__kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 5px; }
.trafficrow__title { font-size: 1.05rem; margin: 0 0 5px; color: var(--ink); }
.trafficrow__meta { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ----- Events -------------------------------------------------------------------------------------------------------- */
.eventlist { list-style: none; padding: 0; margin: 0; }
.eventrow {
    display: flex; gap: 14px; padding: 15px 18px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); margin-bottom: 10px; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.eventrow:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.eventrow__body { min-width: 0; flex: 1; }
.eventrow__kicker { font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 4px; }
.eventrow__title { font-size: 1.05rem; margin: 0 0 4px; }
.eventrow__title a { text-decoration: none; color: var(--ink); }
.eventrow__title a:hover { color: var(--brand-strong); }
.eventrow__meta { font-size: 0.83rem; color: var(--muted); margin: 0; }
.dateblock {
    flex: 0 0 54px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--brand-soft); padding: 7px 2px; height: 56px;
}
.dateblock__day { font-family: var(--mono); font-size: 1.18rem; font-weight: 700; line-height: 1.1; color: var(--brand-strong); }
.dateblock__month { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.eventday {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--brand-strong); margin: 24px 0 8px; display: flex; align-items: center; gap: 10px;
}
.eventday::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eventfacts div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.eventfacts dt { flex: 0 0 110px; font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding-top: 2px; }
.eventfacts dd { margin: 0; }

/* ----- Jobs -------------------------------------------------------------------------------------------------------------- */
.joblist { list-style: none; padding: 0; margin: 0; }
.jobrow {
    padding: 17px 20px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); margin-bottom: 11px; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.jobrow:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.jobrow--featured { border-left: 4px solid var(--accent); background: linear-gradient(90deg, #fffaf0 0%, #fffaf0 3%, #fff 12%); }
.jobrow__kicker { font-size: 0.78rem; color: var(--muted); margin: 0 0 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jobrow__title { font-size: 1.12rem; margin: 0 0 5px; }
.jobrow__title a { text-decoration: none; color: var(--ink); }
.jobrow__title a:hover { color: var(--brand-strong); }
.jobrow__meta { font-size: 0.86rem; color: var(--muted); margin: 0 0 7px; }
.jobrow__salary { font-family: var(--mono); font-size: 0.87rem; font-weight: 650; color: var(--brand-strong); margin: 0 0 3px; }
.jobrow__deadline { font-size: 0.8rem; color: var(--error); margin: 0; }
.jobtag {
    display: inline-block; font-size: 0.72rem; font-weight: 650;
    padding: 2px 10px; margin-right: 4px;
    background: var(--brand-softer); border: 1px solid transparent; border-radius: 999px;
    color: var(--brand-strong);
}

/* ----- Notices ------------------------------------------------------------------------------------------------------------------ */
.noticelist { list-style: none; padding: 0; margin: 0; }
.noticerow {
    padding: 14px 18px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.noticerow__kicker { font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 4px; }
.noticerow__title { font-size: 1.03rem; margin: 0 0 4px; }
.noticerow__meta { font-size: 0.8rem; color: var(--muted); margin: 0; }
.noticerow__body { font-size: 0.93rem; color: var(--body-c); margin: 6px 0 0; }
.noticerow--full { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 14px; box-shadow: var(--shadow-sm); }

/* ----- Business profile ----------------------------------------------------------------------------------------------------------- */
.bizprofile__head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.bizprofile__badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.bizprofile__unclaimed-note { font-size: 0.88rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 12px 15px; border-radius: var(--radius-sm); }
.bizprofile__summary { font-size: 1.05rem; color: var(--body-c); }
.bizprofile__body { font-size: 1rem; }
.bizprofile__pricing { font-family: var(--mono); font-size: 0.92rem; }
.contactcard {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
}
.contactcard h2 { font-size: 1.22rem; }
.contactcard__address, .contactcard__area { font-size: 0.94rem; }
.contactcard__hours { font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 18px 0 5px; }
.hourslist div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: 0.9rem; }
.hourslist dt { color: var(--muted); }
.hourslist dd { font-family: var(--mono); }
.contactcard__social { display: flex; gap: 14px; margin-top: 12px; }
.contactcard__areas { font-size: 0.88rem; color: var(--muted); }
.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); display: block; }
.chips-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips-list li {
    font-size: 0.82rem; padding: 5px 12px; margin: 0;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
}
.chips-list--skills li { border-color: #b9e4d2; color: var(--brand-strong); background: var(--brand-softer); }

/* ----- Jobseekers ----------------------------------------------------------------------------------------------------------------------- */
.jslist { list-style: none; padding: 0; margin: 0; }
.jsrow {
    display: flex; gap: 18px; padding: 19px 20px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); margin-bottom: 11px; box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}
.jsrow__main { flex: 1 1 320px; min-width: 0; }
.jsrow__name { font-size: 1.1rem; margin: 0 0 4px; }
.jsrow__meta { font-size: 0.84rem; color: var(--muted); margin: 0 0 6px; }
.jsrow__headline { font-size: 0.96rem; color: var(--body-c); margin: 0 0 8px; }
.jsrow__side { flex: 0 1 200px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.jsrow__visibility { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }

/* ----- Ad slot (always labelled) ------------------------------------------------------------------------------------------------------------ */
.adslot {
    background: #fffaf2;
    border: 1px solid #ecd9ae;
    border-radius: var(--radius);
    padding: 12px 16px 16px;
    margin-bottom: 26px;
}
.adslot__label {
    font-size: 0.64rem; font-weight: 750; letter-spacing: 0.15em; text-transform: uppercase;
    color: #a07417; margin: 0 0 8px;
    border-bottom: 1px dotted #d9bd85; padding-bottom: 6px;
}
.adslot__link { display: block; text-decoration: none; color: inherit; }
.adslot__link:hover .adslot__title { text-decoration: underline; }
.adslot img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 8px; }
.adslot__title { font-family: var(--serif); font-size: 1.06rem; font-weight: 650; margin: 0 0 4px; color: var(--ink); }
.adslot__text { font-size: 0.9rem; color: var(--body-c); margin: 0 0 6px; }
.adslot__cta { font-size: 0.8rem; font-weight: 750; color: var(--brand-strong); margin: 0; }

/* ----- Page head (section pages) --------------------------------------------------------------------------------------------------------------- */
.pagehead { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pagehead--centre { text-align: center; max-width: 580px; margin-inline: auto; }
.pagehead__lede { font-size: 1.03rem; color: var(--muted); max-width: 66ch; margin: 0; }
.pagehead--centre .pagehead__lede { margin-inline: auto; }

/* ----- Pagination -------------------------------------------------------------------------------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0 0; }
.pagination__pages { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pagination a, .pagination__gap {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    border: 1.5px solid var(--line-strong); border-radius: 999px;
    text-decoration: none; color: var(--body-c); font-weight: 550; font-size: 0.9rem;
    background: var(--card);
    transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-softer); }
.pagination__page.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination__gap { border: 0; background: none; }
.pagination__prev, .pagination__next { font-size: 0.86rem; }

/* ----- Forms ---------------------------------------------------------------------------------------------------------------------------------------- */
.formwrap { max-width: 720px; }
.form { display: block; }
.field { margin-bottom: 20px; }
.field__label { display: block; font-weight: 650; margin-bottom: 7px; color: var(--ink); }
.field__req { color: var(--error); }
.field__input {
    display: block; width: 100%;
    padding: 12px 15px;
    font: inherit;
    color: var(--ink);
    background: var(--card);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    min-height: 48px;
}
textarea.field__input { min-height: 0; resize: vertical; }
.field__input:hover { border-color: var(--muted); }
.field__input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 122, 90, 0.14);
}
.field__hint { font-size: 0.82rem; color: var(--muted); margin: 7px 0 0; }
.field__error { font-size: 0.85rem; color: var(--error); font-weight: 650; margin: 6px 0 0; }
.field--error .field__input { border-color: var(--error); }
fieldset.field, .field--terms, .field--consent {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px 8px; background: var(--card);
    box-shadow: var(--shadow-sm);
}
legend { font-weight: 700; padding-inline: 8px; color: var(--ink); }
.check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; }
.check input[type="checkbox"], .check input[type="radio"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }
.check span { font-size: 0.94rem; }
.form__submit { margin-top: 26px; }
.form__small { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

/* Toggle switch (marketing preference) */
.toggle { display: flex; align-items: center; gap: 16px; cursor: pointer; margin: 2px 0 10px; }
.toggle__text { flex: 1 1 auto; font-size: 0.94rem; color: var(--body-c); }
.toggle__text strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.toggle__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__switch {
    flex: 0 0 auto;
    position: relative;
    width: 50px; height: 28px;
    border-radius: 999px;
    background: #cbd6cf;
    transition: background 0.18s ease;
}
.toggle__switch::after {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(7, 51, 42, 0.25);
    transition: transform 0.18s ease;
}
.toggle__input:checked ~ .toggle__switch { background: var(--brand); }
.toggle__input:checked ~ .toggle__switch::after { transform: translateX(22px); }
.toggle__input:focus-visible ~ .toggle__switch { outline: 3px solid var(--focus); outline-offset: 2px; }
.toggle:hover .toggle__switch { background: #b9c8bf; }
.toggle:hover .toggle__input:checked ~ .toggle__switch { background: var(--brand-strong); }

/* ----- Buttons -------------------------------------------------------------------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 48px;
    font: inherit; font-weight: 650;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: var(--card);
    color: var(--brand-strong);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
                box-shadow 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-strong); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--body-c); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--card); }
.band--business .btn--ghost, .hero-home .btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.band--business .btn--ghost:hover, .hero-home .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.ctacard--comm .btn--ghost { border-color: #cdb684; color: #6e4203; }
.ctacard--comm .btn--ghost:hover { border-color: #8a5800; color: #6e4203; background: #fff; }
.btn--large { padding: 14px 30px; font-size: 1.05rem; }
.btn--small { padding: 7px 15px; min-height: 36px; font-size: 0.85rem; }
.btn--full { width: 100%; }
.inlineform { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.band__actions .inlineform { margin: 0; }

/* ----- Auth pages ------------------------------------------------------------------------------------------------------------------------------------- */
.authwrap { max-width: 430px; margin-inline: auto; }
.authwrap__alt { text-align: center; margin-top: 18px; }
.form--auth { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }

/* ----- Article & prose pages ------------------------------------------------------------------------------------------------------------------------------ */
.article { max-width: 720px; }
.article__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article__origin, .article__sponsored { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.86rem; color: var(--muted); }
.article__summary { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--body-c); }
.article__meta { font-size: 0.84rem; color: var(--muted); }
.article__body { font-size: 1.06rem; line-height: 1.72; }
.article__body p { margin-bottom: 1.1em; }
.article__body h2 { margin-top: 1.6em; }
.article__body blockquote {
    margin: 1.4em 0; padding: 8px 22px;
    border-left: 4px solid var(--brand); color: var(--body-c); font-family: var(--serif); font-size: 1.1rem;
    background: var(--brand-softer); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prosepage { max-width: 760px; }
.prose { font-size: 1rem; }
.prose h2 { margin-top: 1.8em; }
.reviewnote {
    background: var(--accent-soft); border: 1px solid #ecd9ae; border-radius: var(--radius-sm);
    padding: 13px 16px; margin-bottom: 24px; font-size: 0.9rem;
}
.simpletable { font-size: 0.92rem; }
.simpletable th, .simpletable td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.simpletable th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }

/* ----- Events / jobs detail pages ---------------------------------------------------------------------------------------------------------------------------- */
.eventpage, .jobpage { max-width: 760px; }
.eventpage__head, .jobpage__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.eventpage__body, .jobpage__body { font-size: 1.02rem; line-height: 1.7; }
.eventpage__meta, .jobpage__meta { font-size: 0.82rem; color: var(--muted); margin-top: 22px; }
.jobpage__badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.jobpage__expired { background: var(--error-soft); border: 1px solid #f0c1c1; border-radius: var(--radius-sm); padding: 11px 15px; }
.jobpage.is-expired .jobpage__title { color: var(--muted); }

/* ----- Pricing (advertise) ----------------------------------------------------------------------------------------------------------------------------------- */
.pricelist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pricecard {
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--card); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.pricecard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pricecard__head h3 { margin: 0; font-size: 1.1rem; }
.pricecard__price { font-family: var(--mono); font-weight: 700; font-size: 1.08rem; color: var(--brand-strong); margin: 0; }
.pricecard__price span { font-family: var(--sans); font-size: 0.76rem; color: var(--muted); font-weight: 500; }
.pricecard__desc { font-size: 0.9rem; color: var(--body-c); }
.pricecard__placement { font-size: 0.78rem; color: var(--muted); }
.pricenote { font-size: 0.85rem; color: var(--muted); max-width: 70ch; }

/* ----- Submitted / error / not-launched ---------------------------------------------------------------------------------------------------------------------------- */
.submitted, .errorpage, .notlaunched { max-width: 620px; padding: 30px 0; }
.errorpage__links { list-style: none; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.notlaunched__lede { font-size: 1.05rem; }
.notlaunched__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 30px; }

/* ----- Footer -------------------------------------------------------------------------------------------------------------------------------------------------------- */
.footer {
    margin-top: auto;
    background: var(--brand-deep);
    color: #cfe2d8;
    padding: 52px 0 30px;
    font-size: 0.92rem;
}
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__wordmark { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: #ffffff; margin: 0 0 6px; }
.footer__wordmark span { color: var(--brand-bright); }
.footer__tagline { font-family: var(--serif); font-style: italic; color: #8fd4b8; margin: 0 0 14px; }
.footer__blurb { font-size: 0.87rem; color: #a9c6b8; }
.footer__heading { font-family: var(--sans); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; color: #8fd4b8; margin: 0 0 12px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 9px; }
.footer a { color: #dcebe2; text-decoration: none; }
.footer a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__base p { margin: 0; font-size: 0.78rem; color: #92ac9f; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

/* ----- Cookie notice -------------------------------------------------------------------------------------------------------------------------------------------------------- */
.cookienotice {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 150;
    width: min(760px, calc(100% - 28px));
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.cookienotice__body { display: flex; gap: 14px; align-items: center; padding: 15px 18px; flex-wrap: wrap; }
.cookienotice__body p { margin: 0; font-size: 0.83rem; flex: 1 1 380px; color: var(--body-c); }
.cookienotice a { color: var(--brand-strong); font-weight: 650; }

/* ----- Print ----------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media print {
    .masthead__tools, .burger, .footer, .cookienotice, .adslot, .pagination, .dirsearch, .filterbar { display: none !important; }
    .masthead { position: static; }
    body { background: #fff; }
}
