:root {
  --green: #1b5e3b; --green-dark: #0f3d26; --green-soft: #e8f3ec;
  --green-accent: #3fa66b; --white: #ffffff; --ink: #1c2b23;
  --green-mist: #f5faf7; --line: rgba(27, 94, 59, 0.16);
  --shadow: 0 24px 64px rgba(15, 61, 38, 0.12); --radius: 1.6rem; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.dx-widget { font-family: inherit; }
.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-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .8rem 1rem; background: var(--white); color: var(--green-dark); border-radius: .6rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.menu-open { background: var(--green-dark); box-shadow: 0 8px 30px rgba(15, 61, 38, .18); }
.nav-shell { width: min(calc(100% - 2rem), var(--max)); min-height: 5rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { position: relative; color: var(--white); text-decoration: none; font-size: .87rem; font-weight: 650; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: currentColor; transition: right .2s; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: .65rem; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: currentColor; }
.menu-toggle.dx-button { min-width: 2.8rem; padding: 0; border: 1px solid rgba(255,255,255,.5); }
.menu-toggle.dx-button .dx-icon { color: var(--white); font-size: 1.25rem; }
.menu-toggle.dx-button.dx-state-hover, .menu-toggle.dx-button.dx-state-focused { background: rgba(255,255,255,.12); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--green-dark); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(15,61,38,.88) 0%, rgba(15,61,38,.45) 55%, rgba(15,61,38,.2) 100%), linear-gradient(0deg, rgba(15,61,38,.55), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 10rem 0 7.5rem; }
.hero h1 { max-width: 760px; margin: .8rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(5rem, 12vw, 10rem); font-weight: 400; letter-spacing: -.075em; line-height: .78; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--white); }
.eyebrow.light-green { color: var(--green-accent); }
.hero-location { margin: 0 0 2rem; font-size: 1.05rem; font-weight: 650; letter-spacing: .04em; }
.button { display: inline-flex; align-items: center; gap: 1.2rem; padding: .92rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: .88rem; }
.button-light { color: var(--green-dark); background: var(--white); }
.button-light span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; color: var(--white); background: var(--green); border-radius: 50%; }
#hero-action.dx-button { padding: .2rem .55rem; color: var(--green-dark); background: var(--white); border: 0; border-radius: 999px; box-shadow: none; }
#hero-action.dx-button .dx-button-content { display: flex; flex-direction: row-reverse; gap: .9rem; padding: .65rem .75rem; }
#hero-action.dx-button .dx-button-text { font-weight: 750; text-transform: none; }
#hero-action.dx-button .dx-icon { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; margin: 0; color: var(--white); background: var(--green); border-radius: 50%; font-size: 1rem; }
#hero-action.dx-button.dx-state-hover { color: var(--green-dark); background: var(--green-soft); }
.hero-fact { position: absolute; right: max(1rem, calc((100vw - var(--max)) / 2)); bottom: 3rem; z-index: 2; display: flex; flex-direction: column; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.5); }
.hero-fact span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-fact strong { font-size: 1.1rem; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: clamp(5rem, 9vw, 8rem) 0; }
.section-heading { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 5rem; }
.section-heading h2, .separation-note h2, .route-copy h2 { margin: .6rem 0 0; color: var(--green-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5.6vw, 5rem); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.lead-block { max-width: 550px; font-size: 1.12rem; }
.lead-block p { margin-top: 0; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; padding-bottom: .25rem; color: var(--green); border-bottom: 1px solid var(--green); text-decoration: none; font-weight: 750; font-size: .88rem; }
.centered { max-width: 720px; margin-inline: auto; text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered p { color: rgba(28,43,35,.7); font-size: 1.05rem; }

.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fact-card { min-height: 250px; padding: 2.2rem; background: var(--white); }
.fact-card + .fact-card { border-left: 1px solid var(--line); }
.fact-card.featured { color: var(--white); background: var(--green); }
.fact-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: 2.4rem; color: var(--green); background: var(--green-soft); border-radius: 50%; font-size: 1.2rem; }
.featured .fact-icon { color: var(--green); background: var(--white); }
.fact-label { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.fact-card h3 { margin: .35rem 0 .75rem; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.fact-card > p:last-child { margin: 0; font-size: .9rem; opacity: .72; }

.soft-section { width: 100%; padding-inline: max(1rem, calc((100vw - var(--max)) / 2)); background: var(--green-mist); }
.feature-stack { display: grid; gap: 5rem; }
.feature-row { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(2.5rem, 7vw, 6.5rem); }
.feature-row.reverse .image-button { order: 2; }
.image-button { position: relative; min-width: 0; padding: 0; overflow: hidden; background: var(--green); border: 0; border-radius: var(--radius); cursor: zoom-in; box-shadow: var(--shadow); }
.image-button img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .5s ease; }
.image-button:hover img { transform: scale(1.025); }
.zoom-hint { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; gap: .5rem; padding: .55rem .85rem; color: var(--green-dark); background: var(--white); border-radius: 999px; font-size: .75rem; font-weight: 750; }
.place-tag { color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.feature-copy h3, .neighbor-copy h3 { margin: .6rem 0 1.3rem; color: var(--green-dark); font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.feature-copy p { color: rgba(28,43,35,.78); }
.detail-line { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .83rem; }
.detail-line span { opacity: .65; }
.detail-line strong { color: var(--green); }

.separation-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; margin-top: clamp(3rem, 5vw, 5rem); margin-bottom: clamp(3rem, 5vw, 5rem); padding: clamp(2rem, 5vw, 4rem); background: var(--green-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.note-icon { display: grid; place-items: center; width: 5rem; height: 5rem; color: var(--white); background: var(--green); border-radius: 50%; font-size: 1.8rem; }
.separation-note h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.separation-note p { max-width: 850px; margin-bottom: 0; }

.neighbor-section { width: 100%; padding-inline: max(1rem, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--green-dark); }
.neighbor-section h2 { color: var(--white); }
.neighbor-section h2 em { color: var(--green-accent); font-weight: 400; }
.pale-text { color: var(--green-soft); }
.postal { font-size: .85rem; opacity: .8; }
.neighbor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.neighbor-card { overflow: hidden; color: var(--ink); background: var(--white); border-radius: var(--radius); }
.neighbor-card > img { width: 100%; height: 290px; object-fit: cover; }
.neighbor-copy { padding: clamp(1.5rem, 4vw, 2.6rem); }
.neighbor-copy h3 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
.location-badge { display: inline-flex; padding: .48rem .72rem; color: var(--green); background: var(--white); border: 1px solid var(--green); border-radius: 999px; font-size: .68rem; font-weight: 800; line-height: 1.2; }
.neighbor-copy > p { color: rgba(28,43,35,.78); }
.ownership-note { padding-left: 1rem; border-left: 3px solid var(--green-accent); font-size: .83rem; font-weight: 680; }
.postal-chip { display: inline-block; margin-top: .5rem; padding: .45rem .7rem; color: var(--green-dark); background: var(--green-soft); border-radius: .6rem; font-size: .75rem; font-weight: 750; }
.neighbor-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: .75fr 1.25fr; }
.event-visual { position: relative; min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); background: linear-gradient(145deg, var(--green), var(--green-accent)); }
.event-visual::before, .event-visual::after { content: ""; position: absolute; width: 55%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.event-visual::after { width: 78%; }
.event-visual span, .event-visual strong { position: relative; z-index: 1; }
.event-visual span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.event-visual strong { font-family: Georgia, serif; font-size: 2.6rem; font-weight: 400; }

.timeline { display: grid; grid-template-columns: repeat(2, 1fr); }
.timeline article { padding: 1.5rem 2rem 2rem; border-top: 1px solid var(--green); }
.timeline article + article { border-left: 1px solid var(--line); }
.timeline-no { display: inline-block; margin-bottom: 3rem; color: var(--green-accent); font-size: .75rem; font-weight: 800; }
.timeline h3 { color: var(--green-dark); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; line-height: 1.15; }
.timeline p { color: rgba(28,43,35,.72); font-size: .91rem; }
.timeline .location-badge { font-size: .6rem; }

.neighbor-highland-section { width: 100%; padding: clamp(5rem, 9vw, 8rem) max(1rem, calc((100vw - var(--max)) / 2)); background: var(--green-mist); }
.neighbor-highland-inner { width: 100%; max-width: var(--max); margin: auto; }
.neighbor-highland-copy { align-self: end; }
.neighbor-highland-copy > p { max-width: 560px; margin-top: 0; color: rgba(28,43,35,.72); font-size: 1.05rem; }
.neighbor-route-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.25rem; }
.neighbor-route-strip span { padding: .48rem .75rem; color: var(--green-dark); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.neighbor-route-strip i { color: var(--green-accent); font-style: normal; font-weight: 900; }
.neighbor-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.neighbor-visual-card { min-width: 0; margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow); }
.neighbor-visual-card button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: var(--green); border: 0; cursor: zoom-in; }
.neighbor-visual-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.neighbor-visual-card:hover img { transform: scale(1.035); }
.neighbor-card-no { position: absolute; top: .8rem; left: .8rem; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; color: var(--white); background: rgba(15,61,38,.9); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: .68rem; font-weight: 800; }
.neighbor-visual-card figcaption { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: 1rem 1.1rem 1.15rem; }
.neighbor-visual-card figcaption strong { color: var(--green-dark); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.neighbor-visual-card figcaption span { grid-column: 1; color: rgba(28,43,35,.66); font-size: .76rem; }
.neighbor-visual-card figcaption small { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 7rem; color: var(--green); font-size: .62rem; line-height: 1.25; text-align: right; }
.neighbor-image-note { margin: 1rem 0 0; color: rgba(28,43,35,.58); font-size: .72rem; }

.nearby-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--green-dark); }
.nearby-hero.awaiting-photos { background: radial-gradient(circle at 76% 20%, rgba(156,224,183,.22), transparent 28%), radial-gradient(circle at 88% 78%, rgba(241,199,91,.12), transparent 30%), linear-gradient(135deg, #0f3d26 0%, #1d6642 54%, #0b2f1d 100%); }
.nearby-hero.awaiting-photos::before, .nearby-hero.awaiting-photos::after { content: ""; position: absolute; width: 52vw; height: 52vw; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.nearby-hero.awaiting-photos::before { top: -22vw; right: -12vw; }
.nearby-hero.awaiting-photos::after { right: 10vw; bottom: -39vw; }
.nearby-hero-image, .nearby-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.nearby-hero-image { object-fit: cover; }
.nearby-hero-shade { background: linear-gradient(90deg, rgba(15,61,38,.92) 0%, rgba(15,61,38,.62) 48%, rgba(15,61,38,.24) 100%), linear-gradient(0deg, rgba(15,61,38,.58), transparent 55%); }
.nearby-hero-content { position: relative; z-index: 2; width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 10rem 0 5.5rem; }
.nearby-breadcrumb { display: inline-flex; gap: .55rem; margin-bottom: 1.35rem; color: rgba(255,255,255,.76); text-decoration: none; font-size: .72rem; font-weight: 700; }
.nearby-hero h1 { max-width: 900px; margin: .7rem 0 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.3rem, 9vw, 8rem); font-weight: 400; letter-spacing: -.07em; line-height: .84; }
.nearby-hero-content > p { max-width: 690px; margin: 0; color: rgba(255,255,255,.86); font-size: 1.04rem; }
.nearby-route-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.7rem; }
.nearby-route-strip span { padding: .5rem .78rem; color: var(--green-dark); background: var(--white); border-radius: 999px; font-size: .69rem; font-weight: 800; }
.nearby-route-strip i { color: #f1c75b; font-style: normal; font-weight: 900; }
.nearby-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nearby-context-card { position: relative; min-height: 285px; padding: clamp(1.6rem, 4vw, 3rem); overflow: hidden; background: var(--green-mist); border: 1px solid var(--line); border-radius: var(--radius); }
.nearby-context-card.featured { color: var(--white); background: var(--green-dark); }
.nearby-context-no { position: absolute; top: 1.25rem; right: 1.4rem; color: var(--green-accent); font-size: .72rem; font-weight: 800; }
.nearby-context-card h3 { margin: .55rem 0 1rem; color: var(--green-dark); font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.nearby-context-card > .nearby-context-description, .nearby-context-card > p:last-child { max-width: 520px; margin-bottom: 0; color: rgba(28,43,35,.72); }
.nearby-context-card.featured h3, .nearby-context-card.featured .place-tag { color: var(--white); }
.nearby-context-card.featured > .nearby-context-description, .nearby-context-card.featured > p:last-child { color: var(--green-soft); }
.nearby-site-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem; padding-bottom: .3rem; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.55); text-decoration: none; font-size: .86rem; font-weight: 800; transition: gap .2s ease, border-color .2s ease; }
.nearby-site-link:hover, .nearby-site-link:focus-visible { gap: .85rem; border-color: var(--white); }
.nearby-boundary-note { margin: 1rem 0 0; padding: 1rem 1.2rem; color: rgba(28,43,35,.72); background: var(--white); border: 1px solid var(--line); border-radius: 1rem; font-size: .8rem; }
.nearby-boundary-note strong { color: var(--green-dark); }
.original-photo-section { padding-top: 2rem; }
.nearby-filter-group { justify-content: flex-start; margin: 0 0 2.5rem; }
.nearby-gallery-groups { display: grid; gap: 4rem; }
.nearby-gallery-group.hidden { display: none; }
.nearby-gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.nearby-gallery-heading span { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nearby-gallery-heading h3 { margin: .35rem 0 0; color: var(--green-dark); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; letter-spacing: -.045em; }
.nearby-gallery-heading > strong { flex: 0 0 auto; padding: .48rem .72rem; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; font-size: .67rem; }
.nearby-gallery-heading > strong.awaiting { color: #765b17; background: #f7f0d9; }
.nearby-photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.nearby-photo-card { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 10px 28px rgba(15,61,38,.06); }
.nearby-photo-card button { display: block; width: 100%; padding: 0; overflow: hidden; background: var(--green-mist); border: 0; cursor: zoom-in; }
.nearby-photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.nearby-photo-card:hover img { transform: scale(1.035); }
.nearby-photo-card figcaption { display: grid; gap: .35rem; padding: .75rem .85rem .9rem; }
.nearby-photo-card figcaption strong { color: var(--green-dark); font-size: .76rem; }
.nearby-photo-card figcaption a, .nearby-photo-card figcaption small { color: rgba(28,43,35,.62); font-size: .59rem; line-height: 1.3; text-decoration: none; }
.nearby-photo-card.missing { aspect-ratio: 4 / 3; display: grid; place-content: center; gap: .65rem; padding: 1.2rem; color: rgba(15,61,38,.48); background: repeating-linear-gradient(135deg, var(--green-mist), var(--green-mist) 10px, #f9fbf9 10px, #f9fbf9 20px); border-style: dashed; box-shadow: none; text-align: center; }
.nearby-photo-card.missing span { font-family: Georgia, serif; font-size: 2.1rem; }
.nearby-photo-card.missing strong { font-size: .68rem; }
.original-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.original-photo-slot { min-height: 260px; padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(145deg, var(--green-mist), var(--white)); border: 1px dashed rgba(15,61,38,.3); border-radius: var(--radius); }
.original-photo-slot.featured { background: linear-gradient(145deg, #f7f0d9, var(--white)); }
.original-photo-slot > span { display: inline-flex; padding: .45rem .72rem; color: var(--green-dark); background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; font-weight: 800; }
.original-photo-slot h3 { margin: 2.9rem 0 .75rem; color: var(--green-dark); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; letter-spacing: -.04em; }
.original-photo-slot p { max-width: 490px; margin: 0; color: rgba(28,43,35,.68); }
.photo-awaiting-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1.3rem 1.45rem; color: var(--white); background: var(--green-dark); border-radius: 1rem; }
.photo-awaiting-note > span { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; color: var(--green-dark); background: var(--green-accent); border-radius: 50%; font-size: 1.25rem; font-weight: 700; }
.photo-awaiting-note strong { display: block; margin-bottom: .25rem; }
.photo-awaiting-note p { margin: 0; color: var(--green-soft); font-size: .82rem; }
.nearby-back-link { display: inline-flex; margin-top: 2rem; padding-bottom: .25rem; color: var(--green); border-bottom: 1px solid currentColor; text-decoration: none; font-size: .82rem; font-weight: 800; }

.gallery-section { padding-top: 2rem; }
.gallery-section .split-heading > * { min-width: 0; }
.filter-group { display: flex; justify-content: flex-end; gap: .5rem; }
.filter-button { padding: .6rem 1rem; color: var(--green); background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .78rem; font-weight: 750; }
.filter-button.active { color: var(--white); background: var(--green); border-color: var(--green); }
#gallery-filters.dx-buttongroup { max-width: 100%; overflow: visible; border-radius: 999px; }
#gallery-filters .dx-button { margin-left: .45rem; color: var(--green); background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
#gallery-filters .dx-button:first-child { margin-left: 0; }
#gallery-filters .dx-button .dx-button-text { font-size: .78rem; font-weight: 750; text-transform: none; }
#gallery-filters .dx-button.dx-item-selected, #gallery-filters .dx-button.dx-state-active { color: var(--white); background: var(--green); border-color: var(--green); }
#gallery-filters .dx-button.dx-state-hover:not(.dx-item-selected) { color: var(--green-dark); background: var(--green-soft); }
.gallery-intro { max-width: 42rem; margin: .7rem 0 0; color: rgba(28,43,35,.7); }
.masonry-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 1rem; }
.gallery-item { position: relative; grid-column: span 4; margin: 0; overflow: hidden; background: var(--green-soft); border-radius: 1.2rem; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.hidden { display: none; }
.gallery-item button { width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: absolute; inset: auto .8rem .8rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: .8rem 1rem; color: var(--white); background: rgba(15,61,38,.88); border-radius: .8rem; pointer-events: none; }
.gallery-item figcaption .location-badge { flex: 0 0 auto; max-width: 48%; color: var(--green); background: var(--white); border-color: var(--green); font-size: .56rem; }
.gallery-item figcaption span { max-width: 68%; font-weight: 750; }
.gallery-item figcaption small { max-width: 32%; font-size: .65rem; line-height: 1.25; text-align: right; opacity: .82; }
.gallery-disclaimer { margin-top: 1.2rem; color: rgba(28,43,35,.65); font-size: .78rem; }

.route-section { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); min-height: 760px; padding: clamp(4rem, 7vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--green-dark); }
.route-map-card { min-width: 0; margin: 0; padding: clamp(1rem, 2vw, 1.6rem); overflow: hidden; background: radial-gradient(circle at 20% 20%, rgba(63,166,107,.32), transparent 28%), repeating-radial-gradient(ellipse at 60% 40%, transparent 0 45px, rgba(232,243,236,.055) 47px 48px), #174b31; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.route-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .25rem .35rem 1rem; }
.route-map-heading span { color: var(--green-accent); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.route-map-heading strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.route-diagram { display: block; width: 100%; height: auto; }
.route-contours path { fill: none; stroke: rgba(232,243,236,.08); stroke-width: 2; }
.route-road-shadow { fill: none; stroke: rgba(0,0,0,.28); stroke-linecap: round; stroke-width: 18; }
.route-road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-road-main { stroke: url(#main-road-gradient); stroke-width: 9; }
.branch-shadow { stroke-width: 15; }
.route-road-branch { stroke: #f1c75b; stroke-width: 6; stroke-dasharray: 14 10; }
.road-number rect { fill: rgba(15,61,38,.94); stroke: rgba(255,255,255,.2); }
.road-number text { fill: var(--white); font-size: 15px; font-weight: 750; letter-spacing: .02em; }
.route-node circle { fill: var(--white); stroke: var(--green-accent); stroke-width: 5; }
.route-node text { fill: var(--white); font-size: 16px; font-weight: 760; paint-order: stroke; stroke: var(--green-dark); stroke-width: 6px; stroke-linejoin: round; }
.route-node-focus circle { fill: var(--green-accent); stroke: var(--white); stroke-width: 5; }
.route-node-focus .node-core { fill: var(--white); stroke: none; }
.route-node-focus text { font-size: 21px; }
.route-node-local circle { fill: #f1c75b; stroke: var(--white); stroke-width: 4; }
.route-legend { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; padding: .8rem .35rem 0; color: var(--green-soft); font-size: .7rem; }
.route-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.route-legend i { width: 2.2rem; height: 0; border-top: 4px solid var(--white); border-radius: 99px; }
.route-legend .legend-local { border-top-color: #f1c75b; border-top-style: dashed; }
.route-map-card figcaption { padding: .55rem .35rem .2rem; color: rgba(232,243,236,.62); font-size: .68rem; }
.route-copy { align-self: center; min-width: 0; max-width: 520px; }
.route-copy h2 { color: var(--white); }
.route-copy > p { color: var(--green-soft); }
.route-options { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.route-options li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.route-option-no { color: var(--green-accent); font-size: .7rem; font-weight: 800; }
.route-options strong, .route-options div > span { display: block; }
.route-options strong { margin-bottom: .15rem; font-size: .88rem; }
.route-options div > span { color: var(--green-soft); font-size: .8rem; }
.route-advisory { margin-top: 1.5rem; padding: 1rem 1.1rem; color: var(--ink); background: var(--white); border-radius: 1rem; }
.route-advisory strong { color: var(--green-dark); font-size: .82rem; }
.route-advisory p { margin: .25rem 0 .55rem; color: rgba(28,43,35,.72); font-size: .75rem; }
.route-advisory a { color: var(--green); font-size: .76rem; font-weight: 800; text-decoration: none; }

.sources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.source-list, .missing-list { padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); }
.missing-list { background: var(--green-soft); }
.sources-grid h3 { margin-top: 0; color: var(--green-dark); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.source-list ol, .missing-list ul { margin: 0; padding-left: 1.2rem; }
.source-list li, .missing-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.source-list a { color: var(--green); font-weight: 750; text-decoration: none; }
.source-list small { display: block; opacity: .65; }
.missing-list li { font-size: .9rem; }

.site-footer { padding: 4rem max(1rem, calc((100vw - var(--max)) / 2)) 1.5rem; color: var(--green-soft); background: var(--green-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.footer-inner p { max-width: 400px; opacity: .7; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .78rem; font-weight: 700; text-decoration: none; }
.copyright { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .7rem; opacity: .6; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 2rem; color: var(--white); background: rgba(15,61,38,.96); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(100%, 1050px); margin: 0; }
.lightbox img { max-height: 78vh; border-radius: 1rem; }
.lightbox figcaption { margin-top: .8rem; text-align: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; color: var(--green-dark); background: var(--white); border: 0; border-radius: 50%; cursor: pointer; font-size: 2rem; }
.gallery-popup-wrapper.dx-overlay-wrapper { background: rgba(15,61,38,.92); }
.gallery-popup-wrapper .dx-popup-normal { overflow: hidden; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery-popup-wrapper .dx-toolbar { padding-inline: .5rem; background: var(--green-dark); }
.gallery-popup-wrapper .dx-toolbar-label, .gallery-popup-wrapper .dx-closebutton .dx-icon { color: var(--white); }
.gallery-popup-wrapper .dx-popup-content { padding: 0; background: var(--green-dark); }
.popup-figure { margin: 0; }
.popup-figure img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--green-dark); }
.popup-figure figcaption { padding: 1rem 1.25rem 1.25rem; color: var(--white); background: var(--green-dark); text-align: center; font-size: .84rem; }
.source-list.dx-scrollview, .missing-list.dx-scrollview { min-height: 320px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--green-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; inset: 5rem 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1rem 1.25rem; background: var(--green-dark); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-content { padding-bottom: 8.5rem; }
  .hero-fact { left: 1rem; right: auto; bottom: 2rem; }
  .split-heading, .feature-row, .neighbor-card.wide, .route-section { grid-template-columns: 1fr; }
  .split-heading { gap: 2rem; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 210px; }
  .fact-card + .fact-card { border-left: 0; border-top: 1px solid var(--line); }
  .feature-row.reverse .image-button { order: 0; }
  .neighbor-grid { grid-template-columns: 1fr; }
  .neighbor-card.wide { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article + article { border-left: 0; }
  .neighbor-showcase { grid-template-columns: 1fr 1fr; }
  .neighbor-visual-card:last-child { grid-column: 1 / -1; }
  .neighbor-visual-card:last-child img { aspect-ratio: 16 / 8; }
  .nearby-context-grid, .original-photo-grid { grid-template-columns: 1fr; }
  .nearby-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .masonry-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .gallery-item, .gallery-item.wide { grid-column: span 1; }
  .route-map { min-height: 430px; }
  .route-copy { max-width: none; }
  .sources-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(4.7rem, 25vw, 7rem); }
  .hero-shade { background: linear-gradient(0deg, rgba(15,61,38,.88), rgba(15,61,38,.25)); }
  .separation-note { grid-template-columns: 1fr; } .note-icon { width: 4rem; height: 4rem; }
  .neighbor-card > img { height: 230px; }
  .neighbor-showcase { grid-template-columns: 1fr; }
  .neighbor-visual-card:last-child { grid-column: auto; }
  .neighbor-visual-card:last-child img { aspect-ratio: 4 / 3; }
  .nearby-hero { min-height: 84svh; }
  .nearby-hero h1 { font-size: clamp(3.8rem, 19vw, 5.8rem); }
  .nearby-hero-shade { background: linear-gradient(0deg, rgba(15,61,38,.94), rgba(15,61,38,.38)); }
  .nearby-gallery-heading { align-items: flex-start; flex-direction: column; }
  .nearby-photo-grid { grid-template-columns: 1fr 1fr; }
  .masonry-grid { display: block; }
  .gallery-item { height: 300px; margin-bottom: 1rem; }
  .gallery-item.tall { height: 420px; }
  .filter-group { justify-content: flex-start; }
  #gallery-filters .dx-buttongroup-wrapper { display: flex; flex-wrap: wrap; gap: .55rem; }
  #gallery-filters .dx-button { margin-left: 0; }
  .route-section { padding-inline: 1rem; }
  .route-map-card { padding: .75rem; }
  .route-map-heading { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .footer-inner, .footer-links { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: .7rem; }
}
