:root {
    --lookout-navy: #0B2D5B;
    --lookout-teal: #00BAA6;
}

body {
    color: var(--lookout-navy);
    background: #f7fafb;
}

.site-header {
    background: var(--lookout-navy);
    color: #fff;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5.5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    flex-shrink: 0;
}

.site-brand:hover { color: #fff; }
.site-brand-icon { display: block; }
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.site-brand-name { font-size: 1.25rem; font-weight: 700; }
.site-brand-tagline { color: #b8eae5; font-size: .72rem; margin-top: .2rem; }

.site-navigation,
.site-nav-links,
.site-account-actions { display: flex; align-items: center; }
.site-navigation { gap: 1.25rem; }
.site-nav-links { gap: 1rem; }
.site-account-actions { gap: .5rem; }
.site-nav-links a,
.site-nav-links span { color: #fff; font-size: .9rem; white-space: nowrap; text-decoration: none; }
.site-nav-links a:hover { color: var(--lookout-teal); }
.site-nav-links a[aria-current="page"] { color: var(--lookout-teal); font-weight: 700; }
.site-nav-links span[aria-disabled="true"] { opacity: .65; cursor: default; }
.site-account-actions button {
    border: 1px solid #fff;
    border-radius: .35rem;
    background: transparent;
    color: #fff;
    padding: .4rem .7rem;
    font-size: .85rem;
    white-space: nowrap;
}
.site-account-actions .site-join-button { background: var(--lookout-teal); border-color: var(--lookout-teal); color: #062c36; }
.site-account-actions button:disabled { opacity: .7; cursor: not-allowed; }
.site-menu-toggle { display: none; }

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid var(--lookout-teal);
    outline-offset: 4px;
}

main { width: 100%; }
main h1 { color: var(--lookout-navy); }
main .lead { color: #007c70; }
.site-footer { border-top: 1px solid #d9e4e8; }

@media (max-width: 1199.98px) {
    .site-header-inner { flex-wrap: wrap; min-height: 4.5rem; gap: 0; }
    .site-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border: 1px solid #b8eae5;
        border-radius: .35rem;
        background: transparent;
        color: #fff;
    }
    .site-menu-toggle-bars { display: flex; flex-direction: column; gap: 5px; }
    .site-menu-toggle-bars span { display: block; width: 21px; height: 2px; background: currentColor; }
    .site-navigation { display: none; flex-basis: 100%; padding: 0 0 1rem; }
    .site-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
    .site-nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav-links a,
    .site-nav-links span { display: block; padding: .65rem .25rem; }
    .site-account-actions { padding-top: .25rem; }
}

@media (max-width: 400px) {
    .site-brand-name { font-size: 1.1rem; }
    .site-brand-tagline { font-size: .62rem; }
    .site-brand-icon { width: 32px; height: 32px; }
}

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(0, 186, 166, .4) 0 13%, transparent 13.2%),
        radial-gradient(circle at 77% 73%, rgba(0, 186, 166, .2) 0 20%, transparent 20.2%),
        linear-gradient(120deg, #082448 12%, #0B2D5B 58%, #14596c 100%);
}

.home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 26rem;
    height: 26rem;
    right: -8rem;
    bottom: -16rem;
    border: 3rem solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.home-hero-inner {
    display: flex;
    align-items: center;
    min-height: 34rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.home-hero-content { width: min(100%, 48rem); }
.home-hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.035em;
    max-width: 14ch;
    margin-bottom: 1.25rem;
}
.home-hero-intro {
    color: #e7f2f4;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    max-width: 38rem;
    margin-bottom: 2rem;
}
.location-search {
    background: #fff;
    color: var(--lookout-navy);
    border-radius: .8rem;
    padding: 1.25rem;
    box-shadow: 0 1.2rem 2.5rem rgba(0, 15, 35, .24);
}
.location-search label { display: block; font-weight: 700; margin-bottom: .65rem; }
.location-search-controls { display: flex; gap: .7rem; }
.location-search input {
    min-width: 0;
    width: 100%;
    height: 3.25rem;
    border: 1px solid #849aaa;
    border-radius: .4rem;
    padding: .7rem .9rem;
    color: var(--lookout-navy);
    background: #fff;
}
.location-search input::placeholder { color: #637789; opacity: 1; }
.location-search button {
    flex: 0 0 auto;
    min-width: 8rem;
    border: 0;
    border-radius: .4rem;
    padding: .7rem 1.5rem;
    background: var(--lookout-teal);
    color: #062c36;
    font-weight: 700;
}
.location-search button:disabled { opacity: .78; cursor: not-allowed; }
.location-search input:focus-visible { outline: 3px solid var(--lookout-teal); outline-offset: 2px; }
.location-search-note { margin: .65rem 0 0; color: #435b6d; font-size: .875rem; }

@media (max-width: 575.98px) {
    .home-hero-inner { min-height: 0; padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .home-hero h1 { max-width: 12ch; }
    .location-search { padding: 1rem; }
    .location-search-controls { flex-direction: column; }
    .location-search button { width: 100%; }
}

.category-section { padding: 4.5rem 0 5rem; }
.category-intro { margin-bottom: 1.75rem; }
.category-intro h2 { color: var(--lookout-navy); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; margin: 0 0 .35rem; }
.category-intro p { color: #526779; margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 14rem;
    border-radius: 1.1rem;
    padding: 1.5rem;
    color: var(--lookout-navy);
    transition: transform .2s ease, box-shadow .2s ease;
}
.category-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: .85rem;
    background: rgba(255, 255, 255, .65);
    margin-bottom: 1.2rem;
}
.category-icon svg { width: 2rem; height: 2rem; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.category-card h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; margin: auto 0 .4rem; }
.category-card p { font-size: .85rem; color: #405769; margin: 0; }
.category-whats-on { background: #fce4ec; }
.category-community { background: #fff2c8; }
.category-businesses { background: #def3df; }
.category-notices { background: #ece4fa; }
.category-crime { background: #deedfb; }
.category-lost { background: #ffe7d2; }
@media (hover: hover) and (pointer: fine) {
    .category-card:hover { transform: translateY(-3px); box-shadow: 0 .65rem 1.25rem rgba(11, 45, 91, .1); }
}
@media (max-width: 767.98px) {
    .category-section { padding: 3rem 0 3.5rem; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .category-card { min-height: 11.5rem; padding: 1rem; }
    .category-icon { width: 3rem; height: 3rem; margin-bottom: .8rem; }
    .category-icon svg { width: 1.7rem; height: 1.7rem; }
    .category-card h3 { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .category-card { transition: none; }
}

.events-section { padding: 0 0 5rem; }
.events-intro { margin-bottom: 1.25rem; }
.events-intro h2 { color: var(--lookout-navy); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; margin: 0 0 .4rem; }
.events-intro p { color: #526779; margin: 0; }
.events-demo-notice {
    display: inline-block;
    border-left: .3rem solid var(--lookout-teal);
    border-radius: .35rem;
    background: #e5f8f5;
    color: var(--lookout-navy);
    padding: .7rem 1rem;
    margin: 0 0 1.5rem;
    font-size: .9rem;
}
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.event-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 .4rem 1.3rem rgba(11, 45, 91, .1);
}
.event-visual { position: relative; overflow: hidden; height: 11rem; }
.event-visual::before,
.event-visual::after,
.event-visual-shape { content: ""; position: absolute; display: block; }
.event-visual::before { width: 9rem; height: 9rem; border-radius: 50%; top: -3rem; right: -1rem; background: rgba(255, 255, 255, .28); }
.event-visual::after { width: 16rem; height: 8rem; border-radius: 50% 50% 0 0; left: -2rem; bottom: -4rem; background: rgba(255, 255, 255, .22); transform: rotate(-12deg); }
.event-visual-shape { width: 5rem; height: 5rem; border: .9rem solid rgba(255, 255, 255, .55); border-radius: 1.2rem; top: 3rem; left: calc(50% - 2.5rem); transform: rotate(-15deg); }
.event-visual-craft { background: linear-gradient(135deg, #ef9cbb, #bd6ea5); }
.event-visual-music { background: linear-gradient(135deg, #908bdb, #4868ad); }
.event-visual-music .event-visual-shape { border-radius: 50%; transform: rotate(18deg); }
.event-visual-family { background: linear-gradient(135deg, #f4bc69, #dd806e); }
.event-visual-family .event-visual-shape { transform: rotate(15deg); }
.event-card-content { display: flex; flex-direction: column; align-items: flex-start; min-height: 15.5rem; padding: 1.35rem; }
.event-category { display: inline-block; border-radius: 999px; background: #ddf7f3; color: #075b56; padding: .3rem .7rem; font-size: .75rem; font-weight: 700; margin-bottom: .7rem; }
.event-card h3 { color: var(--lookout-navy); font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: 0 0 1rem; }
.event-meta { color: #42596b; font-size: .9rem; line-height: 1.45; margin: 0 0 .5rem; }
.event-meta-label { color: var(--lookout-navy); font-weight: 700; margin-right: .35rem; }
.event-fictional { color: #5b6e7d; font-size: .78rem; margin: auto 0 0; padding-top: .7rem; }
@media (max-width: 767.98px) {
    .events-section { padding-bottom: 3.5rem; }
    .events-grid { grid-template-columns: 1fr; }
    .event-card-content { min-height: 0; }
}

.notices-section { background: #edf4f6; padding: 4.5rem 0 5rem; }
.notices-intro { margin-bottom: 1.25rem; }
.notices-intro h2 { color: var(--lookout-navy); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; margin: 0 0 .4rem; }
.notices-intro p { color: #526779; margin: 0; }
.notices-demo-notice {
    display: inline-block;
    border-left: .3rem solid var(--lookout-teal);
    border-radius: .35rem;
    background: #fff;
    color: var(--lookout-navy);
    padding: .7rem 1rem;
    margin: 0 0 1.5rem;
    font-size: .9rem;
}
.notices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.notice-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 17rem;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 .3rem 1rem rgba(11, 45, 91, .06);
    color: var(--lookout-navy);
}
.notice-travel { background: #e3eefb; }
.notice-community { background: #fff2d8; }
.notice-volunteering { background: #e3f5e9; }
.notice-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .7);
    margin-bottom: 1rem;
}
.notice-icon svg { width: 1.8rem; height: 1.8rem; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.notice-category { color: #0a706c; font-size: .8rem; font-weight: 700; margin-bottom: .5rem; }
.notice-card h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; margin: 0 0 .7rem; }
.notice-description { color: #405769; line-height: 1.5; font-size: .92rem; margin: 0 0 1rem; }
.notice-fictional { color: #5b6e7d; font-size: .78rem; margin: auto 0 0; }
@media (max-width: 767.98px) {
    .notices-section { padding: 3.5rem 0; }
    .notices-grid { grid-template-columns: 1fr; }
    .notice-card { min-height: 0; }
}

.safety-section { padding: 3.5rem 0; background: #f7fafb; }
.safety-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 2.5rem; }
.safety-copy h2 { color: var(--lookout-navy); font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 750; margin: 0 0 .8rem; }
.safety-copy > p { color: #42596b; line-height: 1.6; margin: 0 0 .8rem; }
.safety-copy .safety-source-note { color: #0a706c; font-size: .9rem; font-weight: 600; margin-bottom: 0; }
.safety-map { min-width: 0; margin: 0; }
.safety-map-visual { position: relative; overflow: hidden; height: 12rem; border: 1px solid #c6dcdf; border-radius: .8rem; background: #e4f1f0; }
.safety-map-visual svg { display: block; width: 100%; height: 100%; }
.safety-map-label { position: absolute; left: .75rem; bottom: .75rem; border-radius: .35rem; padding: .35rem .6rem; background: var(--lookout-navy); color: #fff; font-size: .78rem; font-weight: 700; }
.safety-map figcaption { color: #526779; font-size: .78rem; margin-top: .45rem; }
@media (max-width: 767.98px) {
    .safety-section { padding: 3rem 0; }
    .safety-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .safety-map-visual { height: 11rem; }
}

.businesses-section { padding: 4.5rem 0 5rem; background: #fff; }
.businesses-intro { margin-bottom: 1.75rem; }
.businesses-intro h2 { color: var(--lookout-navy); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; margin: 0 0 .4rem; }
.businesses-intro p { color: #526779; margin: 0; }
.businesses-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.business-card { min-width: 0; overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 .4rem 1.3rem rgba(11, 45, 91, .1); }
.business-visual { display: grid; place-items: center; height: 11rem; }
.business-visual svg { width: 5.5rem; height: 5.5rem; stroke: var(--lookout-navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.business-visual-cafe { background: radial-gradient(circle at 75% 20%, #fff2dc 0 18%, transparent 18.2%), linear-gradient(135deg, #f9d9ca, #f2bcb4); }
.business-visual-books { background: radial-gradient(circle at 20% 75%, #e4f4ee 0 20%, transparent 20.2%), linear-gradient(135deg, #cbdcf6, #b8c8eb); }
.business-visual-flowers { background: radial-gradient(circle at 80% 75%, #fff4d8 0 20%, transparent 20.2%), linear-gradient(135deg, #d8efdc, #bee5d6); }
.business-card-content { display: flex; flex-direction: column; align-items: flex-start; min-height: 11.5rem; padding: 1.35rem; }
.business-category { display: inline-block; border-radius: 999px; background: #ddf7f3; color: #075b56; padding: .3rem .7rem; font-size: .75rem; font-weight: 700; margin-bottom: .7rem; }
.business-card h3 { color: var(--lookout-navy); font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: 0 0 .55rem; }
.business-location { color: #42596b; font-size: .9rem; margin: 0 0 .75rem; }
.business-fictional { color: #5b6e7d; font-size: .78rem; margin: auto 0 0; }
@media (max-width: 767.98px) {
    .businesses-section { padding: 3.5rem 0; }
    .businesses-grid { grid-template-columns: 1fr; }
    .business-card-content { min-height: 0; }
}

/* Homepage visual refresh: neutral surfaces, stronger brand contrast and restrained colour. */
body { background: #fff; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
.home-hero {
    background:
        radial-gradient(circle at 83% 26%, rgba(0, 186, 166, .42) 0 12%, transparent 12.2%),
        radial-gradient(circle at 96% 85%, rgba(244, 171, 91, .24) 0 19%, transparent 19.2%),
        linear-gradient(115deg, #071e3e 0%, #0B2D5B 55%, #126778 100%);
}
.home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 38rem;
    height: 38rem;
    right: -8rem;
    top: -9rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 42% 58% 48% 52%;
    transform: rotate(-24deg);
}
.home-hero-inner { min-height: 36rem; }
.home-hero-content { width: min(100%, 50rem); }
.home-hero h1 { font-size: clamp(2.5rem, 5.3vw, 4.6rem); letter-spacing: -.045em; }
.home-hero-intro { color: #f0f6f8; }
.location-search { border: 1px solid rgba(255, 255, 255, .65); box-shadow: 0 1.25rem 3rem rgba(0, 18, 43, .26); }
.location-search button:disabled { opacity: 1; background: #00a895; color: #062c36; }
.category-section { background: #fff; }
.category-card { min-height: 12.5rem; box-shadow: inset 0 0 0 1px rgba(11, 45, 91, .06); }
.category-icon { background: rgba(255, 255, 255, .82); }
.events-section { background: #f8fafb; padding-top: 4rem; }
.event-card,
.business-card { border: 1px solid #e4eaed; box-shadow: 0 .55rem 1.5rem rgba(11, 45, 91, .08); }
.event-visual-craft { background: linear-gradient(135deg, #c75878, #efad78); }
.event-visual-music { background: linear-gradient(135deg, #453d85, #158d9b); }
.event-visual-family { background: linear-gradient(135deg, #bd6d37, #e2b45f); }
.event-visual::before { background: rgba(255, 255, 255, .18); }
.event-visual::after { background: rgba(255, 255, 255, .13); }
.event-visual-shape { border-color: rgba(255, 255, 255, .72); }
.events-demo-notice { background: #fff; border: 1px solid #dcece9; border-left: .3rem solid var(--lookout-teal); }
.notices-section { background: #fff; border-top: 1px solid #e7edef; }
.notice-card { background: #fff; border: 1px solid #e4eaed; border-top: .25rem solid var(--lookout-teal); box-shadow: 0 .4rem 1.2rem rgba(11, 45, 91, .06); }
.notice-travel { border-top-color: #3977a9; }
.notice-community { border-top-color: #d19332; }
.notice-volunteering { border-top-color: #2d8b70; }
.notice-icon { background: #eef5f7; }
.notices-demo-notice { background: #f3faf9; }
.safety-section { background: #f2f6f7; padding-top: 3rem; padding-bottom: 3rem; }
.safety-map-visual { box-shadow: 0 .3rem 1rem rgba(11, 45, 91, .07); }
.businesses-section { background: #fff; }
.business-visual-cafe { background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .25) 0 18%, transparent 18.2%), linear-gradient(135deg, #b8654b, #e2a772); }
.business-visual-books { background: radial-gradient(circle at 20% 75%, rgba(255, 255, 255, .2) 0 20%, transparent 20.2%), linear-gradient(135deg, #286b88, #80a7b9); }
.business-visual-flowers { background: radial-gradient(circle at 80% 75%, rgba(255, 255, 255, .24) 0 20%, transparent 20.2%), linear-gradient(135deg, #4f8f6a, #a7bc80); }
.business-visual svg { stroke: #fff; filter: drop-shadow(0 2px 5px rgba(0, 25, 40, .22)); }
@media (max-width: 767.98px) {
    .home-hero-inner { min-height: 0; }
    .events-section { padding-top: 3.5rem; }
    .category-card { min-height: 10.5rem; }
}

/* Locally stored stock photography. Gradients above remain fallback colours. */
.home-hero { background: #082448; }
.home-hero-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero::before { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; transform: none; background: linear-gradient(90deg, rgba(4, 25, 51, .92) 0%, rgba(4, 25, 51, .8) 43%, rgba(4, 25, 51, .32) 100%); }
.home-hero::after { display: none; }
.event-visual::before,
.event-visual::after { display: none; }
.event-visual img,
.business-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.business-visual img { min-width: 0; }
@media (max-width: 767.98px) {
    .home-hero-image { object-position: 57% center; }
    .home-hero::before { background: rgba(4, 25, 51, .78); }
}