:root {
  --cream: #faf8f5;
  --sand: #f3efea;
  --paper: #fffdf9;
  --border: #e6dfd5;
  --gold: #c5a880;
  --gold-dark: #9e7e52;
  --ink: #1a1d20;
  --charcoal: #2d3136;
  --muted: #636a73;
  --soft: #8a837a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(26, 29, 32, 0.12);
  --header-h: 4.5rem;
  --measure: 42rem;
  --wide: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img {
  width: auto;
  height: 3rem;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.site-nav .btn {
  margin-left: 0.4rem;
  color: #fff;
  border-bottom: 0;
  padding: 0.55rem 1.05rem;
}
.site-nav .btn:hover,
.site-nav a.btn[aria-current="page"] {
  color: #fff;
  border-bottom: 0;
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-gold {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Layout */
main { flex: 1 0 auto; }
.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4.25rem 0; }
.section-sand { background: var(--sand); }
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.center { text-align: center; }
.center .lede, .center .kicker { margin-left: auto; margin-right: auto; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: 36rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero video, .hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,29,32,.25) 0%, rgba(26,29,32,.55) 50%, rgba(26,29,32,.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  max-width: 14ch;
}
.hero .kicker { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,.88);
  font-size: 1.15rem;
  max-width: 32rem;
}
.page-hero {
  min-height: 28rem;
  align-items: flex-end;
}
.page-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 5vw, 3.6rem); }

/* Cards / residences */
.card-grid, .amenity-grid, .rule-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid { grid-template-columns: repeat(3, 1fr); }
.amenity-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.rule-grid { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(26,29,32,.04);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card img { width: 100%; height: 16.5rem; object-fit: cover; }
.card-body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-body h2, .card-body h3 { margin: 0; font-size: 1.45rem; }
.meta {
  color: var(--gold-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-body p { color: var(--muted); font-size: 0.98rem; }
.card-body .more {
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split img, .split .frame {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split img { height: 28rem; object-fit: cover; }
.frame { background: var(--sand); }
.frame img { height: auto; box-shadow: none; border-radius: 0; margin: 0 auto; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  background: var(--sand);
  min-height: 12rem;
}
.gallery a { display: block; height: 100%; color: inherit; text-decoration: none; }
.gallery img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(26,29,32,.72));
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { height: 29.7rem; }

/* Unit description and key facts */
.unit-desc { max-width: 40rem; }
.unit-desc p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.05rem;
}
.unit-desc p:first-child { font-size: 1.15rem; }
.key-facts-block {
  margin: 2.4rem 0 0;
  max-width: 42rem;
}
.key-facts-block h2 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}
.key-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  border-top: 1px solid var(--border);
}
.key-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.key-facts .fact-label { color: var(--muted); }
.key-facts .fact-value {
  font-weight: 600;
  color: var(--ink);
}

/* Amenities list */
.amenity, .rule {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
}
.amenity h3, .rule h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }

/* Form */
form.enquiry {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(26,29,32,.04);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
form.enquiry .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
}
textarea { min-height: 8.5rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.honeypot { position: absolute; left: -9999px; }

/* Login */
.login-shell {
  min-height: calc(100vh - 14rem);
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}
.login-card {
  width: 100%;
  max-width: 28rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
}
.login-card form { display: grid; gap: 0.3rem; }
.login-card button { margin-top: 1.2rem; width: 100%; }
.status { min-height: 1.4rem; color: #8a3b32; font-size: 0.95rem; margin-top: 0.8rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 3rem 0 2rem;
  margin-top: auto;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.site-footer .fine {
  font-size: 0.8rem;
  color: rgba(255,255,255,.55);
  margin-top: 2rem;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.1rem;
}
.footer-nav { display: grid; gap: 0.35rem; }
.footer-nav span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,29,32,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 2rem 1rem 4rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox p {
  position: absolute;
  bottom: 1.1rem;
  left: 0; right: 0;
  text-align: center;
  color: #fff;
  margin: 0;
}
.lightbox .close, .lightbox .prev, .lightbox .next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
}
.lightbox .close { top: 0.8rem; right: 0.8rem; }
.lightbox .prev { left: 0.5rem; top: 50%; }
.lightbox .next { right: 0.5rem; top: 50%; }

/* Notices / misc */
.note {
  background: var(--sand);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-line { display: grid; gap: 0.2rem; }
.postal-address { margin: 0.7rem 0 0.35rem; color: #fff; font-style: normal; }


@media (max-width: 900px) {
  .card-grid, .rule-grid, .split, .split.rev, .footer-inner, form.enquiry {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery figure:first-child img, .gallery img { height: 14rem; }
  .split img { height: 20rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.25rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .site-header.open .site-nav { display: flex; }
  .site-nav .btn { margin-left: 0; }
  .hero { min-height: 32rem; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .amenity-grid { grid-template-columns: 1fr; }
  .key-facts { grid-template-columns: 1fr; column-gap: 0; }
  .brand-text span { display: none; }
  .section { padding: 3rem 0; }
}

/* Compact galleries for large Airbnb photo sets */
.gallery.compact figure:first-child { grid-column: auto; grid-row: auto; }
.gallery.compact figure:first-child img,
.gallery.compact img { height: 13rem; }
.room-block { margin-top: 2.2rem; }
.room-block h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

/* Why stay, host, booking process, FAQ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.why-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.45rem;
}
.why-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.host-block {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 1.75rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.75rem;
}
.host-block picture { display: block; }
img.host-photo {
  width: 10.5rem;
  height: 13rem;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--sand);
  display: block;
}
@media (max-width: 900px) {
  img.host-photo { width: 9.5rem; height: 11.75rem; }
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 2rem 0;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.3rem 1.2rem 1.4rem;
}
.step:before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--gold-dark);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.06em;
}
.step h3 { font-size: 1.15rem; }
.placeholder-box {
  border: 1px dashed var(--gold);
  background: var(--sand);
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.placeholder-box strong { color: var(--charcoal); }
.faq { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.85rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 550;
  color: var(--ink);
}
.faq details p { margin-top: 0.65rem; color: var(--muted); }
.proof { margin-top: 1.2rem; }
.proof a { display: inline-block; margin-right: 1.25rem; }

@media (max-width: 900px) {
  .why-grid, .steps { grid-template-columns: 1fr 1fr; }
  .host-block { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 560px) {
  .why-grid, .steps { grid-template-columns: 1fr; }
}

/* Trust, Superhost, reviews */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.trust-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.45rem;
}
.trust-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.scam-note {
  margin-top: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-left-width: 4px;
  border-radius: 0.85rem;
  padding: 1.05rem 1.2rem;
  color: var(--charcoal);
  font-size: 0.98rem;
}
.scam-note strong { display: block; margin-bottom: 0.3rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; color: var(--ink); }
.superhost-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--sand);
  color: var(--gold-dark);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: center;
  margin: 1.1rem 0 0.4rem;
  color: var(--charcoal);
}
.rating-row strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
}
.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 1.25rem;
}
.review-filter {
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  background: var(--paper);
  color: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.review-filter:hover,
.review-filter.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem 1.3rem;
}
.review-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  align-items: baseline;
  margin-bottom: 0.7rem;
}
.review-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.15rem;
}
.review-date, .review-unit { font-size: 0.88rem; color: var(--muted); }
.review-text {
  margin: 0;
  font-style: normal;
  color: var(--charcoal);
}
.unit-desc { max-width: 46rem; margin-bottom: 2rem; }
.unit-desc p { margin-bottom: 1em; }

.featured-quote {
  margin: 1.6rem auto 1.4rem;
  max-width: 36rem;
  padding: 1.45rem 1.6rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0.85rem;
  text-align: center;
}
.featured-quote blockquote {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}
.featured-quote figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .trust-grid, .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .trust-grid, .review-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* Five booking steps wrap cleanly */
.steps { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }

/* Historical drawings: show complete plates, captions below, façade large */
.gallery.drawings {
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.2rem;
}
.gallery.drawings figure {
  overflow: visible;
  background: #fff;
  border: 1px solid var(--sand, #e6dfd5);
  border-radius: 0.4rem;
  min-height: 0;
}
.gallery.drawings figure:first-child {
  grid-column: 1 / -1;
  grid-row: auto;
}
.gallery.drawings img,
.gallery.drawings figure:first-child img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
  display: block;
}
.gallery.drawings figure:first-child img {
  max-height: 46rem;
  margin: 0 auto;
}
.gallery.drawings figcaption {
  position: static;
  background: none;
  color: var(--muted, #636a73);
  padding: 0.7rem 0.95rem 1rem;
  letter-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.gallery.drawings a:hover img,
.gallery.drawings a:focus-visible img { transform: none; }
.gallery.drawings.plans figure:first-child {
  grid-column: 1 / -1;
}
.gallery.drawings.plans figure:first-child img {
  max-height: 36rem;
}
@media (max-width: 900px) {
  .gallery.drawings { grid-template-columns: 1fr 1fr; }
  .gallery.drawings figure:first-child { grid-column: 1 / -1; }
  .gallery.drawings img,
  .gallery.drawings figure:first-child img { height: auto; max-height: 32rem; }
}
@media (max-width: 560px) {
  .gallery.drawings { grid-template-columns: 1fr; }
  .gallery.drawings figure:first-child { grid-column: auto; }
}

/* Portraits and collection works on the history page: equal columns, captions with credits */
.gallery.portraits figure:first-child,
.gallery.collection figure:first-child {
  grid-column: auto;
  grid-row: auto;
}
.gallery.portraits figure,
.gallery.collection figure {
  min-height: auto;
  height: auto;
  display: flex;
  flex-direction: column;
}
.gallery.portraits a,
.gallery.collection a {
  height: auto;
  flex: 0 0 auto;
}
.gallery.portraits img,
.gallery.portraits figure:first-child img,
.gallery.collection img,
.gallery.collection figure:first-child img {
  max-height: 36rem;
  margin: 0 auto;
}
.gallery.portraits,
.gallery.collection {
  margin-bottom: 1.6rem;
}
.gallery.portraits figcaption,
.gallery.collection figcaption {
  margin-top: auto;
}
.gallery.drawings .credit {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted, #636a73);
}
@media (max-width: 900px) {
  .gallery.portraits img,
  .gallery.portraits figure:first-child img,
  .gallery.collection img,
  .gallery.collection figure:first-child img { max-height: 28rem; }
}
@media (max-width: 560px) {
  /* Portraits stay side by side on phones so both appear sooner while scrolling. */
  .gallery.portraits { grid-template-columns: 1fr 1fr; gap: 1rem 0.75rem; }
  .gallery.portraits img,
  .gallery.portraits figure:first-child img { max-height: 22rem; }
  .gallery.portraits figcaption { font-size: 0.8rem; padding: 0.55rem 0.15rem 0.2rem; }
  .gallery.collection { grid-template-columns: 1fr; }
  .gallery.collection img,
  .gallery.collection figure:first-child img { max-height: 32rem; }
}


/* Primary CTA — most prominent button */
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(26, 29, 32, 0.18);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

/* Hero CTAs and trust line sit on a dark overlay */
.hero .btn-row { margin-top: 1.35rem; }
.hero .btn-gold {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.hero .btn-gold:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}
.hero-trust {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}
.hero-trust a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.hero-trust a:hover { color: var(--gold); }

/* Informal guest pull-quote, not a formal testimonial */
.pull-quote {
  margin: 1.5rem 0 0.4rem;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 3px solid var(--gold);
  max-width: 32rem;
}
.pull-quote p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.5;
  font-style: normal;
  color: var(--ink);
}

@media (max-width: 560px) {
  .hero-content { padding: 3.2rem 1.15rem 2.4rem; }
  .hero-trust { font-size: 0.86rem; }
  .btn-row { gap: 0.6rem; }
  .btn, .btn-primary { width: auto; }
}

/* Landmark photos on the Location page */
.landmark-intro { margin-top: 2rem; }
.landmark-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}
.landmark {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.4rem 1.75rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}
.landmark:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.landmark:nth-child(even) .landmark-photo { order: 2; }
.landmark-photo { margin: 0; }
.landmark-photo img {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.85rem;
}
.photo-credit {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.photo-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 0.12em; }
.photo-credit a:hover { color: var(--ink); }
.landmark h3 { font-size: 1.25rem; margin: 0.2rem 0 0.45rem; }
.landmark p { margin: 0; color: var(--muted); }
@media (max-width: 800px) {
  .landmark,
  .landmark:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .landmark:nth-child(even) .landmark-photo { order: 0; }
  .landmark-photo img { height: 13.5rem; }
}

/* Historical facade: trimmed plate, no extra white mat.
   Scoped so Orpen portraits under the facade keep their own figure styling. */
#facade .gallery.drawings:not(.portraits) figure {
  background: transparent;
  border: none;
  border-radius: 0;
}
#facade .gallery.drawings:not(.portraits) img,
#facade .gallery.drawings:not(.portraits) figure:first-child img {
  background: transparent;
}
#facade .gallery.drawings:not(.portraits) figcaption {
  padding-left: 0;
  padding-right: 0;
}
