/* Love London Apartments */
:root {
  --paper: #ffffff;
  --fog: #edf0f2;
  --ink: #1d2731;
  --graphite: #545454;
  --muted: #5d6771;
  --line: #d6dce1;
  --love: #f54657;
  --love-ink: #c4223a;
  --love-deep: #a81a30;
  --plate-ink: #111418;
  --focus: #1f6feb;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: 20px;
  --radius: 10px;
}
@media (min-width: 760px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2, h3 { font-family: var(--sans); font-weight: 650; line-height: 1.08; letter-spacing: -0.01em; margin: 0; font-stretch: 108%; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.0; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.serif { font-family: var(--serif); }
.lead { font-family: var(--serif); font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink); max-width: 36em; }
.prose p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.68; max-width: 34em; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--sans); font-stretch: 105%;
  padding: 15px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--love-ink); color: #fff; }
.btn-primary:hover { background: var(--love-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--fog); }
.btn-small { padding: 10px 16px; font-size: .95rem; }

/* Street nameplate: the signature element */
.plate {
  display: inline-flex; align-items: baseline; gap: .42em;
  background: #fff; color: var(--plate-ink);
  font-family: var(--sans); font-weight: 760; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1;
  padding: .62em .95em .56em; border-radius: 7px;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--plate-ink), 0 1px 0 rgba(17,20,24,.08), 0 6px 18px rgba(17,20,24,.14);
  font-size: .86rem; white-space: nowrap; text-decoration: none;
}
.plate .pc { color: var(--love-ink); }
.plate-lg { font-size: clamp(1rem, 2.4vw, 1.5rem); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .95; color: var(--graphite); }
.logo .l1 { font: 800 1.12rem/1 var(--sans); font-stretch: 104%; letter-spacing: .02em; }
.logo .l1 b { color: var(--love); font-weight: 800; }
.logo .l1 span { font-weight: 400; }
.logo .l2 { font: 400 1.12rem/1 var(--sans); letter-spacing: .085em; margin-top: 3px; }
.nav { display: none; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 550; font-size: 1rem; }
.nav a:not(.btn):hover { color: var(--love-ink); }
.nav a[aria-current="page"]:not(.btn) { color: var(--love-ink); }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 14px; font: 600 .95rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { margin-top: 14px; display: flex; border-bottom: 0; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { max-width: 10.5em; }
.hero .lead { margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.hero-photo .plate { position: absolute; left: 18px; bottom: 18px; }
.hero-note { margin-top: 26px; font-size: .95rem; color: var(--muted); max-width: 32em; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 84px; }
  .hero-grid { grid-template-columns: 5fr 6fr; gap: 56px; }
  .hero-photo img { aspect-ratio: 5 / 5.2; }
}

/* Sections */
.section { padding: 64px 0; }
.section-fog { background: var(--fog); }
.section-head { display: grid; gap: 12px; margin-bottom: 34px; }
.section-head p { font-family: var(--serif); font-size: 1.15rem; color: var(--muted); max-width: 36em; }
@media (min-width: 900px) {
  .section { padding: 92px 0; }
  .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
}

/* Area index (row of plates) */
.areas { display: flex; flex-wrap: wrap; gap: 12px 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.areas a.plate { transition: transform .12s ease; }
.areas a.plate:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .areas a.plate:hover { transform: none; } }

/* Cards */
.cards { display: grid; gap: 34px 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; text-decoration: none; color: inherit; }
.card-photo { position: relative; margin: 0 0 30px; }
.card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--fog); }
.card-photo .plate { position: absolute; left: 14px; bottom: -16px; font-size: .78rem; }
.card h3 { font-size: 1.32rem; }
.card:hover h3 { color: var(--love-ink); }
.facts { margin-top: 6px; color: var(--muted); font-size: .98rem; }
.card .blurb { margin-top: 8px; font-family: var(--serif); font-size: 1.06rem; line-height: 1.5; }
.tag-book { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--love-ink); }
.tag-book::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--love-ink); }
.tag-book[hidden] { display: none; }

.region { margin-top: 64px; }
.region:first-of-type { margin-top: 0; }
.region-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 28px; }
.region-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.region-head p { color: var(--muted); }

/* Reasons */
.reasons { display: grid; gap: 28px; }
.reason { border-top: 2px solid var(--ink); padding-top: 16px; }
.reason h3 { font-size: 1.2rem; }
.reason p { margin-top: 8px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
@media (min-width: 820px) { .reasons { grid-template-columns: repeat(3, 1fr); gap: 34px; } }

/* Owners band */
.band-ink { background: var(--ink); color: #fff; }
.band-ink .muted, .band-ink .section-head p { color: #c3cbd2; }
.owners-grid { display: grid; gap: 40px; }
.owners-grid .lead { color: #e6eaee; margin-top: 18px; }
.fees { display: grid; gap: 14px; margin-top: 30px; }
.fee { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.22); padding-top: 14px; }
.fee strong { font: 700 2rem/1 var(--sans); font-stretch: 112%; }
.fee span { font-weight: 600; }
.fee small { grid-column: 2; color: #c3cbd2; font-size: .95rem; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--love); border-bottom: 2px solid var(--love); transform: rotate(-45deg); }
@media (min-width: 960px) { .owners-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* Forms */
.form-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 24px; }
.form-card h3 { font-size: 1.35rem; }
.form-card > p { margin-top: 6px; color: var(--muted); }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
.form-grid .two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
label { display: block; font-weight: 600; font-size: .95rem; }
label > input, label > select, label > textarea { display: block; margin-top: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: 400 1rem/1.3 var(--sans); color: var(--ink);
  padding: 12px 13px; border: 1.5px solid #b9c2ca; border-radius: 8px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(31,111,235,.35); border-color: var(--focus); }
textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-note a { color: inherit; }
.hp { display: none; }
@media (min-width: 560px) { .form-card { padding: 30px; } }

/* Beyond London */
.beyond { display: grid; gap: 28px; align-items: center; }
.beyond img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.beyond .lead { margin-top: 16px; }
@media (min-width: 900px) { .beyond { grid-template-columns: 6fr 5fr; gap: 56px; } }

/* Footer */
.site-foot { background: var(--fog); padding: 56px 0 36px; font-size: .97rem; }
.foot-grid { display: grid; gap: 30px; }
.foot-grid h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: grid; gap: 4px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Property page */
.crumb { padding-top: 22px; font-size: .95rem; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.prop-head { padding: 22px 0 26px; display: grid; gap: 16px; }
.prop-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 14em; }
.prop-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 1.02rem; }
.prop-facts b { color: var(--ink); font-weight: 650; }

.gallery { display: grid; gap: 8px; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery button { all: unset; cursor: zoom-in; scroll-snap-align: start; display: block; border-radius: var(--radius); overflow: hidden; }
.gallery button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--fog); }
.gallery .more { display: none; }
.show-all { margin-top: 14px; }
@media (min-width: 820px) {
  .gallery { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: min(64vh, 560px); }
  .gallery button:first-child { grid-row: 1 / span 2; }
  .gallery button:nth-child(n+6) { display: none; }
  .gallery img { aspect-ratio: auto; }
  .gallery button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .gallery button:nth-child(3) { border-radius: 0 var(--radius) 0 0; }
  .gallery button:nth-child(5) { border-radius: 0 0 var(--radius) 0; }
  .gallery button:nth-child(2), .gallery button:nth-child(4) { border-radius: 0; }
}

.prop-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 44px 0 72px; }
.form-grid .two > label { min-width: 0; }
.form-grid input { min-width: 0; }
.prop-main > * + * { margin-top: 40px; }
.prop-main h2 { font-size: 1.5rem; margin-bottom: 14px; }
.lists { display: grid; gap: 30px; }
.lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lists li { padding-left: 18px; position: relative; }
.lists li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--love-ink); }
.times { display: flex; gap: 28px; flex-wrap: wrap; }
.times div { border-top: 2px solid var(--ink); padding-top: 10px; min-width: 140px; }
.times span { display: block; color: var(--muted); font-size: .95rem; }
.times strong { font-size: 1.3rem; }
@media (min-width: 640px) { .lists { grid-template-columns: 1fr 1fr; } }

.book { border: 1.5px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.book h2 { font-size: 1.5rem; }
.book > p { margin-top: 6px; color: var(--muted); }
.book-widget { margin: 18px -10px 0; }
.book-widget iframe { display: block; width: 100%; height: 720px; border: 0; }
.book-widget[hidden], .book-enquire[hidden] { display: none; }
.book-switch { margin-top: 14px; font-size: .95rem; }
.book-switch button { all: unset; cursor: pointer; color: var(--love-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.book-switch button:focus-visible { outline: 3px solid var(--focus); }
.book-contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.book-contact a { color: var(--ink); font-weight: 600; }
@media (min-width: 1000px) {
  .prop-body { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; }
  .book { position: sticky; top: 92px; }
}

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; background: #fff; }
dialog.lightbox::backdrop { background: rgba(17,20,24,.6); }
.lb-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--gutter); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); z-index: 2; }
.lb-bar strong { font-size: 1.05rem; }
.lb-list { max-width: 1100px; margin: 0 auto; padding: 18px var(--gutter) 60px; display: grid; gap: 14px; }
.lb-list img { width: 100%; border-radius: 8px; }

/* Page hero (inner pages) */
.page-hero { padding: 48px 0 40px; }
.page-hero .lead { margin-top: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font: 700 2.2rem/1 var(--sans); font-stretch: 115%; color: var(--love-ink); margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 6px; font-family: var(--serif); font-size: 1.06rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { text-align: left; padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.fee-table th { width: 46%; font-weight: 650; padding-right: 20px; }
.fee-table td strong { font: 700 1.8rem/1 var(--sans); font-stretch: 112%; display: block; margin-bottom: 6px; }
.badge-prs { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .95rem; }

.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--love-ink); }
.contact-list span { display: block; color: var(--muted); font-size: .95rem; }
.narrow { max-width: 760px; }
.prose-doc h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.prose-doc p, .prose-doc li { font-family: var(--serif); font-size: 1.08rem; line-height: 1.65; }
.jump-book { margin-top: 4px; }
.book { scroll-margin-top: 84px; }
@media (min-width: 1000px) { .jump-book { display: none; } }
.two-col h2 + .lead { margin-top: 16px; }

/* Area map */
.map-band { padding: 8px 0 72px; }
.map-head { display: grid; gap: 10px; margin-bottom: 22px; }
.map-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.map-head p { font-family: var(--serif); font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.map { height: clamp(440px, 66vh, 820px); width: 100%; background: var(--fog); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); z-index: 1; }
.map .leaflet-tile-pane { filter: grayscale(0.85) contrast(0.95) brightness(1.04); }
.map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 38px; font-size: 22px; color: var(--ink); }
.map .leaflet-control-attribution { font-family: var(--sans); font-size: 11px; }
.map-plate { background: none; border: 0; }
.map-plate .plate { transform: translate(-50%, -112%); font-size: .82rem; }
@media (min-width: 1000px) { .map-head { grid-template-columns: 1fr 1.2fr; align-items: end; gap: 40px; } }

/* Flats without photos yet */
.no-photo { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #e4e8eb 0 14px, #edf0f2 14px 28px); color: var(--muted); font-weight: 600; font-size: .95rem; }
.section-fog .no-photo { background: repeating-linear-gradient(135deg, #dfe4e8 0 14px, #e8ecef 14px 28px); }
.no-gallery { border-radius: var(--radius); background: repeating-linear-gradient(135deg, #e4e8eb 0 16px, #edf0f2 16px 32px); min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.no-gallery p { font-family: var(--serif); font-size: 1.15rem; max-width: 26em; color: var(--ink); background: rgba(255,255,255,.85); padding: 14px 18px; border-radius: 8px; }
