/* WordPress glue for the Hybrid design. The design itself is in assets/css/design (unchanged
   from the approved mockup); this file removes WordPress's own spacing and styles the few
   things the mockup did not have. */

/* ------------------------------------------------------------------ no WordPress gaps between sections */
.wp-site-blocks > *, .wp-site-blocks > * + *, .nest-main > *, .nest-main > * + *,
.wp-block-post-content > *, .wp-block-post-content > * + *, .nest-header-part, .nest-footer-part { margin-block: 0; }
.wp-site-blocks { padding: 0; }
.nest-main { display: block; }
.wp-block-post-content > :where(p, h1, h2, h3, h4, ul, ol, figure, blockquote, table, .wp-block-buttons, .wp-block-group, .wp-block-table, .wp-block-image, .wp-block-separator, .wp-block-shortcode) {
	max-width: calc(760px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
}
.wp-block-post-content > :where(p, h2, h3, ul, ol, figure, blockquote, table) + * { margin-top: 1em; }
.wp-block-post-content > :where(p, h1, h2, h3, h4, ul, ol):first-child { margin-top: clamp(40px, 5vw, 72px); }
.wp-block-post-content > :where(p, ul, ol, figure, table):last-child { margin-bottom: clamp(56px, 7vw, 96px); }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.brand-logo img { width: 190px; height: auto; }
.footer-logo { height: auto; }
.footer-social { display: flex !important; gap: 14px !important; margin-top: 14px !important; }
.site-footer .footer-brand p + p { margin-top: 8px; }

/* ------------------------------------------------------------------ plain pages and blog */
.nest-plain { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.nest-plain .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.nest-plain__title { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: 28px; }
.nest-prose > * + * { margin-top: 1em; }
.nest-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.nest-prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.nest-prose p, .nest-prose li { font-size: 1.0625rem; line-height: 1.65; }
.nest-prose ul, .nest-prose ol { padding-left: 1.2em; }
.nest-prose a { font-weight: 600; text-underline-offset: 3px; }
.nest-prose img { border-radius: var(--nest-radius-card); }

/* ------------------------------------------------------------------ sections the mockup did not have */
.nest-places { display: grid; gap: clamp(32px, 5vw, 64px); }
.nest-empty { padding: clamp(32px, 5vw, 56px); border-top-left-radius: clamp(64px, 10vw, 140px); }
.nest-empty .lede { font-family: var(--nest-font-heading); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }

.nest-buildings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.nb-building { display: grid; }
.nb-building .photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--nest-radius-card); border-top-left-radius: clamp(64px, 10vw, 140px); }
.nb-building .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nb-building:hover .photo img { transform: scale(1.03); }
.nb-building .nb-card { margin: -48px 24px 0; position: relative; display: grid; gap: 10px; }
.nb-building h3 { font-size: 1.875rem; }
.nb-building h3 a { color: inherit; text-decoration: none; }

.nb-community--flip > :first-child { order: 2; }
@media (max-width: 960px) { .nb-community--flip > :first-child { order: 0; } }
.nb-collage--1 img { grid-column: 1 / -1 !important; grid-row: 1 / -1 !important; aspect-ratio: 4 / 3; }
.nb-collage--2 img:last-child { grid-column: 2 / 3; grid-row: 1 / 3; }
.nb-included-note { margin-top: 20px; font-weight: 500; }
.nb-why--solo { grid-template-columns: 1fr !important; }

.nest-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.nest-review { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.nest-review blockquote { margin: 0; font-family: var(--nest-font-heading); font-weight: 600; font-size: 1.375rem; line-height: 1.3; }
.nest-review figcaption { margin-top: auto; display: grid; gap: 2px; }
.nest-review figcaption span { color: var(--nest-muted); font-size: .9375rem; }
.nest-stars { color: var(--nest-deep-clay); letter-spacing: 2px; }

.nest-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.nest-team__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--nest-radius-card); border-top-left-radius: 72px; margin-bottom: 14px; background: var(--nest-sea-glass); }
.nest-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.nest-team__person h3 { font-size: 1.375rem; }
.nest-team__person .nest-label { margin-top: 6px; }
.nest-team__person .muted { margin-top: 8px; }

.nest-nearby { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; max-width: 30rem; }
.nest-nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--nest-line); }
.map img, .nest-map-frame { display: block; width: 100%; border-radius: 10px; }
.nest-map-frame { aspect-ratio: 4 / 3; border: 0; }

.nest-text__inner { max-width: 760px; }
.nest-bg--cream { background: var(--nest-cream); }
.nest-bg--glass { background: var(--nest-sea-glass); }
.nest-bg--petrol { background: var(--nest-petrol); color: var(--nest-sand); }
.nest-text .nest-prose { margin-top: 8px; }

.nest-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.nest-contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.nest-contact__list li { display: grid; gap: 4px; }
.nest-contact__list a { font-weight: 600; font-size: 1.125rem; color: var(--nest-petrol); }
@media (max-width: 860px) { .nest-contact { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ room cards and room page extras */
.rt-card .photo { position: relative; }
.rt-state { position: absolute; right: 12px; top: 12px; background: var(--nest-petrol); color: var(--nest-sand); font-weight: 600; font-size: .8125rem; padding: 6px 12px; border-radius: 999px; }
.rt-state--sold-out { background: var(--nest-cream); color: var(--nest-petrol); }
.nest-hero-price { margin-top: 14px; font-size: 1.125rem; }
.nest-hero-price strong { font-family: var(--nest-font-heading); font-size: 1.5rem; font-weight: 600; }
.nest-hero-price span { display: inline-block; margin-left: 10px; background: rgba(169, 198, 196, .2); color: var(--nest-sea-glass); padding: 4px 10px; border-radius: 999px; font-size: .875rem; font-weight: 600; vertical-align: middle; }
.nest-hero-address { color: var(--nest-sea-glass); margin-top: 10px; font-weight: 500; }
.room-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 24px 0 0; }
.room-facts > div { background: var(--nest-cream); border-radius: 12px; padding: 14px 16px; }
.room-facts dt { color: var(--nest-muted); }
.room-facts dd { margin: 4px 0 0; font-weight: 600; font-size: 1.0625rem; }
.room-block { margin-top: clamp(40px, 5vw, 64px); }
.opt-price { font-family: var(--nest-font-heading); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.nest-book-note { padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(243, 235, 221, .45); font-weight: 600; text-align: center; }
.book-card .nest-button { text-decoration: none; }
.nest-embed { position: relative; aspect-ratio: 16 / 10; border-radius: var(--nest-radius-card); overflow: hidden; background: var(--nest-petrol); }
.nest-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.plan img { width: 100%; height: auto; display: block; }
.mv-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ coming soon, 404, demo banner */
.nest-demo-banner { background: var(--nest-sea-glass); color: var(--nest-petrol); text-align: center; font-weight: 600; font-size: .9375rem; padding: 10px 16px; position: relative; z-index: 60; }
.nest-soon { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 48px 24px 32px; text-align: center; background: var(--nest-petrol); color: var(--nest-sand); }
.nest-soon__inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.nest-soon__inner > * { margin: 0 !important; }
.nest-soon__logo img { width: 260px; height: auto; }
.nest-soon__title { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 14ch; }
.nest-soon__line { font-size: 1.1875rem; color: var(--nest-sea-glass); }
.nest-soon__email a { color: var(--nest-sand); font-weight: 600; text-underline-offset: 4px; }
.nest-soon__login { margin-top: 48px !important; display: flex; justify-content: center; }
.nest-soon__login a { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 22px; border-radius: 999px; color: var(--nest-sand); box-shadow: inset 0 0 0 1.5px var(--nest-sand); text-decoration: none; font-weight: 600; }
.nest-soon__login a:hover { background: var(--nest-sand); color: var(--nest-petrol); }

/* Blog lists (core query blocks) */
.nest-main .wp-block-query { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.nest-main .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; list-style: none; padding: 0; }
.nest-main .wp-block-post-template > li { background: var(--nest-cream); border-radius: var(--nest-radius-card); overflow: hidden; padding-bottom: 20px; }
.nest-main .wp-block-post-template > li > *:not(.wp-block-post-featured-image) { padding-inline: 22px; }
.nest-main .wp-block-post-title a { color: inherit; text-decoration: none; }
.footer-company { line-height: 1.6; } .footer-base { align-items: flex-end; }

/* Map loads only on request */
.nest-map-consent { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--nest-sea-glass); }
.nest-map-consent > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.4) brightness(.75); }
.nest-map-consent__box { position: absolute; inset: auto 16px 16px 16px; background: var(--nest-cream); border-radius: 12px; padding: 16px; display: grid; gap: 8px; justify-items: start; }
.nest-map-consent__box p { font-size: .875rem; color: var(--nest-muted); }

.nest-embed__ask { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--nest-sand); }
.nest-embed__ask p { font-size: .9375rem; max-width: 30rem; }
.footer-cookie-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; opacity: .85; }
.footer-cookie-btn:hover { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }

/* Booking box: one card per tenancy length (weeks, from price, dates), floors as pills */
.opt-card .opt-tenancy { display: grid !important; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
.opt-tenancy em { font-style: normal; font-weight: 600; font-size: .9375rem; }
.opt-tenancy small { grid-column: 1 / -1; }
.opt-card input:checked + .opt-tenancy em { color: var(--nest-petrol); }
.opt-card input:disabled + span, .opt-pill.is-off span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-summary { color: var(--nest-sea-glass); font-size: .9375rem; min-height: 1.4em; }
.book-card .nest-button.is-off { opacity: .45; pointer-events: none; }

/* Booking panel fits one screen: tighter spacing, floor as a dropdown, never taller than the window */
.book-card.options-card { gap: 10px; padding: 20px 22px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.admin-bar .book-card.options-card { max-height: calc(100vh - 80px); }
.book-card.options-card h2 { font-size: 1.375rem; }
.book-card.options-card fieldset { gap: 6px; }
.book-card.options-card legend { margin-bottom: 4px; }
.book-card .opt-card .opt-tenancy { padding: 9px 14px; gap: 0 12px; }
.book-card .opt-tenancy strong { font-size: 1rem; }
.book-card .opt-tenancy small { font-size: .8125rem; }
.book-card .opt-pill span { padding: 7px 14px; }
.opt-select { display: grid; gap: 6px; }
.opt-select[hidden] { display: none; }
.opt-select select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; border-radius: 12px; padding: 11px 40px 11px 14px; background: var(--nest-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173F47' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; color: var(--nest-petrol); font: 600 1rem/1.3 var(--nest-font-body); cursor: pointer; }
.opt-select select:focus-visible { outline: 3px solid var(--nest-sand); outline-offset: 2px; }
.book-card .opt-price { font-size: 1.375rem; }
.book-card .opt-summary { margin: 0; }

/* Booking panel: gentle fade when the year, floor or tenancy changes */
@keyframes nest-swap { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.book-card.is-swapping--all .opt-stack,
.book-card.is-swapping [data-price],
.book-card.is-swapping [data-opt-summary] { animation: nest-swap .22s ease-out both; }
.book-card .opt-card, .book-card [data-book-link] { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { .book-card.is-swapping .opt-stack, .book-card.is-swapping [data-price], .book-card.is-swapping [data-opt-summary] { animation: none; } }

/* ------------------------------------------------------------------ Nest dropdowns */
.nest-select { position: relative; width: 100%; }
.nest-select__native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; width: 100%; }
.nest-select__button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; border: 0; background: transparent; color: var(--nest-petrol); font: 500 1rem/1.3 var(--nest-font-body); padding: 2px 0; cursor: pointer; text-align: left; border-radius: 8px; }
.nest-select__button:disabled { cursor: default; opacity: .6; }
.nest-select__button:focus-visible { outline: 2px solid var(--nest-sea-glass); outline-offset: 4px; }
.nest-select__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nest-select__chev { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nest-select.is-open .nest-select__chev { transform: rotate(180deg); }
.nest-select__list { position: absolute; z-index: 80; left: -14px; right: -14px; top: calc(100% + 12px); min-width: 220px; margin: 0; padding: 6px; list-style: none; background: var(--nest-cream); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(23, 63, 71, .45), 0 0 0 1px var(--nest-line); max-height: min(320px, 60vh); overflow-y: auto; animation: nest-swap .16s ease-out both; }
.nest-select__list:focus { outline: none; }
.nest-select__option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--nest-petrol); font: 500 1rem/1.3 var(--nest-font-body); cursor: pointer; }
.nest-select__option.is-active { background: var(--nest-sand); }
.nest-select__option[aria-selected="true"] { font-weight: 600; }
.nest-select__tick { width: 18px; height: 18px; fill: none; stroke: var(--nest-clay); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; flex: 0 0 auto; }
.nest-select__option[aria-selected="true"] .nest-select__tick { visibility: visible; }
/* In the booking panel the field is a cream box */
.opt-select .nest-select { background: var(--nest-cream); border-radius: 12px; }
.opt-select .nest-select__button { padding: 11px 14px; font-weight: 600; }
.opt-select .nest-select__list { left: 0; right: 0; top: calc(100% + 6px); }
.opt-select .nest-select__button:focus-visible { outline-color: var(--nest-sand); outline-offset: 2px; }
/* Location search: no heavy focus ring on the field itself */
.od-search label:focus-within { outline: none; }
@media (prefers-reduced-motion: reduce) { .nest-select__list, .nest-select__chev { animation: none; transition: none; } }

/* The booking panel never scrolls inside itself; dropdown lists sit on top of it */
.book-card.options-card, .admin-bar .book-card.options-card { max-height: none; overflow: visible; }
.nest-select__list.is-up { top: auto; bottom: calc(100% + 6px); }

/* Room features: two columns so the list stays short. */
.room-block .checks--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 560px) { .room-block .checks--2 { grid-template-columns: 1fr; } }

/* Floor selector: the plain select and the styled one are the same size, so nothing moves when it upgrades. */
.opt-select select, .opt-select .nest-select__button { min-height: 43px; box-sizing: border-box; }
.nest-select__button { transition: none; }

/* Tenancy cards: keep the area at its tallest so the floor selector stays put when choices change. */
.opt-stack { align-content: start; }

/* ===== Blog ===== */
.blog-chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; }
.blog-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--nest-radius-pill); color: var(--nest-cream); text-decoration: none; font-weight: 600; font-size: .9375rem; box-shadow: inset 0 0 0 1.5px rgba(255, 253, 248, .35); transition: background .2s, color .2s, box-shadow .2s; }
.blog-chips a:hover { box-shadow: inset 0 0 0 1.5px var(--nest-cream); }
.blog-chips a[aria-current="page"] { background: var(--nest-sand); color: var(--nest-petrol); box-shadow: none; }
.blog-chips a:focus-visible { outline: 3px solid var(--nest-sand); outline-offset: 2px; }

.blog-body { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 104px); }
.blog-empty { font-size: 1.125rem; color: var(--nest-muted); }

.post-meta { font-size: .875rem; color: var(--nest-muted); margin: 0; }

.post-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--nest-cream); border-radius: var(--nest-radius-card); overflow: hidden; margin-bottom: clamp(48px, 6vw, 80px); box-shadow: 0 1px 0 var(--nest-line); }
.post-lead__media { display: block; position: relative; min-height: 380px; overflow: hidden; }
.post-lead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-lead:hover .post-lead__media img { transform: scale(1.03); }
.post-lead__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.post-lead__body .nest-label { margin: 0; }
.post-lead__title { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.post-lead__title a, .post-card__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s; }
.post-lead:hover .post-lead__title a, .post-card:hover .post-card__title a, .post-lead__title a:focus-visible, .post-card__title a:focus-visible { background-size: 100% 1.5px; }
.post-lead__excerpt { font-size: 1.0625rem; line-height: 1.6; margin: 0; }
.post-lead .nest-button { align-self: flex-start; margin-top: 8px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(20px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--nest-radius-arch) var(--nest-radius-arch) var(--nest-radius-card) var(--nest-radius-card); background: var(--nest-sea-glass); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: grid; gap: 8px; }
.post-card__body .nest-label { margin: 0; }
.post-card__title { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.15; }
.post-card__excerpt { margin: 0; line-height: 1.55; }

.blog-pages { margin-top: clamp(40px, 5vw, 64px); }
.blog-pages ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.blog-pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--nest-radius-pill); color: var(--nest-petrol); text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--nest-line); }
.blog-pages .page-numbers.current { background: var(--nest-petrol); color: var(--nest-cream); box-shadow: none; }
.blog-pages a.page-numbers:hover { box-shadow: inset 0 0 0 1.5px var(--nest-petrol); }

/* Article */
.post-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 3.5vw, 44px); }
.post-head .wrap { max-width: calc(880px + 2 * var(--gutter)); }
.post-head .crumbs { color: var(--nest-muted); }
.post-head .nest-label { margin: 0 0 14px; }
.post-head .nest-label a { color: inherit; text-decoration: none; }
.post-head__title { font-size: clamp(2.375rem, 5.2vw, 4.25rem); }
.post-head__standfirst { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; color: var(--nest-muted); margin: 20px 0 0; max-width: 60ch; }
.post-byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; line-height: 1.4; }
.post-byline__mark { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--nest-petrol); display: grid; place-items: center; }
.post-byline__arch { width: 28px; margin-top: 4px; overflow: visible; }

.post-hero-img { margin: 0 auto; }
.post-hero-img img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: clamp(80px, 14vw, 220px) clamp(80px, 14vw, 220px) var(--nest-radius-card) var(--nest-radius-card); }
.post-hero-img figcaption { font-size: .875rem; color: var(--nest-muted); margin-top: 10px; }

.post-layout { display: grid; grid-template-columns: 220px minmax(0, 700px); justify-content: center; gap: clamp(40px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.post-aside { position: sticky; top: 112px; align-self: start; display: grid; gap: 32px; }
.admin-bar .post-aside { top: 144px; }
.post-aside .nest-label { margin: 0 0 12px; color: var(--nest-deep-clay); }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--nest-line); }
.post-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--nest-muted); text-decoration: none; font-size: .9375rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.post-toc a:hover, .post-toc a.is-current { color: var(--nest-petrol); border-left-color: var(--nest-clay); }
.post-share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-share a, .post-share button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--nest-radius-pill); background: var(--nest-cream); color: var(--nest-petrol); font: 600 .875rem/1 var(--nest-font-body); text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--nest-line); }
.post-share a:hover, .post-share button:hover { box-shadow: inset 0 0 0 1.5px var(--nest-petrol); }

.post-body > p:first-child { font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); line-height: 1.6; }
.post-body h2 { scroll-margin-top: 120px; }
.post-body > ul { list-style: none; padding-left: 0; }
.post-body > ul > li { position: relative; padding-left: 26px; }
.post-body > ul > li + li, .post-body > ol > li + li { margin-top: .4em; }
.post-body > ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--nest-clay); }
.post-body > ol > li::marker { color: var(--nest-deep-clay); font-weight: 700; }
.post-body figure { margin: 2em 0; }
.post-body figure img { width: 100%; height: auto; border-radius: var(--nest-radius-card); }
.post-body figcaption { font-size: .875rem; color: var(--nest-muted); margin-top: 10px; text-align: left; }
.post-body .wp-block-image.is-style-arched img { border-radius: var(--nest-radius-arch) var(--nest-radius-arch) var(--nest-radius-card) var(--nest-radius-card); }
.post-body .wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-body .wp-block-gallery figure { margin: 0; }
.post-body .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; }
.post-body blockquote { margin: 2.2em 0; padding: 0; border: 0; }
.post-body blockquote::before { content: ""; display: block; width: 72px; height: 32px; margin-bottom: 14px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 64'%3E%3Cpath d='M6 58 A69 52 0 0 1 144 58' fill='none' stroke='%23D9774B' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.post-body blockquote p { font-family: var(--nest-font-heading); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; font-weight: 500; color: var(--nest-petrol); }
.post-body blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: .9375rem; color: var(--nest-muted); }
.post-body .nest-tip { background: var(--nest-sea-glass); border-radius: var(--nest-radius-card); padding: 24px 28px; margin: 2em 0; }
.post-body .nest-tip::before { content: "Nest tip"; display: block; font-size: var(--nest-text-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nest-petrol); margin-bottom: 8px; }
.post-body .nest-tip > * { margin: 0; }
.post-body .nest-tip > * + * { margin-top: .6em; }
.post-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 3em; padding-top: 28px; border-top: 1px solid var(--nest-line); }
.post-author p { margin: 0; font-size: 1rem; color: var(--nest-muted); }
.post-author .post-author__name { font-weight: 700; color: var(--nest-petrol); margin-bottom: 4px; }

.post-more { background: var(--nest-cream); padding: clamp(56px, 7vw, 104px) 0; }
.post-more__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.post-more__head .head { margin: 0; }

@media (max-width: 960px) {
  .post-lead { grid-template-columns: 1fr; }
  .post-lead__media { min-height: 0; aspect-ratio: 16 / 10; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; }
  .post-toc ol { columns: 2; column-gap: 24px; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-toc ol { columns: 1; }
  .post-hero-img img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .post-card__media img, .post-lead__media img { transition: none; } }

/* ===== Preview login (coming soon) and the viewer pill ===== */
.nest-preview { display: grid; justify-items: center; gap: 16px; width: 100%; max-width: 380px; margin: 8px auto 0; }
.nest-preview__toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--nest-radius-pill); background: transparent; color: var(--nest-sand); font: 600 1rem/1 var(--nest-font-body); cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(243, 235, 221, .55); transition: box-shadow .2s; }
.nest-preview__toggle:hover, .nest-preview__toggle[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--nest-sand); }
.nest-preview__toggle:focus-visible { outline: 3px solid var(--nest-sand); outline-offset: 3px; }
.nest-preview__form { width: 100%; display: grid; gap: 12px; padding: 24px; border-radius: var(--nest-radius-card); background: rgba(255, 253, 248, .06); box-shadow: inset 0 0 0 1px rgba(243, 235, 221, .18); text-align: left; animation: nest-swap .22s ease-out both; }
.nest-preview__form[hidden] { display: none; }
.nest-preview__intro { margin: 0 0 4px; font-size: .9375rem; color: var(--nest-sea-glass); text-align: center; }
.nest-preview__error { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(217, 119, 75, .18); color: var(--nest-cream); font-size: .9375rem; }
.nest-preview__form label { display: grid; gap: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--nest-sea-glass); }
.nest-preview__form input[type="text"], .nest-preview__form input[type="password"] { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--nest-cream); color: var(--nest-petrol); font: 500 1rem/1.3 var(--nest-font-body); }
.nest-preview__form input:focus-visible { outline: 3px solid var(--nest-clay); outline-offset: 2px; }
.nest-preview__form .nest-preview__remember { display: flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: 0; color: var(--nest-sand); }
.nest-preview__remember input { width: 18px; height: 18px; accent-color: var(--nest-clay); }
.nest-preview__form .nest-button { width: 100%; justify-content: center; margin-top: 4px; }
.nest-preview__team { margin: 2px 0 0; text-align: center; font-size: .8125rem; }
.nest-preview__team a { color: var(--nest-sea-glass); text-underline-offset: 3px; }

.nest-preview-pill { position: fixed; left: 16px; bottom: 16px; z-index: 9999; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: var(--nest-radius-pill); background: var(--nest-petrol); color: var(--nest-sand); font: 600 .8125rem/1 var(--nest-font-body); box-shadow: 0 10px 30px -12px rgba(23, 63, 71, .6); }
.nest-preview-pill span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--nest-clay); vertical-align: 1px; }
.nest-preview-pill a { padding: 8px 12px; border-radius: var(--nest-radius-pill); background: rgba(243, 235, 221, .12); color: var(--nest-cream); text-decoration: none; }
.nest-preview-pill a:hover { background: rgba(243, 235, 221, .22); }

/* Footer social icons */
.footer-social { list-style: none; padding: 0; gap: 10px !important; }
.footer-social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--nest-sand); box-shadow: inset 0 0 0 1.5px rgba(243, 235, 221, .35); transition: background .2s, color .2s, box-shadow .2s; }
.footer-social a:hover { background: var(--nest-sand); color: var(--nest-petrol); box-shadow: none; }
.footer-social a:focus-visible { outline: 3px solid var(--nest-sand); outline-offset: 2px; }
.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Mobile menu: a solid panel that fills the screen under the header (the bar it sits in is transparent). */
@media (max-width: 1100px) {
  .site-header .site-nav { background: var(--nest-sand); color: var(--nest-petrol); height: calc(100vh - 80px); height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; box-shadow: none; }
  .site-header.on-dark .site-nav { background: var(--nest-petrol); color: var(--nest-cream); }
  .site-header .site-nav.is-open { animation: nest-swap .2s ease-out both; }
  html.menu-open { overflow: hidden; }
}

/* ===== Plain pages (policies, complaints): petrol header, one clean text column ===== */
.nest-plain { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.nest-plain .nest-prose > * { max-width: none; margin-left: 0; margin-right: 0; }
.nest-plain .nest-prose > p:first-child { color: var(--nest-muted); font-size: .9375rem; }
.nest-plain .nest-prose > p:first-child strong { font-weight: 600; }
.nest-plain .nest-prose h2 { padding-top: 1.1em; border-top: 1px solid var(--nest-line); margin-top: 1.4em; }
.nest-plain .nest-prose ul { list-style: none; padding-left: 0; }
.nest-plain .nest-prose ul > li { position: relative; padding-left: 24px; }
.nest-plain .nest-prose ul > li + li { margin-top: .35em; }
.nest-plain .nest-prose ul > li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--nest-clay); }
.nest-plain .nest-prose ol { padding-left: 1.25em; }
.nest-plain .nest-prose ol > li::marker { color: var(--nest-deep-clay); font-weight: 700; }

/* Every hero fills the first screen like the home page: full height under the header, content centred,
   and the door sized from the window height. */
.od-hero.od-hero--page { min-height: calc(100vh - 80px); display: flex; align-items: center; padding-block: 24px 40px; }
.od-hero--page > .wrap { width: 100%; }
.od-hero--page h1 { font-size: clamp(2.75rem, min(5.2vw, 9vh), 5.25rem); }
.od-hero--page .door-frame { aspect-ratio: 4 / 5; }
.od-hero--page .door { max-width: min(600px, calc((100vh - 190px) * .8)); }
.od-hero .blog-chips ul { margin-top: 28px; }
.nest-plain .wrap { max-width: calc(760px + 2 * var(--gutter)); }
@media (max-width: 960px) { .od-hero.od-hero--page { min-height: 0; display: block; } }

/* One left edge for plain pages: the column already has its gutter, so text blocks inside it need none. */
.nest-plain .nest-prose > * { padding-inline: 0; }
.nest-plain .nest-prose > :first-child { margin-top: 0; }
/* Loose lists on other pages: bullets sit inside the same text column as the paragraphs. */
.wp-block-post-content:not(.nest-prose) > :where(ul, ol) { padding-left: calc(var(--gutter) + 1.2em); }

/* Fluent Forms submit button in the Nest style */
.fluentform .ff-btn-submit, .fluentform .ff-btn-submit:not(.ff_btn_no_style) { background: var(--nest-petrol) !important; color: var(--nest-cream) !important; border: 0 !important; border-radius: var(--nest-radius-pill) !important; padding: 14px 28px !important; font: 600 1rem/1 var(--nest-font-body) !important; min-height: 48px; cursor: pointer; transition: background .2s; }
.fluentform .ff-btn-submit:hover { background: #0f2f35 !important; }
.fluentform .ff-btn-submit:focus-visible { outline: 3px solid var(--nest-clay) !important; outline-offset: 2px; }

/* ===== Mega menu ===== */
.nav-item { position: static; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: inherit; font: 500 .975rem/1.2 var(--nest-font-body); cursor: pointer; }
.nav-trigger:focus-visible { outline: 2px solid var(--nest-sea-glass); outline-offset: 4px; border-radius: 4px; }
.nav-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-item.is-open .nav-chev { transform: rotate(180deg); }
.nav-item.is-current > .nav-trigger { box-shadow: inset 0 -1.5px 0 currentColor; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--nest-sand); color: var(--nest-petrol); box-shadow: 0 24px 40px -24px rgba(23, 63, 71, .45); border-top: 1px solid rgba(23, 63, 71, .08); animation: nest-swap .18s ease-out both; }
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 64px); padding-top: 36px; padding-bottom: 40px; }
.mega-label { color: var(--nest-deep-clay); margin: 0 0 18px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; }
.mega-links a { display: grid; gap: 4px; padding: 14px 16px; margin: 0 -16px; border-radius: 14px; color: inherit; text-decoration: none; background: none; transition: background .2s; }
.mega-links a:hover, .mega-links a:focus-visible, .mega-links a[aria-current="page"] { background: var(--nest-cream); }
.mega-links strong { font: 600 1.125rem/1.25 var(--nest-font-heading); }
.mega-links span { font-size: .9375rem; line-height: 1.45; color: var(--nest-muted); }
.mega-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 40px; }
.mega-city__name { display: inline-block; font: 600 1.375rem/1.2 var(--nest-font-heading); color: inherit; text-decoration: none; padding: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s; }
.mega-city__name:hover { background-size: 100% 1.5px; }
.mega-city ul { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--nest-clay); display: grid; gap: 6px; }
.mega-city li a { color: var(--nest-muted); text-decoration: none; padding: 2px 0; font-size: 1rem; background: none; }
.mega-city li a:hover { color: var(--nest-petrol); text-decoration: underline; text-underline-offset: 3px; }
.mega-card { display: grid; grid-template-rows: 160px auto; border-radius: var(--nest-radius-card); overflow: hidden; background: var(--nest-petrol); color: var(--nest-cream); text-decoration: none; padding: 0; }
.mega-card__img { display: block; overflow: hidden; border-radius: 0 0 0 0; }
.mega-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mega-card:hover .mega-card__img img { transform: scale(1.04); }
.mega-card__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.mega-card__body strong { font: 600 1.125rem/1.2 var(--nest-font-heading); }
.mega-card__body span { font-size: .875rem; line-height: 1.45; color: var(--nest-sea-glass); }

/* Phones and small screens: the dropdowns become sections inside the menu panel */
@media (max-width: 1100px) {
  .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
  .nav-item.is-current > .nav-trigger { box-shadow: none; }
  .mega { position: static; background: none; color: inherit; box-shadow: none; border: 0; }
  .mega-grid { display: block; padding: 6px 0 14px; max-width: none; }
  .mega-label, .mega-card { display: none; }
  .mega-links { grid-template-columns: 1fr; gap: 0; }
  .mega-links a { margin: 0; padding: 10px 0 10px 14px; border-radius: 0; }
  .mega-links a:hover, .mega-links a:focus-visible, .mega-links a[aria-current="page"] { background: none; }
  .mega-links strong { font: 500 1rem/1.3 var(--nest-font-body); }
  .mega-links span { display: none; }
  .mega-cities { grid-template-columns: 1fr; gap: 14px; padding-left: 14px; }
  .mega-city__name { font: 600 1rem/1.3 var(--nest-font-body); }
  .mega-city ul { margin-top: 6px; }
  .mega-city li a, .mega-city li a:hover { color: inherit; opacity: .85; }
}

/* Footer: a city, then its properties under it */
.site-footer .footer-sub a { padding-left: 14px; opacity: .8; }
.site-footer .footer-city a { font-weight: 600; }

/* Links inside the dropdowns do not use the header underline effect */
.site-header .mega a { background-image: none; font-size: inherit; }
.site-header .mega .mega-card { background-color: var(--nest-petrol); color: var(--nest-cream); }
.site-header .mega .mega-card__body span { color: var(--nest-sea-glass); }
.site-header .mega .mega-city__name { background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-size: 0 1.5px; background-repeat: no-repeat; font-size: 1.375rem; }
.site-header .mega .mega-city__name:hover { background-size: 100% 1.5px; }
.site-header .mega-links a:hover, .site-header .mega-links a:focus-visible, .site-header .mega-links a[aria-current="page"] { background-color: var(--nest-cream); }
@media (max-width: 1100px) { .site-header .mega .mega-city__name { font-size: 1rem; } .site-header .mega-links a:hover, .site-header .mega-links a:focus-visible, .site-header .mega-links a[aria-current="page"] { background-color: transparent; } }
@media (max-width: 1100px) { .site-header .mega .mega-card, .site-header .mega .mega-label { display: none; } }

/* Room page on phones and tablets: photos and key facts, then the booking options, then the details and FAQs. */
@media (max-width: 960px) {
  .room-detail > div:first-child { display: contents; }
  .room-detail .room-media { order: 1; }
  .room-detail .room-facts { order: 2; }
  .room-detail > div:last-child { order: 3; }
  .room-detail .room-block { order: 4; }
}

/* Locations dropdown with only a few buildings: photo cards */
.mega-buildings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-header .mega .mega-building { display: grid; grid-template-rows: auto auto; gap: 12px; color: inherit; text-decoration: none; padding: 0; }
.mega-building__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--nest-radius-arch) var(--nest-radius-arch) var(--nest-radius-card) var(--nest-radius-card); background: var(--nest-sea-glass); }
.mega-building__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mega-building:hover .mega-building__img img { transform: scale(1.04); }
.mega-building__body { display: grid; gap: 2px; }
.mega-building__body strong { font: 600 1.25rem/1.2 var(--nest-font-heading); }
.mega-building__body span { font-size: .9375rem; color: var(--nest-muted); }
@media (max-width: 1100px) { .mega-buildings { grid-template-columns: 1fr; gap: 0; } .mega-building__img { display: none; } .site-header .mega .mega-building { padding: 10px 0 10px 14px; gap: 0; } .mega-building__body strong { font: 500 1rem/1.3 var(--nest-font-body); } .mega-building__body span { font-size: .875rem; color: inherit; opacity: .75; } }

/* Team member without a photo yet: their initial in a petrol arch */
.nest-team__photo--initial { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--nest-petrol); border-radius: var(--nest-radius-arch) var(--nest-radius-arch) var(--nest-radius-card) var(--nest-radius-card); }
.nest-team__photo--initial span { font: 600 clamp(3rem, 6vw, 4.5rem)/1 var(--nest-font-heading); color: var(--nest-sand); }
.nest-team__person:nth-child(3n+2) .nest-team__photo--initial { background: var(--nest-sea-glass); } .nest-team__person:nth-child(3n+2) .nest-team__photo--initial span { color: var(--nest-petrol); }
.nest-team__person:nth-child(3n+3) .nest-team__photo--initial { background: var(--nest-clay); } .nest-team__person:nth-child(3n+3) .nest-team__photo--initial span { color: var(--nest-cream); }

/* Team job titles: sentence case so long titles stay on one line */
.nest-team__person .nest-label { text-transform: none; letter-spacing: 0; font-size: .9375rem; font-weight: 500; color: var(--nest-deep-clay); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .nest-team__person .nest-label { white-space: normal; } }
.nest-team__person .nest-label { font-size: clamp(.8125rem, 1vw, .875rem); }

/* Room cards: the photo runs to the card edges; the arch is the card corner itself (no cream band round the photo). */
.opt-hybrid .rt-card { border-top-left-radius: 64px; }
.opt-hybrid .rt-card .photo, .opt-hybrid .rt-card:nth-child(2n) .photo { margin: 0; border-radius: 0; }
@media (max-width: 600px) { .opt-hybrid .rt-card { border-top-left-radius: 40px; } }

/* ===== Live map ===== */
/* The map fills its arched frame: no cream border, and the arch clips the map itself. */
.map.map--live { padding: 0; overflow: hidden; position: relative; isolation: isolate; }
.nest-livemap { position: relative; width: 100%; aspect-ratio: 5 / 4; background: var(--nest-sand); }
.nest-livemap__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) brightness(.9); transition: opacity .4s; }
.nest-livemap.is-live .nest-livemap__poster { opacity: 0; pointer-events: none; }
.nest-livemap .maplibregl-canvas { outline: none; }
.nest-livemap .maplibregl-ctrl-group { border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(23, 63, 71, .45); }
.nest-livemap .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.nest-livemap .maplibregl-ctrl-attrib { font-size: 11px; background: rgba(255, 253, 248, .85); }
.nest-livemap .maplibregl-cooperative-gesture-screen { font-family: var(--nest-font-body); background: rgba(23, 63, 71, .75); }

.nest-map-home { width: 40px; height: 48px; filter: drop-shadow(0 6px 8px rgba(23, 63, 71, .35)); cursor: pointer; }
.nest-map-home svg { width: 100%; height: 100%; display: block; }
.nest-map-pin { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--nest-cream); display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--nest-cream); background: var(--nest-muted); box-shadow: 0 4px 10px -4px rgba(23, 63, 71, .55); transition: transform .15s; }
.nest-map-pin:hover, .nest-map-pin:focus-visible { transform: scale(1.12); outline: none; }
.nest-map-pin svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nest-map-pin--shopping, .nest-pin-dot--shopping { background: var(--nest-clay); }
.nest-map-pin--university, .nest-pin-dot--university { background: var(--nest-petrol); }
.nest-map-pin--transport, .nest-pin-dot--transport { background: #3E6E78; }
.nest-map-pin--food, .nest-pin-dot--food { background: var(--nest-deep-clay); }
.nest-map-pin--park, .nest-pin-dot--park { background: #5E8A63; }
.nest-map-pin--gym, .nest-pin-dot--gym { background: #6B5B8C; }
.nest-map-pin--other, .nest-pin-dot--other { background: var(--nest-muted); }

.nest-map-pop .maplibregl-popup-content { padding: 12px 14px; border-radius: 14px; background: var(--nest-cream); color: var(--nest-petrol); font-family: var(--nest-font-body); box-shadow: 0 12px 28px -14px rgba(23, 63, 71, .55); display: grid; gap: 2px; }
.nest-map-pop strong { font: 600 1rem/1.25 var(--nest-font-heading); }
.nest-map-pop span { font-size: .875rem; color: var(--nest-muted); }
.nest-map-pop a { margin-top: 6px; font-weight: 600; font-size: .875rem; color: var(--nest-deep-clay); }
.nest-map-pop.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--nest-cream); }
.nest-map-pop.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--nest-cream); }

/* Nearby list: places with a pin are buttons that fly the map to them */
.nest-nearby--pins .nest-nearby__go { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.nest-nearby__go:hover span:last-child, .nest-nearby__go.is-active span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.nest-nearby__go:focus-visible { outline: 2px solid var(--nest-clay); outline-offset: 4px; border-radius: 4px; }
.nest-pin-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(255, 253, 248, .9); }
.map.map--live { box-shadow: 0 0 0 1px var(--nest-line), 0 24px 40px -32px rgba(23, 63, 71, .45); }
.nest-livemap { background: #ECE2CF; }

/* Map loading: a calm sand panel, then the map and pins fade in once drawn */
.nest-livemap__loading { position: absolute; inset: 0; background: linear-gradient(110deg, #ECE2CF 30%, #F3EBDD 50%, #ECE2CF 70%) 0 0 / 300% 100%; animation: nest-map-wait 1.6s ease-in-out infinite; transition: opacity .4s; }
@keyframes nest-map-wait { from { background-position: 100% 0; } to { background-position: 0 0; } }
.nest-livemap.is-live .nest-livemap__loading { opacity: 0; pointer-events: none; animation: none; }
.nest-livemap .maplibregl-canvas-container, .nest-livemap .maplibregl-marker, .nest-livemap .maplibregl-control-container { opacity: 0; transition: opacity .5s ease; }
.nest-livemap.is-live .maplibregl-canvas-container, .nest-livemap.is-live .maplibregl-marker, .nest-livemap.is-live .maplibregl-control-container { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nest-livemap__loading { animation: none; } }

/* Map credit: one quiet line under the map */
.map.map--live { overflow: visible; box-shadow: none; }
.map.map--live .nest-livemap { border-radius: inherit; overflow: hidden; box-shadow: 0 0 0 1px var(--nest-line), 0 24px 40px -32px rgba(23, 63, 71, .45); }
.nest-livemap__credit { margin: 8px 4px 0; padding: 0; font-size: .6875rem; line-height: 1.4; color: var(--nest-muted); opacity: .75; text-align: right; }
.nest-livemap__credit a { color: inherit; text-decoration: none; }
.nest-livemap__credit a:hover { text-decoration: underline; }
.map.map--live { background: none; border-radius: 0; }
.map.map--live .nest-livemap { border-radius: var(--nest-radius-card) clamp(64px, 10vw, 140px) var(--nest-radius-card) var(--nest-radius-card); }

/* Map credit: a small "i" on the map that opens the credit line */
.map.map--live { box-shadow: none; }
.nest-map-credit { position: absolute; left: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; border-radius: 999px; background: rgba(255, 253, 248, .92); box-shadow: 0 4px 12px -6px rgba(23, 63, 71, .45); opacity: 0; transition: opacity .5s ease; }
.nest-livemap.is-live .nest-map-credit { opacity: 1; }
.nest-map-credit__btn { width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--nest-petrol); font: italic 700 .875rem/1 Georgia, serif; cursor: pointer; display: grid; place-items: center; padding: 0; }
.nest-map-credit__btn:focus-visible { outline: 2px solid var(--nest-clay); outline-offset: 2px; }
.nest-map-credit__text { padding: 0 12px 0 2px; font-size: .6875rem; white-space: nowrap; color: var(--nest-muted); }
.nest-map-credit__text a { color: inherit; text-decoration: none; }
.nest-map-credit__text a:hover { text-decoration: underline; }

/* Building pin: a petrol map pin with the Nest arch, and the building name beside it */
.nest-map-home { width: 44px; height: 56px; filter: drop-shadow(0 6px 8px rgba(23, 63, 71, .35)); cursor: pointer; position: relative; }
.nest-map-home__pin { width: 44px; height: 56px; display: block; transition: transform .2s ease; transform-origin: 50% 100%; }
.nest-map-home:hover .nest-map-home__pin, .nest-map-home:focus-visible .nest-map-home__pin { transform: scale(1.08); }
.nest-map-home:focus-visible { outline: none; }
.nest-map-home__label { position: absolute; left: calc(100% + 4px); top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--nest-petrol); color: var(--nest-cream); font: 600 .8125rem/1 var(--nest-font-heading); white-space: nowrap; }

/* The building line beside the map flies back to the building */
.nest-map-home-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.nest-pin-dot--home { width: 14px; height: 14px; background: var(--nest-petrol); box-shadow: 0 0 0 3px rgba(255, 253, 248, .9), 0 0 0 4.5px var(--nest-clay); }

/* ===== Phones and small tablets: heroes lead with the photo, then a short headline and the buttons ===== */
@media (max-width: 960px) {
  .od-hero, .od-hero.od-hero--page { min-height: 0; display: block; padding: 8px 0 36px; }
  .od-hero-grid { display: flex; flex-direction: column; gap: 22px; }
  .od-hero .door, .od-hero--page .door { order: -1; width: 100%; max-width: 520px; margin: 0 auto; }
  .od-hero .door-frame, .od-hero--page .door-frame { aspect-ratio: 5 / 4; }
  .od-hero .door-tag, .od-hero .crumbs, .od-hero .nest-hero-address { display: none; }
  .od-hero h1, .od-hero--page h1, .od-hero:not(.od-hero--page) h1 { font-size: clamp(2.125rem, 9vw, 2.75rem); }
  .od-hero .eyebrow { margin-bottom: 10px; }
  .od-hero .intro { font-size: 1rem; line-height: 1.5; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .od-hero .btn-row { margin-top: 18px; gap: 10px; }
  .od-hero .btn-row .nest-button { flex: 1 1 0; justify-content: center; min-height: 48px; padding-inline: 16px; }
  .od-hero .search-form { margin-top: 4px; }
}

/* The narrowest phones (under 360px): smaller logo and menu button so the header fits */
@media (max-width: 359px) {
  .brand-logo img { width: 128px; }
  .site-header .bar { gap: 10px; }
  .menu-button { padding: 10px 12px; font-size: .9375rem; gap: 6px; }
}

/* Header: the stacked Nest logo (arch, nest, STUDENT), sized to the bar */
.site-header .brand-logo img { width: auto; height: 58px; }
@media (max-width: 1100px) { .site-header .brand-logo img { width: auto; height: 50px; } }
@media (max-width: 359px) { .site-header .brand-logo img { width: auto; height: 46px; } }
.site-header .brand-logo img { height: 66px; }
@media (max-width: 1100px) { .site-header .brand-logo img { height: 54px; } }
@media (max-width: 359px) { .site-header .brand-logo img { height: 48px; } }

/* Room pages on phones: no hero photo, because the gallery straight below starts with the same photo */
@media (max-width: 960px) {
  .od-hero--room .door { display: none; }
  .od-hero.od-hero--room { padding-top: 28px; }
}

/* Footer credit: one small centred line at the very bottom */
.footer-credit { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(243, 235, 221, .12); text-align: center; font-size: .875rem; color: var(--nest-sea-glass); }

/* Footer bottom: one row (copyright and legal links left, credit right), then one line of small print */
.site-footer .footer-base { display: block; padding: 22px 0 32px; }
.footer-base__row { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; }
.footer-base .legal { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.footer-copy { color: var(--nest-cream); }
.footer-credit { font-size: .8125rem; color: var(--nest-sea-glass); opacity: .85; }
.footer-small { margin: 12px 0 0; font-size: .75rem; line-height: 1.5; color: var(--nest-sea-glass); opacity: .75; max-width: none; }
@media (max-width: 700px) {
  .footer-base__row { flex-direction: column; align-items: flex-start; }
  .footer-credit { order: 3; }
}
.site-footer .footer-base .footer-credit { margin: 0; padding: 0; border: 0; text-align: right; }
@media (max-width: 700px) { .site-footer .footer-base .footer-credit { text-align: left; } }
.footer-copy { font-weight: 700; color: var(--nest-cream); margin-right: 6px; }
/* Footer locations: everything on one left edge; the city in bold, its buildings slightly softer */
.site-footer .footer-sub a { padding-left: 0; opacity: .78; }
.site-footer .footer-city + .footer-sub, .site-footer .footer-sub + .footer-sub { margin-top: -2px; }
/* Footer copyright in light clay: the Nest accent, light enough to read on petrol (4.8:1) */
.site-footer .footer-copy { color: #E8926A; }
/* Footer copyright in brand clay, matching the logo arch (owner choice) */
.site-footer .footer-copy { color: #D9774B; }

/* Bigger stacked logo: a taller header bar on desktop, and heroes that still fill exactly one screen below it */
@media (min-width: 1101px) {
  .site-header .bar { min-height: 104px; }
  .site-header .brand-logo img { height: 86px; }
  .od-hero:not(.od-hero--page), .od-hero.od-hero--page { min-height: calc(100vh - 104px); }
}
@media (max-width: 1100px) { .site-header .brand-logo img { height: 60px; } }
@media (max-width: 359px) { .site-header .brand-logo img { height: 52px; } }

/* Hero video inside the door: covers the frame, fades in over the photo once it plays */
.door-frame { container-type: size; }
.door-video, .door-vimeo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.door-video { object-fit: cover; }
.door-vimeo { overflow: hidden; }
.door-vimeo iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }
.door-video.is-playing, .door-vimeo.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .door-video, .door-vimeo { display: none; } }
.site-footer .footer-small { font-size: .6875rem; letter-spacing: .01em; margin-top: 10px; }
