/* ==========================================================================
   OMSON — v4: SVG logo, logo loader, full-screen strip hero, highlight cards,
   testimonial carousel, large neighbourhood map. Loaded last.
   ========================================================================== */

/* ---------- Logo ---------- */
.omson-logo .lg-side { fill: #3E0B12; }
.omson-logo .lg-top { fill: #5A121B; }
.omson-logo .lg-gold { fill: none; stroke: #E7C27D; stroke-width: 2.2; stroke-linejoin: round; }
.omson-logo .lg-ch { font: 800 30px var(--f-body); fill: #fff; text-anchor: middle; }
.omson-logo .lg-rule { stroke: #7C1C26; stroke-width: 3; }
.omson-logo .lg-name { font: 800 21px var(--f-body); letter-spacing: .1em; fill: #7C1C26; text-anchor: middle; }
.brand .brand-logo { width: 74px; height: auto; display: block; }
.footer-logo { width: 200px; height: auto; }
.footer-logo .lg-rule { stroke: #C9A465; }
.footer-logo .lg-name { fill: #C9A465; }
.cursor { display: none !important; }

/* ---------- Loader: the logo builds itself ---------- */
.preloader { background: #F7F1E6; gap: 1.2rem; }
.pl-logo { width: min(440px, 76vw); height: auto; overflow: visible; }
.pl-logo .lg-gold, .pl-logo .lg-rule { stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader .pl-line { color: #7C1C26; letter-spacing: .5em; font-weight: 700; }
.pl-fly { position: fixed; z-index: 101; background: #7C1C26; pointer-events: none; }

/* ---------- Full-screen strip hero ---------- */
.hero-strips { height: 100svh; min-height: 640px; padding: 0; display: block; background: #1E070A; }
.strips { position: absolute; inset: 0; display: flex; gap: 6px; background: #E7C27D; }
.hstrip { --top: calc(15% - var(--i) * 3.2%); --slope: 3.4%; position: relative; flex: 1; display: block; overflow: hidden; background: #1E070A; clip-path: polygon(0 var(--top), 100% calc(var(--top) - var(--slope)), 100% 100%, 0 100%); transition: flex-grow .9s var(--ease); }
.hstrip::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 0, transparent calc(var(--top) - var(--slope)), rgba(0,0,0,0) 40%, rgba(20,6,8,.55) 100%); }
.hs-in { position: absolute; inset: 0; clip-path: polygon(4px calc(var(--top) + 4px), 100% calc(var(--top) - var(--slope) + 4px), 100% 100%, 4px 100%); background: #E7C27D; }
.hs-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.strips:hover .hstrip:hover { flex-grow: 1.7; }
.hstrip:hover .hs-in img { transform: scale(1.05); }
.hs-l { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--top) + 7%); text-align: center; font: 800 clamp(2.2rem, 5vw, 5.4rem)/1 var(--f-body); color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.4); pointer-events: none; }
.hs-name { position: absolute; z-index: 2; right: 14px; bottom: 22px; text-align: right; color: #fff; font: 500 1.35rem/1.1 var(--f-display); }
.hs-name small { display: block; font: 600 .62rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-top: .3rem; }
.hero-strips .hero-shade { z-index: 2; background: linear-gradient(90deg, rgba(25,6,9,.86) 0%, rgba(25,6,9,.55) 34%, rgba(25,6,9,0) 58%), linear-gradient(0deg, rgba(25,6,9,.7) 0%, rgba(25,6,9,0) 45%); }
.hero-strips .hero-copy { position: absolute; z-index: 3; left: var(--gutter); right: auto; bottom: clamp(70px, 11vh, 120px); max-width: min(620px, 90vw); padding: 0; pointer-events: none; }
.hero-strips .hero-copy .hero-ctas { pointer-events: auto; }
.hero-strips .display-xl { font-size: clamp(3.4rem, 9vw, 9.4rem); }
.hero-strips .hero-cue { z-index: 3; }

/* ---------- Highlights: picture + words ---------- */
.rail-lead { max-width: 54ch; margin-top: 1.2rem; }
.hl-card { width: min(82vw, 1120px); height: min(72vh, 620px); display: grid; grid-template-columns: 1.35fr 1fr; background: var(--paper); color: var(--ink); box-shadow: 0 30px 70px -40px rgba(30,26,24,.5); }
.hl-card::after { display: none; }
.hl-card .rail-media { position: relative; inset: auto; overflow: hidden; }
.hl-status { position: absolute; left: 1.2rem; top: 1.2rem; z-index: 1; background: rgba(21,16,14,.72); color: #F5EFE4; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: .45rem .7rem; }
.hl-copy { padding: clamp(1.6rem, 3vw, 3rem); display: flex; flex-direction: column; }
.hl-num { font-size: .72rem; letter-spacing: .16em; color: var(--accent); font-weight: 700; }
.hl-meta { margin: auto 0 .4rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.hl-copy h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; }
.hl-line { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--accent); margin: .6rem 0 1rem; }
.hl-sum { margin: 0; color: var(--ink-2); font-size: .95rem; }
.hl-facts { list-style: none; padding: 0; margin: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hl-facts li { padding: .45rem .8rem; border-radius: 999px; font-size: .78rem; box-shadow: inset 0 0 0 1px var(--line); }
.hl-cta { display: inline-flex; align-items: center; gap: .6rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-top: auto; }
.hl-cta .ic { width: 18px; transition: transform .5s var(--ease); }
.hl-card:hover .hl-cta .ic { transform: translateX(6px); }
.hl-card .rail-media img, .hl-card .rail-media .art-fill { left: -8%; width: 116%; }

/* ---------- Testimonials: several at once ---------- */
.tc-ctrl { display: flex; gap: .6rem; }
.tc-ctrl button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.tc-ctrl button:hover { background: var(--ink); color: var(--bg); }
.tc-prev .ic { transform: rotate(180deg); }
.tcarousel { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .6rem .2rem 1.2rem; scrollbar-width: none; }
.tcarousel::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 calc((100% - 2 * 1.4rem) / 3); scroll-snap-align: start; margin: 0; background: var(--paper); padding: 2rem 2rem 1.6rem; display: flex; flex-direction: column; box-shadow: 0 24px 50px -36px rgba(30,26,24,.45); transition: transform .5s var(--ease); }
.tcard:hover { transform: translateY(-6px); }
.tc-q { width: 38px; fill: color-mix(in srgb, var(--accent) 18%, transparent); margin-bottom: 1rem; }
.tcard blockquote { margin: 0 0 1.8rem; font-family: var(--f-display); font-size: 1.45rem; line-height: 1.28; font-weight: 500; }
.tcard figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.tcard figcaption b { display: block; color: var(--ink); font-size: .92rem; }
.tc-av { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-deep); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.tc-proj { margin-left: auto; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); white-space: nowrap; }
.tc-dots { display: flex; gap: 6px; justify-content: center; margin-top: 1rem; }
.tc-dots i { width: 22px; height: 3px; background: var(--line); transition: background .3s, width .4s var(--ease); }
.tc-dots i.is-on { background: var(--accent); width: 40px; }

/* ---------- Neighbourhood map: the centrepiece ---------- */
.nmap { padding: clamp(90px, 12vw, 150px) 0 clamp(60px, 8vw, 110px); background: var(--paper); }
.nmap-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.nmap-lead { margin: 0; max-width: 44ch; color: var(--ink-2); }
.nmap-frame { position: relative; margin: 0 clamp(8px, 2vw, 28px); height: min(88vh, 900px); min-height: 560px; border-radius: 22px; overflow: hidden; background: #F2EADB; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgba(30,26,24,.5); }
.nmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; color: #6B5B4A; cursor: grab; touch-action: pan-y; user-select: none; --z: 1; --iz: 1; }
.nmap-frame.is-drag .nmap-svg { cursor: grabbing; }
.nm-bg { fill: #F3EBDC; }
.nm-ring { fill: none; stroke: var(--accent); stroke-opacity: .25; stroke-width: calc(1.4px * var(--iz)); stroke-dasharray: 6 8; }
.nm-ring-t { font: 600 calc(12px * var(--iz)) var(--f-body); fill: var(--accent); fill-opacity: .7; text-anchor: middle; }
.nm-river { fill: none; stroke: #A9D0E2; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.nm-road-c { fill: none; stroke: #CDBEA6; stroke-linecap: round; stroke-linejoin: round; }
.nm-road { fill: none; stroke: #FFFDF8; stroke-linecap: round; stroke-linejoin: round; }
.nm-road-c.rd { stroke-width: 9; } .nm-road.rd { stroke-width: 6; }
.nm-road-c.hwy { stroke-width: 13; } .nm-road.hwy { stroke-width: 9; stroke: #FFF6DF; }
.nm-road-c.exp { stroke-width: 16; stroke: #C79A45; } .nm-road.exp { stroke-width: 11; stroke: #F2CF86; }
.nm-road-t { font: 600 calc(12.5px * var(--iz)) var(--f-body); fill: #6B5B4A; letter-spacing: .06em; paint-order: stroke; stroke: #F3EBDC; stroke-width: calc(4px * var(--iz)); }
.nm-road-t.exp { fill: #7A5A1E; font-weight: 700; }
.nm-town { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(var(--iz)); }
.nm-town circle { fill: #fff; stroke: #8B7A66; stroke-width: 2; }
.nm-town text { font: 700 14px var(--f-body); letter-spacing: .12em; text-transform: uppercase; fill: #6B5B4A; paint-order: stroke; stroke: #F3EBDC; stroke-width: 4px; }
.nm-route { stroke: var(--accent); stroke-width: calc(3px * var(--iz)); stroke-dasharray: calc(8px * var(--iz)) calc(7px * var(--iz)); stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.nmap-frame.has-pick .nm-route { opacity: 1; }
.nm-pin { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--iz) * var(--ps, 1))); cursor: pointer; outline: none; }
.nm-pin-in { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .4s var(--ease); }
.nm-drop { fill: var(--c); stroke: #fff; stroke-width: 2.5; }
.nm-shadow { fill: rgba(0,0,0,.18); }
.nm-pin use { color: #fff; fill: #fff; }
.nm-spin { fill: none; stroke: var(--c); stroke-width: 2; stroke-dasharray: 5 5; transform-box: fill-box; transform-origin: center; animation: spin 8s linear infinite; }
.nm-pin-t { font: 600 15px var(--f-body); fill: #2B211C; paint-order: stroke; stroke: #F3EBDC; stroke-width: 5px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.nmap-frame.show-labels .nm-pin-t, .nm-pin:hover .nm-pin-t, .nm-pin:focus .nm-pin-t, .nm-pin.is-on .nm-pin-t { opacity: 1; }
.nm-pin:hover .nm-pin-in, .nm-pin:focus .nm-pin-in, .nm-pin.is-on .nm-pin-in { transform: translateY(-6px) scale(1.25); }
.nm-pin.is-on .nm-drop { stroke: var(--ink); }
.nm-pin.is-hidden { display: none; }
.nm-proj { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--iz) * .8)); }
.nm-proj.is-big { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--iz) * 1.25)); }
.nm-proj rect { fill: #7C1C26; stroke: #E7C27D; stroke-width: 2.5; }
.nm-proj path { fill: #fff; }
.nm-proj:not(.is-big) rect { fill: #fff; stroke: #7C1C26; }
.nm-proj:not(.is-big) path { fill: #7C1C26; }
.nm-proj-t { font: 800 15px var(--f-body); letter-spacing: .06em; text-transform: uppercase; fill: #7C1C26; paint-order: stroke; stroke: #fff; stroke-width: 6px; }
.nm-pulse { fill: #7C1C26; opacity: .25; transform-box: fill-box; transform-origin: center; animation: nmPulse 2.6s var(--ease) infinite; }
.nm-pulse.p2 { animation-delay: 1.3s; }
@keyframes nmPulse { from { transform: scale(.5); opacity: .45; } to { transform: scale(2.2); opacity: 0; } }
.nmap-panel { position: absolute; z-index: 3; left: 18px; top: 18px; bottom: 18px; width: min(360px, 34%); display: flex; flex-direction: column; gap: 1rem; padding: 1.2rem; border-radius: 16px; background: rgba(251,248,242,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 50px -30px rgba(0,0,0,.4); }
.nmap-panel .nb-list { flex: 1; max-height: none; margin: 0; }
.nb-list li.is-hidden { display: none; }
.nb-list i svg { width: 16px; height: 16px; fill: currentColor; }
.nmap-panel .nb-filters button { font-size: .72rem; padding: .45rem .75rem; }
.nmap-card { position: absolute; z-index: 3; right: 18px; bottom: 76px; width: min(320px, 80%); padding: 1.2rem 1.4rem; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.nmap-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.nmc-cat { margin: 0; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #F2C77B; }
.nmap-card h3 { margin: .3rem 0; font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1.05; padding-right: 1.6rem; }
.nmc-km { margin: 0 0 .9rem; font-size: .88rem; opacity: .8; }
.nmc-dir { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #F2C77B; }
.nmc-dir .ic { width: 15px; }
.nmc-x { position: absolute; top: .8rem; right: .8rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: inherit; }
.nmc-x .ic { width: 14px; }
.nmap-zoom { position: absolute; z-index: 3; right: 18px; top: 18px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 10px 30px -16px rgba(0,0,0,.4); }
.nmap-zoom button { width: 46px; height: 46px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.nmap-zoom button:last-child { border: 0; }
.nmap-zoom button:hover { background: var(--bg-2); }
.nmap-zoom .ic { width: 18px; }
.nmap-note { position: absolute; z-index: 2; right: 18px; bottom: 14px; margin: 0; font-size: .68rem; color: var(--ink-2); background: rgba(251,248,242,.8); padding: .3rem .6rem; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .brand .brand-logo { width: 62px; }
  .hs-name { display: none; }
  .hs-l { font-size: 2rem; }
  .hero-strips .hero-shade { background: linear-gradient(0deg, rgba(25,6,9,.92) 0%, rgba(25,6,9,.6) 45%, rgba(25,6,9,0) 75%); }
  .hl-card { grid-template-columns: 1fr; grid-template-rows: 45% 1fr; width: 84vw; height: auto; min-height: 120vw; max-height: none; }
  .hl-sum { display: none; }
  .tcard { flex-basis: 86%; }
  .tc-ctrl { display: none; }
  .nmap-frame { height: auto; min-height: 0; margin: 0; border-radius: 0; overflow: visible; display: flex; flex-direction: column; background: none; box-shadow: none; }
  .nmap-svg { position: relative; inset: auto; height: 68vh; min-height: 420px; background: #F3EBDC; }
  .nmap-panel { position: static; width: auto; margin: 1rem var(--gutter) 0; background: none; box-shadow: none; padding: 0; backdrop-filter: none; }
  .nmap-panel .nb-list { max-height: 340px; }
  .nmap { padding-bottom: 0; }
  .nmap-card { left: 10px; right: 66px; width: auto; top: 10px; bottom: auto; }
  .nmap-zoom { right: 10px; top: 10px; }
  .nmap-note { position: static; margin: .8rem var(--gutter) 0; background: none; padding: 0; }
}
/* Header logo sits on the dark bar: lift its colours and give it a faint gold rim. */
.brand .brand-logo { width: 84px; filter: brightness(1.45) saturate(1.15) drop-shadow(0 0 1.5px rgba(231,194,125,.55)); }

/* ---------- Live street map (Leaflet + OpenStreetMap) ---------- */
.lmap { position: absolute; inset: 0; z-index: 1; background: #EDE6D8; font-family: var(--f-body); }
.lmap .leaflet-tile-pane { filter: saturate(.85) sepia(.06); }
.nmap-panel { z-index: 500; }
.nmap-card { z-index: 600; }
.lmap .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px -16px rgba(0,0,0,.4); margin: 14px 14px 0 0; }
.lmap .leaflet-control-zoom a { width: 42px; height: 42px; line-height: 42px; color: var(--ink); }
.nmap-reset { position: absolute; z-index: 500; right: 14px; top: 112px; display: flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .9rem; border-radius: 12px; background: var(--paper); font-size: .74rem; font-weight: 700; box-shadow: 0 10px 30px -16px rgba(0,0,0,.4); }
.nmap-reset .ic { width: 16px; }
.nmap-foot { margin-top: 1rem; font-size: .74rem; color: var(--ink-2); }
.lm-pin, .lm-proj, .lm-ring { background: none; border: 0; }
.lm-drop { position: absolute; left: -17px; top: -46px; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 2.5px solid #fff; box-shadow: 0 6px 14px -4px rgba(0,0,0,.45); display: grid; place-items: center; transition: transform .35s var(--ease), border-color .3s; }
.lm-drop svg { width: 16px; height: 16px; fill: #fff; transform: rotate(45deg); }
.lm-upcoming .lm-drop { outline: 2px dashed var(--c); outline-offset: 3px; }
.lm-label { position: absolute; left: 20px; top: -44px; white-space: nowrap; background: #fff; color: #2B211C; font: 600 .78rem/1.25 var(--f-body); padding: .35rem .6rem; border-radius: 7px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.lm-label small { margin-left: .4rem; font-weight: 600; color: var(--ink-2); }
.lm-pin:hover .lm-label, .lm-pin.is-on .lm-label, .is-filtered .lm-label { opacity: 1; transform: none; }
.lm-pin:hover .lm-drop { transform: rotate(-45deg) scale(1.15); }
.lm-pin.is-on .lm-drop { transform: rotate(-45deg) scale(1.3); border-color: #1E1A18; }
.lm-pin.is-on .lm-label { background: #1E1A18; color: #fff; font-size: .86rem; }
.lm-pin.is-on .lm-label small { color: #F2C77B; }
.lm-proj a { position: absolute; left: -22px; top: -22px; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.lm-proj svg { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.lm-proj rect { fill: #7C1C26; stroke: #E7C27D; stroke-width: 2.5; }
.lm-proj path { fill: #fff; }
.lm-proj span { white-space: nowrap; font: 800 .74rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #7C1C26; padding: .4rem .65rem; border-radius: 7px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.lm-proj:not(.is-big) a { transform: scale(.82); transform-origin: 22px 22px; }
.lm-proj:not(.is-big) rect { fill: #fff; stroke: #7C1C26; }
.lm-proj:not(.is-big) path { fill: #7C1C26; }
.lm-proj:not(.is-big) span { background: #fff; color: #7C1C26; }
.lm-proj.is-big a::before { content: ''; position: absolute; left: -8px; top: -8px; width: 60px; height: 60px; border-radius: 50%; background: #7C1C26; opacity: .3; animation: nmPulse 2.6s var(--ease) infinite; }
.lm-ring span { position: absolute; transform: translate(-50%, -50%); font: 700 .68rem var(--f-body); color: #7C1C26; background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
@media (max-width: 900px) {
  .lmap { position: relative; inset: auto; height: 68vh; min-height: 420px; }
  .nmap-reset { top: 104px; right: 10px; }
}
