:root { color-scheme: light; --paper: #f7f6ef; --ink: #1e3831; --muted: #53675c; --line: #c4cec0; --surface: #fffdf6; --green: #345e4c; font: 16px/1.5 system-ui, sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; margin: 0; min-height: 100vh; min-height: 100svh; }
a { color: inherit; text-underline-offset: .19em; }
a:hover { color: #41664b; }
button, input, select, textarea { font: inherit; color: inherit; }
button, .button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #976038; outline-offset: 3px; }
.shell { width: min(960px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -70px; left: 12px; background: var(--surface); padding: 8px; }
.skip-link:focus { top: 8px; }
.masthead { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); border-bottom: 1px solid var(--line); min-height: 67px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.7rem; letter-spacing: -.065em; font-weight: 760; }
.mark { width: 24px; display: grid; gap: 4px; position: relative; }
.mark i { width: 18px; height: 3px; border-radius: 4px; background: #396354; }
.mark i:first-child::after { content: ""; position: absolute; left: 21px; width: 3px; height: 3px; border-radius: 50%; background: #a45b35; }
.masthead nav { flex: 1; display: flex; align-items: center; gap: 4px; }
.masthead nav a { display: grid; align-items: center; min-height: 44px; padding: 3px 12px; font-size: .9rem; text-decoration: none; border-radius: 25px; }
.masthead nav a:hover { text-decoration: underline; }
.masthead nav [aria-current] { background: #e2e9dc; font-weight: 660; }
.account-link { margin-left: auto; font-weight: 640; }
.release-main { padding-block: clamp(22px, 5vw, 52px) 66px; min-height: 66vh; }
.release-main h1, .release-main h2, .release-main h3 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.release-main h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin: 0 0 14px; }
.release-main h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); margin: 0 0 12px; }
.release-main h3 { font-size: 1.42rem; margin: 0 0 6px; }
.release-main p { max-width: 66ch; margin: 6px 0 12px; }
.eyebrow { color: var(--muted); text-transform: uppercase; font-size: .73rem; font-weight: 720; letter-spacing: .12em; }
.back-link { display: inline-block; padding: 4px 0; margin: 0 0 16px; font-size: .9rem; }
.place-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.place-toolbar .back-link { margin: 0; }
.share-trigger { flex: none; min-height: 44px; padding: 4px 0 4px 8px; border: 0; background: transparent; color: var(--muted); font-size: .87rem; text-decoration: underline; text-underline-offset: .19em; }
.share-trigger:hover { color: var(--ink); }
.release-section { margin-top: clamp(25px, 4vw, 40px); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; align-items: baseline; }
.actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-block: 16px; }
.actions a { min-height: 44px; display: inline-flex; align-items: center; }
.button, button.secondary, a.secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--green); border-radius: 8px; padding: 7px 14px; background: var(--green); color: #fff; font-weight: 640; text-decoration: none; }
.button:hover { background: #274939; color: #fff; }
button.secondary, a.secondary { color: var(--ink); background: var(--surface); }
.release-main .source, .count { color: var(--muted); font-size: .83rem; }
.source a { text-decoration-thickness: 1px; }
.guide-source button { display: none; }
@supports selector(:popover-open) {
  .guide-source button { display: inline-flex; align-items: center; gap: .4rem; min-height: 28px; padding: 0 4px 0 0; border: 0; background: none; color: var(--muted); font-size: .84rem; text-decoration: underline; text-underline-offset: .19em; }
  .guide-source button::after { content: ""; width: .35rem; height: .35rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-.1em) rotate(45deg); }
  .guide-source:has(:popover-open) button::after { transform: translateY(.1em) rotate(225deg); }
  .guide-source .source:popover-open { margin: auto; width: min(22rem, calc(100vw - 40px)); padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); color: var(--ink); box-shadow: 0 4px 14px #20362d25; }
}
@supports (top: anchor(bottom)) {
  .guide-source button { anchor-name: --guide-source; }
  .guide-source .source:popover-open { position-anchor: --guide-source; inset: anchor(bottom) auto auto anchor(left); margin: .15rem 0; position-try-fallbacks: flip-block; }
}
@media print {
  .guide-source button { display: none; }
  .guide-source .source[popover] { display: block; position: static; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
}
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.region-card { display: grid; align-content: end; min-height: 130px; padding: clamp(16px, 2.5vw, 28px); background: #e6ede1; border: 1px solid #b8c8b6; border-radius: 14px; text-decoration: none; }
.region-card:nth-child(2n) { background: #e9e5d6; border-color: #cbc5b0; }
.region-card strong { font: 400 clamp(1.7rem, 3vw, 2.45rem)/1.15 Georgia, serif; letter-spacing: -.04em; }
.region-card:hover strong, .directory a:hover strong { text-decoration: underline; }
.region-card span { margin-top: 5px; font-size: .88rem; }
.directory { list-style: none; margin: 9px 0 18px; padding: 0; border-top: 1px solid var(--line); }
.directory li { border-bottom: 1px solid var(--line); }
.directory a { position: relative; display: grid; align-content: center; gap: 1px; min-height: 60px; padding: 9px 26px 9px 0; text-decoration: none; }
.directory a::after { content: '›'; position: absolute; inset: 50% 8px auto auto; transform: translateY(-50%); font-size: 1.4rem; color: var(--muted); }
.directory small { color: var(--muted); }
.search-label { display: block; font-weight: 620; font-size: .9rem; margin: 10px 0 4px; }
.directory-search, .map-picker, .map-neighbours { width: min(100%, 33rem); min-height: 44px; padding: 7px 11px; border: 1px solid #839486; background: var(--surface); border-radius: 8px; }
.directory-search::placeholder { color: #68756d; }
.atlas { margin: 0; }
.atlas-frame { border: 1px solid #bbc8b9; border-radius: 14px; overflow: hidden; background: var(--surface); }
.atlas-stage { height: clamp(310px, 48vh, 525px); position: relative; isolation: isolate; background: #eae8d4; }
.atlas-surface { position: absolute; inset: 0; touch-action: none; cursor: grab; overflow: hidden; }
.atlas-surface:active { cursor: grabbing; }
.atlas-surface:focus-visible { outline-offset: -4px; }
.atlas-canvas, .atlas-pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-pins { pointer-events: none; }
.atlas-tools { position: absolute; inset: 10px auto auto 10px; display: flex; align-items: center; border: 1px solid #b6beb0; background: var(--surface); border-radius: 9px; overflow: hidden; }
.atlas-tools button { min-width: 42px; min-height: 42px; padding: 0 9px; border: 0; background: transparent; font-size: 1.15rem; }
.atlas-tools button:last-child { font-size: .84rem; font-weight: 670; }
.atlas-tools button:focus-visible { outline-offset: -3px; }
.atlas-north { position: absolute; inset: 12px 12px auto auto; background: #fffdf4e8; border: 1px solid #bec7b8; border-radius: 5px; padding: 2px 6px; font-size: .72rem; font-weight: 700; pointer-events: none; }
.atlas-pin { position: absolute; width: 32px; height: 32px; transform: translate(-50%, -50%); padding: 0; border: none; border-radius: 50%; background: transparent; display: grid; place-items: center; pointer-events: auto; }
.atlas-pin:hover, .atlas-pin:focus-visible, .atlas-pin[aria-pressed=true] { z-index: 3; }
.pin-dot { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fffdf4; box-shadow: 0 0 0 1px #657d66; background: #355c46; color: white; }
.pin-dot.grouped { width: 25px; height: 25px; font: 700 .67rem/1 system-ui, sans-serif; }
.atlas-pin[aria-pressed=true] .pin-dot { box-shadow: 0 0 0 3px #887543; }
.pin-name { visibility: hidden; position: absolute; left: 100%; max-width: 15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #31513f; color: #fff; border-radius: 5px; padding: 2px 5px; line-height: 1.4; font-size: .72rem; font-weight: 650; pointer-events: none; }
.pin-name.flip { left: auto; right: 100%; }
.atlas-pin[aria-pressed=true] .pin-name { width: max-content; max-width: min(14rem, 39vw); padding: 5px 8px; background: var(--surface); border: 1px solid #69816b; color: var(--ink); text-align: left; white-space: normal; line-height: 1.25; box-shadow: 0 2px 6px #20362d25; }
.pin-name small { display: block; font-weight: 440; font-size: .71rem; margin-top: 2px; }
.atlas-pin:hover .pin-name, .atlas-pin:focus-visible .pin-name, .atlas-pin[aria-pressed=true] .pin-name { visibility: visible; }
.pin-card { padding: 12px clamp(14px, 2.5vw, 24px); border-top: 1px solid var(--line); }
.pin-card h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); }
.pin-card p { margin: 3px 0; }
.pin-card .actions { margin: 4px 0 0; gap: 4px 18px; font-size: .88rem; }
.pin-card .actions a { min-height: 36px; }
.pin-card .map-neighbours { margin: 0 0 8px; }
.hint { color: var(--muted); font-size: .9rem; }
.app-footer { display: flex; justify-content: space-between; align-items: start; gap: 16px 40px; margin-top: auto; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer-signature { display: grid; justify-items: start; }
.footer-signature .wordmark { color: var(--ink); font-size: 1.45rem; }
.app-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: clamp(30px, 6vw, 80px); }
.app-footer ul { margin: 0; padding: 0; list-style: none; }
.app-footer a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.app-footer a:hover, .app-footer a:focus-visible { text-decoration: underline; }
.app-footer [aria-current="page"] { color: var(--ink); font-weight: 660; text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width: 480px) {
  .shell { width: calc(100% - 28px); }
  .masthead { gap: 6px; min-height: 58px; }
  .wordmark { font-size: 1.45rem; gap: 5px; }
  .masthead nav { gap: 0; }
  .masthead nav a { padding-inline: 7px; font-size: .83rem; }
  .app-footer { display: grid; padding-block: 16px 20px; gap: 8px; }
  .app-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .app-footer a { min-height: 44px; }
  .release-main { padding-top: 20px; }
  .atlas-stage { height: clamp(265px, 43vh, 380px); }
}

/* The discovery pages pair locally hosted neighbourhood photography with the atlas. */
.discovery-home, .discovery-region, .discovery-area { padding-top: clamp(18px, 3vw, 34px); }
.discovery-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(320px, 31vw, 355px); overflow: hidden; border-radius: 16px; padding: clamp(25px, 3.5vw, 41px); background: #2b4941; color: #fffdf5; }
.discovery-hero::before, .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: center 51%; }
.discovery-hero::before { z-index: -1; content: ''; background: linear-gradient(90deg,#122a25e0 0%,#10282394 37%,#1028230c 80%),linear-gradient(0deg,#182a2782,transparent 58%); }
.discovery-hero-copy { width: min(100%, 640px); }
.discovery-hero .eyebrow { color: #e5eee0; margin: 0 0 10px; }
.discovery-hero h1 { font-size: clamp(2.95rem, 6.4vw, 5rem); margin: 0 0 12px; line-height: 1; }
.discovery-hero-copy > p:not(.eyebrow) { color: #fffdf5; font-size: clamp(1rem, 1.7vw, 1.16rem); max-width: 36ch; margin: 0; line-height: 1.45; }
.hero-search { position: relative; width: min(100%, 29rem); margin-top: 20px; }
.hero-search::before { content: ''; position: absolute; left: 17px; top: calc(50% - 8px); width: 12px; height: 12px; border: 1.6px solid #3f6254; border-radius: 50%; pointer-events: none; }
.hero-search::after { content: ''; position: absolute; left: 29px; top: calc(50% + 5px); width: 7px; height: 2px; transform: rotate(45deg); background: #3f6254; pointer-events: none; }
.hero-search .directory-search { width: 100%; min-height: 50px; padding: 8px 18px 8px 46px; border: 1px solid #fbfaf1; border-radius: 8px; background: #fffdf6; color: var(--ink); }
.hero-search .directory-search::placeholder { color: #4c6257; }
.discovery-results:has(.count:empty) { display: none; }
.discovery-results { margin: 16px 0; }
.guide-section { margin-top: clamp(30px, 4vw, 49px); }
.spotlight-jump { font-size: .82rem; color: var(--muted); min-height: 36px; display: inline-flex; align-items: center; }
.guide-filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 13px 0 18px; }
.guide-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-filters button { min-height: 38px; padding: 6px 13px; border: 1px solid #c3cdbf; border-radius: 22px; background: transparent; color: var(--ink); font-size: .85rem; }
.guide-filters button[aria-pressed=true] { background: var(--green); border-color: var(--green); color: #fffdf6; }
.guide-filters button:hover:not([aria-pressed=true]) { background: #e8ece2; }
.region-guide-link { font-size: .85rem; padding-block: 8px; }
.guide-grid, .spotlight-list { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.guide-card { display: block; height: 100%; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid #c8d0c3; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.guide-card:hover, .spotlight-list a:hover { border-color: #6c8a70; }
.guide-card:hover h3, .spotlight-list a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.guide-image { display: block; width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; background: #dce4d4; }
.guide-caption { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: clamp(11px, 1.6vw, 18px); }
.guide-caption h3 { font-size: clamp(1.3rem, 2.35vw, 1.75rem); margin: 0; }
.guide-caption div > span { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.guide-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; background: #e6ece1; color: #345e4c; border-radius: 50%; }
.region-intro, .neighbourhood-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 4vw, 56px); }
.region-intro h1, .neighbourhood-intro h1 { margin: 0 0 15px; font-size: clamp(2.8rem, 6.1vw, 4.6rem); }
.region-intro p, .neighbourhood-intro > p { color: var(--muted); font-size: 1.04rem; }
.region-cover { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; border-radius: 14px; }
.map-preview { display: block; overflow: hidden; border-radius: 14px; border: 1px solid #c5cdbf; background: #e3e7d6; text-decoration: none; }
.preview-art { display: block; width: 100%; height: auto; }
.neighbourhood-intro .actions { margin-bottom: 0; }
.building-spotlight, .area-directory { padding-top: 22px; border-top: 1px solid var(--line); }
.building-spotlight .hint { margin-top: -3px; }
.spotlight-list { gap: 12px; margin-top: 14px; }
.spotlight-list a { display: grid; gap: 5px; height: 100%; align-content: start; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; text-decoration: none; }
.spotlight-list strong { font: 400 1.35rem/1.15 Georgia, serif; }
.spotlight-list small, .area-directory-summary { font-size: .85rem; color: var(--muted); }
.scheme-year { justify-self: start; font-size: .72rem; font-weight: 650; color: #425c48; }
.area-directory-summary { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-bottom: 14px; }
@media (max-width: 730px) {
  .guide-grid { grid-template-columns: repeat(2,minmax(0, 1fr)); }
  .neighbourhood-overview, .region-intro { grid-template-columns: 1fr; row-gap: 17px; }
  .map-preview, .region-cover { width: 100%; }
  .region-cover { max-height: 255px; }
}
@media (max-width: 500px) {
  .discovery-hero { min-height: 315px; padding: 22px 17px; border-radius: 12px; }
  .discovery-hero h1 { max-width: 7.5em; font-size: clamp(2.75rem, 11.4vw, 3.4rem); }
  .discovery-hero::before { background: linear-gradient(0deg,#122a25e8 0%,#132a249c 53%,#122a251a 100%); }
  .hero-photo { object-position: 65% center; }
  .hero-search { margin-top: 17px; }
  .hero-search .directory-search { font-size: 16px; min-height: 47px; }
  .guide-filters { gap: 4px; }
  .guide-filters button { padding: 5px 9px; font-size: .75rem; min-height: 40px; }
  .guide-caption { min-height: 72px; }
  .guide-arrow { display: none; }
  .guide-grid { gap: 10px; }
  .spotlight-list { display: block; border-top: 1px solid var(--line); }
  .spotlight-list a { grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; align-items: baseline; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 10px 0; }
  .spotlight-list a strong { grid-column: 1; grid-row: 1; }
  .spotlight-list small { grid-column: 1; grid-row: 2; }
  .spotlight-list .scheme-year { grid-column: 2; grid-row: 1; }
}
@media (max-width: 350px) {
  .masthead .mark { display: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .neighbourhood-intro .actions, .listing-headline .actions { gap: 8px 12px; font-size: .94rem; }
  .neighbourhood-intro .button, .listing-headline .button { padding-inline: 10px; }
}

/* Long-form pages share a title, section index and reading column. */
.reading-intro { padding-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.reading-intro h1 { font-size: clamp(2.65rem, 6.3vw, 4.45rem); }
.reading-intro > p:not(.source) { max-width: 56ch; font-size: clamp(1.05rem, 2vw, 1.18rem); line-height: 1.55; }
.reading-intro > :last-child { margin-bottom: 0; }
.reading-layout { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(1.25rem, 3vw, 2rem); }
.reading-contents { padding: 1rem 1.15rem; border-radius: 12px; background: #e6ede1; }
.reading-contents h2 { margin: 0 0 .45rem; font: 660 1rem/1.5 system-ui, sans-serif; letter-spacing: normal; }
.reading-contents ul { list-style: none; padding: 0; margin: 0; }
.reading-contents a { display: block; padding-block: .45rem; font-size: .92rem; }
.reading-sections { width: 100%; max-width: 67ch; line-height: 1.65; overflow-wrap: anywhere; }
.reading-sections > section { margin: 0; scroll-margin-top: 1.25rem; }
.reading-sections > section + section { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2rem); padding-top: clamp(1.5rem, 3vw, 2rem); }
.reading-sections h2 { font-size: clamp(1.65rem, 3.5vw, 2.15rem); line-height: 1.15; scroll-margin-top: 1.25rem; }
.reading-sections p { margin: .7rem 0 0; }
.privacy-page details { margin-top: .55rem; }
.privacy-page details + details { margin-top: 0; }
.privacy-page summary { width: fit-content; min-height: 44px; padding-block: .55rem; color: var(--green); font-weight: 640; cursor: pointer; }
.privacy-page summary:hover { text-decoration: underline; text-underline-offset: .19em; }
.privacy-page details[open] { padding-bottom: .75rem; }
.privacy-page details p { margin: .4rem 0 .75rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--line); }
@media print {
  .privacy-page details::details-content { display: block; content-visibility: visible; }
  .privacy-page summary { display: block; min-height: 0; break-after: avoid; }
}
.source-prompt { margin: 1rem 0; padding: 1rem 1.25rem; background: var(--surface); border-inline-start: 3px solid var(--green); }
pre.source-prompt { max-height: 17rem; overflow: auto; white-space: pre-wrap; font: inherit; }
.reading-sections section > .button { margin-top: .85rem; }
@media (min-width: 701px) and (min-height: 36rem) {
  .reading-contents { position: sticky; top: 1rem; }
}
@media (max-width: 700px) {
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .reading-contents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.2rem; }
  .reading-contents a { display: flex; align-items: center; min-height: 44px; }
}

.directory-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.directory-pagination a { display: inline-flex; align-items: center; min-height: 44px; }
.directory-pagination span { color: var(--muted); font-size: .86rem; }
.static-area-map, .building-locator img { display: block; width: 100%; height: auto; }
.building-locator :is(img, canvas) { grid-column: 1; grid-row: 1; }
.building-locator img { height: clamp(155px, 20vw, 210px); object-fit: cover; }
.discovery-hero-copy > p a { color: inherit; }
