/* Hyde: Visit us (contact) page */

/* ---------- opener: the form beside the hours card ---------- */
.visit-open { position: relative; background: var(--chalk); color: var(--ink); padding: calc(var(--head-h) + clamp(18px, 3.4vh, 40px)) 0 clamp(44px, 6.4vh, 70px); overflow: clip; }
.visit-open > .wrap { position: relative; z-index: 1; }
.visit-open__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 432px); gap: clamp(40px, 5vw, 84px); align-items: start; }
.visit-open__title { font-size: clamp(2.3rem, min(4.4vw, 7vh), 4rem); line-height: 1; letter-spacing: -.025em; margin-bottom: clamp(12px, 1.8vh, 20px); }
.visit-open__lede { color: var(--ink-soft); margin-bottom: clamp(18px, 2.8vh, 28px); }
.visit-open__fascia { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.visit-open::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: var(--head-h); height: 8px; background: repeating-linear-gradient(-55deg, var(--pink) 0 14px, transparent 14px 28px); opacity: .9; animation: stripes-top 1.4s linear infinite; }
@keyframes stripes-top { to { background-position: -34.18px 0; } }
.visit-card__sprig { width: 124px; left: -84px; bottom: -14px; z-index: 0; }
.visit-open__dots { display: none; }
.visit-card__dots { width: 92px; left: -40px; top: -96px; z-index: 0; }
.visit-open__fascia { animation: stripes 1.6s linear infinite; }
@keyframes stripes { to { background-position: 43.95px 0; } }
.visit-open .rings { animation-duration: 14s; }
.js .visit-open__title { visibility: hidden; }
.js [data-open-fade], .js [data-open-row] { opacity: 0; }

/* form */
.form { display: grid; gap: clamp(10px, 1.6vh, 16px); }
.form[hidden] { display: none; }
.form__row--2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(10px, 1.6vh, 16px) 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; margin-bottom: 7px; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field__ctl { position: relative; display: block; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 54px; padding: 13px 16px; border: 2px solid rgba(18, 17, 20, .15); border-radius: var(--r); background-color: #fff; color: var(--ink); font-size: 1.0625rem; line-height: 1.4; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.field textarea { min-height: clamp(84px, 13vh, 124px); height: clamp(84px, 13vh, 124px); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #77717f; opacity: 1; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23121114' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(18, 17, 20, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(79, 208, 222, .45); }
.field__bar { position: absolute; left: 2px; right: 2px; bottom: 2px; height: 3px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); pointer-events: none; border-radius: 0 0 2px 2px; }
.field__ctl:focus-within .field__bar { transform: scaleX(1); }
.field [aria-invalid="true"] { border-color: #B0124F; background-color: #FFF5F9; }
.field__err[hidden], .form-alert[hidden] { display: none; }
.field__err { display: flex; gap: 8px; align-items: flex-start; margin: 7px 0 0; color: #A4104A; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.field__err::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #A4104A; color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; transform: translateY(1px); }
.form-alert { margin: 0; padding: 12px 16px; background: #fff; border-left: 5px solid #A4104A; border-radius: var(--r); color: var(--ink); font-weight: 600; }
.form-alert.is-ok { border-left-color: var(--teal); }
.js .form__extras { display: none; }
.js .form__extras.is-open { display: block; }
.form__extras { overflow: clip; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 14px 24px; margin-top: 2px; }
.form__send { flex: none; min-height: 56px; padding: 0 28px; }
.form__send-label { display: inline-flex; overflow: clip; line-height: 1.5; }
.form__send-label > span { display: block; }
.form__send[aria-busy="true"] { pointer-events: none; }
.form__send[aria-busy="true"] svg { animation: nudge .8s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: translateX(6px); } }
.form__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); transition: color .4s; }
.form__note svg { width: 16px; height: 18px; flex: none; color: var(--pink); margin-top: 2px; transition: color .4s, transform .5s var(--ease); }
.form__note.is-lit { color: var(--ink); }
.form__note.is-lit svg { color: var(--purple); transform: scale(1.25); }

/* sent state */
.sent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: center; background: var(--pink); color: var(--ink); border-radius: var(--r); padding: clamp(26px, 4vh, 44px) clamp(24px, 3vw, 44px); position: relative; overflow: clip; }
.sent[hidden] { display: none; }
.sent:focus { outline: none; }
.sent__art { position: relative; width: clamp(120px, 12vw, 170px); }
.sent__arch { width: 100%; height: auto; overflow: visible; }
.sent__dots { position: absolute; left: 72%; top: -16%; width: 40%; }
.sent__dots .m-dots circle { fill: var(--ink); }
.sent__sprig { position: absolute; left: -24%; bottom: -8%; width: 44%; }
.sent__title { font-size: clamp(1.7rem, 2.6vw, 2.15rem); margin-bottom: 14px; }
.sent__text { font-size: 1.08rem; margin-bottom: 22px; }

/* hours card */
.visit-card { position: relative; align-self: start; margin-top: clamp(96px, 16vh, 150px); }
.visit-card__panel { position: absolute; inset: 34px -16px -16px 34px; background: var(--pink); border-radius: var(--r); overflow: hidden; }
.visit-card__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: var(--mural-lilac); }
.visit-card__face { position: relative; z-index: 1; background: var(--lilac); border-radius: var(--r); padding: clamp(22px, 3vh, 30px) 28px clamp(22px, 3vh, 30px); box-shadow: 0 30px 60px rgba(18, 17, 20, .12); }
.js .visit-card__face { clip-path: inset(100% 0 0 0); }
.visit-card__top { padding-right: 156px; min-height: 92px; }
.visit-card__title { font-size: clamp(1.5rem, 1.9vw, 1.85rem); line-height: 1.05; }
.visit-card__status { margin: 10px 0 0; font-weight: 600; color: var(--ink); align-items: flex-start; }
.visit-card__status .status__dot { background: #14a3b3; margin-top: 7px; }
.visit-card__status.is-closed .status__dot { background: var(--pink); }
.visit-card__arch { position: absolute; z-index: 3; top: -58px; right: 26px; width: 132px; aspect-ratio: 132 / 172; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; border: 6px solid var(--chalk); background: var(--grey); box-shadow: 0 18px 36px rgba(18, 17, 20, .22); }
.visit-card__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 30%; }
.visit-card__ring { position: absolute; z-index: 4; top: -74px; right: -22px; width: 70px; }
.visit-card__tag { right: 150px; top: -46px; transform: rotate(-6deg); font-size: 1.32rem; }
.visit-card .m-sprig { width: 100%; }

.today { margin-top: clamp(14px, 2.2vh, 22px); }
.today__label { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: .95rem; }
.today__label strong { font-weight: 700; }
.today__bar { position: relative; height: 14px; margin-top: 34px; background: rgba(18, 17, 20, .1); border-radius: var(--r); }
.today__ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(18, 17, 20, .2) calc(100% / 6 - 1px) calc(100% / 6)); }
.today__open { position: absolute; top: 0; bottom: 0; left: 11.1%; width: 50%; border-radius: var(--r); background: linear-gradient(90deg, var(--teal) 0%, #9BE6EE 50%, var(--teal) 100%); background-size: 200% 100%; animation: shimmer 3.6s linear infinite; transform-origin: left; }
@keyframes shimmer { to { background-position: -200% 0; } }
.today__now { position: absolute; top: -7px; bottom: -7px; left: 50%; width: 4px; margin-left: -2px; background: var(--pink); border-radius: 2px; }
.today__pill { position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--chalk); font-size: .78rem; font-weight: 600; line-height: 1; padding: 5px 8px; border-radius: var(--r); white-space: nowrap; }
.today__scale { display: flex; justify-content: space-between; margin-top: 7px; font-size: .8rem; color: var(--ink-soft); }
.no-js .today { display: none; }

.visit-hours { margin: clamp(14px, 2.2vh, 20px) 0 0; display: grid; gap: 8px; }
.visit-hours div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 14px; background: rgba(255, 255, 255, .5); border-radius: var(--r); border-left: 4px solid transparent; transition: background .4s, border-color .4s; }
.visit-hours div.is-today { background: #fff; border-left-color: var(--pink); }
.visit-hours dt { font-weight: 500; }
.visit-hours dd { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.08rem; white-space: nowrap; }
.visit-card__addr { margin-top: clamp(14px, 2.2vh, 20px); }
.visit-card__addr p { margin: 0; color: var(--ink-soft); }
.visit-card__addr .visit-card__street { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.visit-card__map { margin-top: clamp(14px, 2vh, 18px); }

/* ---------- getting here: the map ---------- */
.route { padding: clamp(80px, 11vh, 130px) 0; }
.route__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); grid-template-areas: "head map" "tabs map" "panel map"; grid-template-rows: auto auto 1fr; column-gap: clamp(36px, 4vw, 64px); row-gap: clamp(16px, 2.4vh, 26px); align-items: start; }
.route__head { grid-area: head; }
.route__head h2 { font-size: clamp(2rem, 3vw, 3.1rem); margin-bottom: 14px; }
.route__lede { color: var(--ink-78); margin: 0; }
.route__tabs { grid-area: tabs; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.route__tabs button { --c: var(--teal); display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 12px; border: 2px solid rgba(245, 243, 248, .16); border-radius: var(--btn-r); background: transparent; color: var(--chalk); font-weight: 600; font-size: .92rem; line-height: 1.2; text-align: left; cursor: pointer; transition: background .35s, border-color .35s, color .35s; }
.route__tabs button svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--c); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.route__tabs button:hover { border-color: var(--c); }
.route__tabs button[aria-selected="true"] { background: var(--c); border-color: var(--c); color: var(--ink); }
.route__tabs button[aria-selected="true"] svg { stroke: var(--ink); }
.route__panels { grid-area: panel; position: relative; }
.route__panel { border-left: 4px solid var(--c); padding: 2px 0 2px 18px; }
.route__panel h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); margin-bottom: 10px; }
.route__panel p { color: var(--ink-78); margin: 0; }
.js .route__panel:not(.is-active) { display: none; }
.no-js .route__tabs { display: none; }
.no-js .route__panels { display: grid; gap: 18px; }

.map { grid-area: map; position: relative; justify-self: end; align-self: center; width: min(100%, calc((100svh - 150px) / .7115)); border-radius: var(--r); overflow: hidden; background: #1d1c21; box-shadow: 0 0 0 1px rgba(245, 243, 248, .08), 0 40px 80px rgba(0, 0, 0, .35); }
.map__svg { width: 100%; height: auto; display: block; }
.map__ground { fill: #1d1c21; }
.map__moor { fill: rgba(79, 208, 222, .15); stroke: rgba(79, 208, 222, .55); stroke-width: 2.5; stroke-linejoin: round; }
.map__trees circle { fill: rgba(79, 208, 222, .3); }
.map__foot path { fill: none; stroke: rgba(245, 243, 248, .22); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.road { fill: none; stroke: #4b4953; stroke-width: 18; stroke-linejoin: round; stroke-linecap: round; }
.road--minor { stroke: #36353c; stroke-width: 9; }
.road-name { fill: rgba(245, 243, 248, .7); font: 700 15px var(--body); letter-spacing: .2em; text-transform: uppercase; text-anchor: middle; }
.moor-name { fill: var(--teal); font: 700 36px var(--hand); text-anchor: middle; }
.map [data-g="parkrun"] { --c: #FF3E95; }
.map [data-g="gigs"] { --c: #B77FD0; }
.map [data-g="match"] { --c: #D9C2EC; }
.map [data-g="students"] { --c: #4FD0DE; }
.map [data-g] { transition: opacity .55s var(--ease); }
.rt { fill: none; stroke: var(--c); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transition: opacity .55s var(--ease), stroke-width .55s var(--ease); }
.dot__halo { fill: var(--c); opacity: .28; transform-box: fill-box; transform-origin: center; }
.dot__core { fill: var(--c); stroke: #121114; stroke-width: 4; }
.lbl__t { font: 600 19px var(--body); fill: var(--chalk); paint-order: stroke; stroke: #1d1c21; stroke-width: 7px; stroke-linejoin: round; }
.lbl__walk { font: 700 26px var(--hand); fill: var(--c); paint-order: stroke; stroke: #1d1c21; stroke-width: 7px; stroke-linejoin: round; }
.lbl--short { display: none; }
.wk { fill: var(--chalk); stroke: var(--c); stroke-width: 3; }
.map[data-active="parkrun"] [data-g]:not([data-g="parkrun"]),
.map[data-active="gigs"] [data-g]:not([data-g="gigs"]),
.map[data-active="match"] [data-g]:not([data-g="match"]),
.map[data-active="students"] [data-g]:not([data-g="students"]) { opacity: .3; }
.map[data-active="parkrun"] .rt[data-g="parkrun"], .map[data-active="gigs"] .rt[data-g="gigs"], .map[data-active="match"] .rt[data-g="match"], .map[data-active="students"] .rt[data-g="students"] { stroke-width: 9; }
.map[data-active="parkrun"] .dot[data-g="parkrun"] .dot__halo, .map[data-active="gigs"] .dot[data-g="gigs"] .dot__halo, .map[data-active="match"] .dot[data-g="match"] .dot__halo, .map[data-active="students"] .dot[data-g="students"] .dot__halo { animation: halo 2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
.pin__arch path { fill: var(--pink); stroke: #121114; stroke-width: 3; }
.pin__arch circle { fill: #121114; }
.pin__base { fill: var(--chalk); stroke: #121114; stroke-width: 4; }
.pin__pulse { fill: none; stroke: var(--pink); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: pinpulse 2.6s ease-out infinite; }
.pin__pulse--2 { animation-delay: 1.3s; }
@keyframes pinpulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
.pin__lbl { font: 800 32px var(--display); font-stretch: 118%; fill: var(--chalk); paint-order: stroke; stroke: #1d1c21; stroke-width: 9px; stroke-linejoin: round; }
.map__compass circle { fill: rgba(18, 17, 20, .6); stroke: rgba(245, 243, 248, .3); stroke-width: 2; }
.map__compass path { fill: var(--chalk); }
.map__compass text { fill: var(--chalk); font: 700 15px var(--body); }
.map__tag { left: 18px; bottom: 18px; font-size: 1.35rem; }

/* ---------- getting here, practically ---------- */
.ways__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 100px); align-items: center; }
.ways__title { position: relative; z-index: 1; margin-bottom: clamp(18px, 3vh, 34px); }
.ways__list { position: relative; list-style: none; margin: 0 0 clamp(22px, 3.4vh, 34px); padding: 0; }
.ways__list::before { content: ""; position: absolute; left: 23px; top: 46px; bottom: 46px; width: 3px; background: repeating-linear-gradient(to bottom, var(--pink) 0 7px, transparent 7px 16px); animation: march 1.1s linear infinite; }
@keyframes march { to { background-position: 0 16px; } }
.ways__list svg { position: relative; z-index: 1; background: var(--chalk); border-radius: 50%; padding: 3px; box-shadow: 0 0 0 6px var(--chalk); }
.ways__list li { --line: 1; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: start; padding: clamp(14px, 2.2vh, 22px) 0; background: linear-gradient(rgba(18, 17, 20, .16), rgba(18, 17, 20, .16)) no-repeat 0 0 / calc(var(--line) * 100%) 1px; }
.ways__list li:last-child { box-shadow: inset 0 -1px 0 rgba(18, 17, 20, .16); }
.ways__list svg { width: 48px; height: 48px; }
.ways__list .draw { fill: none; stroke: var(--pink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ways__list li:nth-child(2) .draw { stroke: #1aa9b8; }
.ways__list li:nth-child(3) .draw { stroke: var(--purple); }
.ways__list h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin-bottom: 4px; }
.ways__list p { margin: 0; color: var(--ink-soft); }
.ways__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ways__addr { margin: 0; font-weight: 600; }
.ways__art { --ah: min(58vh, 560px); position: relative; width: calc(var(--ah) * .8); height: var(--ah); margin-right: 18px; }
.ways__panel { position: absolute; left: 4%; top: 20%; width: 64%; height: 68%; background: var(--pink); border-radius: var(--r); overflow: hidden; }
.ways__panel span { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: var(--mural-lilac); }
.ways__big { position: absolute; right: 0; top: 0; width: 64%; height: 84%; box-shadow: 0 30px 60px rgba(18, 17, 20, .22); }
.ways__big img { position: absolute; left: 0; top: -8%; height: 116%; object-position: 50% 42%; }
.ways__small { position: absolute; left: 0; bottom: 0; width: 46%; height: 46%; border: 6px solid var(--chalk); box-shadow: 0 24px 50px rgba(18, 17, 20, .25); }
.ways__slab { position: absolute; inset: 0; background: var(--purple); visibility: hidden; z-index: 2; }
.ways__slab--teal { background: var(--teal); }
.ways__tag { left: 20%; top: 5%; }
.ways__ring { position: absolute; left: 2%; top: 3%; width: 17%; z-index: 0; }
.ways__striped { width: 58px; right: 3%; top: 48px; }

/* ---------- hire ---------- */
.hire__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 84px); align-items: center; }
.hire__copy h2 { margin-bottom: 20px; }
.hire__copy .lede { color: var(--ink); margin-bottom: 14px; }
.hire__copy p { color: var(--ink-soft); }
.hire__copy a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hire__no { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 20px 0 28px; font-weight: 600; color: var(--ink) !important; }
.hire__strike { position: relative; display: inline-block; text-decoration: none; font-family: var(--hand); font-weight: 600; font-size: 1.6rem; line-height: 1; padding: 6px 14px 8px; background: var(--chalk); color: var(--ink); border-radius: var(--r); transform: rotate(-3deg); box-shadow: 0 8px 20px rgba(18, 17, 20, .12); }
.hire__strike::after { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 4px; background: var(--pink); border-radius: 2px; transform: rotate(-6deg) scaleX(var(--strike, 1)); transform-origin: left; }
.hire__blob { width: 96px; left: 44%; top: 64px; }
.rooms { display: flex; gap: 10px; height: min(58vh, 540px); }
.room { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; border-radius: var(--r); overflow: visible; cursor: pointer; background: var(--grey); color: var(--chalk); font: inherit; text-align: left; transition: flex-grow .9s var(--ease); }
.room.is-open { flex-grow: 3.3; }
.room__media { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.room:hover .room__media img { transform: scale(1.1); }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 17, 20, .82) 0%, rgba(18, 17, 20, .25) 34%, rgba(18, 17, 20, 0) 56%); pointer-events: none; z-index: 1; border-radius: inherit; }
.room__title { position: absolute; z-index: 2; left: 24px; right: 20px; bottom: 22px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.2; animation: room-title-in .7s var(--ease) both; }
.room:not(.is-open) .room__title { left: 50%; right: auto; bottom: 22px; max-height: calc(100% - 44px); margin-left: -.6em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; animation-name: room-title-side; }
@keyframes room-title-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes room-title-side { from { opacity: 0; } to { opacity: 1; } }
.room__timer { position: absolute; z-index: 2; left: 16px; right: 16px; top: 16px; height: 3px; border-radius: 2px; background: rgba(245, 243, 248, .28); opacity: 0; transition: opacity .4s; }
.room.is-open .room__timer { opacity: 1; }
.room__timer span { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.room:focus-visible { outline-offset: 4px; }
.room__mural { background: var(--ink); }
.room__panel { position: absolute; left: 16%; right: 16%; top: 18%; bottom: 0; background: var(--pink); border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.room__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: var(--mural-lilac); }
.room__key { position: absolute; left: 50%; bottom: 0; width: min(42%, 130px); transform: translateX(-50%); }
.room__sprig { position: absolute; left: 4%; bottom: 12%; width: min(30%, 96px); }
.room__dots { position: absolute; right: 6%; top: 8%; width: min(26%, 80px); }
.room__mural svg { width: 100%; height: auto; overflow: visible; }
.hire__marquee { position: relative; z-index: 1; margin-top: clamp(40px, 6vh, 70px); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.1; color: transparent; -webkit-text-stroke: 1.5px rgba(18, 17, 20, .55); }
.hire__marquee .marquee__item svg { width: 44px; height: 44px; color: var(--pink); }
.hire__marquee .marquee__item:nth-child(even) svg { color: var(--purple); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .visit-open__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .visit-card__top { padding-right: 136px; }
  .visit-card__arch { width: 116px; }
}
@media (max-width: 960px) {
  .visit-open__grid { grid-template-columns: 1fr; }
  .visit-card { width: min(100%, 520px); margin-top: 84px; }
  .visit-card__sprig, .visit-card__dots { display: none; }
  .visit-open__dots { display: none; }
  .route__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tabs" "map" "panel"; grid-template-rows: auto; }
  .map { width: 100vw; margin-inline: calc(50% - 50vw); border-radius: 0; justify-self: stretch; }
  .ways__grid, .hire__grid { grid-template-columns: minmax(0, 1fr); }
  .ways__art { --ah: min(110vw, 520px); width: calc(var(--ah) * .8); margin: 0 auto; }
  .rooms { flex-direction: column; height: min(130vw, 560px); }
  .room__title, .room:not(.is-open) .room__title { left: 20px; right: 20px; bottom: 18px; margin-left: 0; max-height: none; transform: none; writing-mode: horizontal-tb; white-space: normal; }
}
@media (max-width: 640px) {
  .form__row--2 { grid-template-columns: minmax(0, 1fr); }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__send { justify-content: center; }
  .visit-card__face { padding: 22px 20px 24px; }
  .visit-card__top { padding-right: 118px; }
  .visit-card__arch { width: 104px; right: 16px; top: -50px; }
  .visit-card__ring { right: -4px; width: 56px; top: -66px; }
  .visit-card__tag { right: 112px; top: -40px; font-size: 1.15rem; }
  .visit-hours div { flex-direction: column; gap: 2px; }
  .route__tabs button { font-size: .88rem; padding: 8px 10px; }
  .lbl--full { display: none; }
  .lbl--short { display: inline; }
  .lbl__t { font-size: 34px; stroke-width: 9px; }
  .lbl__walk { font-size: 38px; stroke-width: 9px; }
  .road-name { font-size: 25px; letter-spacing: .08em; }
  .moor-name { font-size: 50px; }
  .pin__lbl { font-size: 44px; }
  .map__compass { transform: translate(990px, 58px) scale(1.4); }
  .map__tag { left: 16px; bottom: 14px; font-size: 1.15rem; }
  .ways__small { width: 50%; }
  .ways__tag { left: 12%; }
  .hire__strike { font-size: 1.4rem; }
  .hire__blob { left: auto; right: -18px; top: 18px; width: 70px; }
  .ways__striped { display: none; }
  .sent { grid-template-columns: 1fr; }
  .sent__art { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .visit-open__title { visibility: visible; }
  .js [data-open-fade], .js [data-open-row] { opacity: 1; }
  .js .visit-card__face { clip-path: none; }
  .today__open, .pin__pulse, .dot__halo, .visit-open__fascia, .ways__list::before, .visit-open::before { animation: none !important; }
  .room, .room__media img { transition: none; }
  .room__title { animation: none !important; }
}

@media (min-width: 961px) and (max-height: 760px) {
  .visit-open { padding-top: calc(var(--head-h) + 14px); padding-bottom: 34px; }
  .visit-card { margin-top: 84px; }
  .visit-card__face { padding: 16px 24px 18px; }
  .visit-card__top { min-height: 76px; }
  .visit-card__arch { width: 112px; top: -50px; }
  .visit-card__tag { right: 128px; top: -40px; font-size: 1.2rem; }
  .visit-card__ring { width: 60px; top: -64px; }
  .visit-card__title { font-size: 1.45rem; }
  .visit-card__status { margin-top: 6px; }
  .today { margin-top: 10px; }
  .today__bar { margin-top: 28px; }
  .visit-hours { margin-top: 10px; gap: 6px; }
  .visit-hours div { padding: 7px 12px; }
  .visit-card__addr { margin-top: 10px; }
  .visit-card__addr .visit-card__street { font-size: 1.25rem; }
  .visit-card__map { margin-top: 10px; min-height: 46px; }
  .visit-card__dots { top: -84px; width: 76px; }
}

/* pinned map scene (desktop): fits the viewport under the scrolled header */
.route.is-pinned { min-height: 100vh; min-height: 100svh; padding: 96px 0 28px; display: flex; align-items: center; }
.route.is-pinned .map { width: min(100%, calc((100svh - 136px) / .7115)); }
