/* Layout: lime-plaster page; each of the four houses takes over the page in its own colour field. */
:root {
  --stone: #F6F5F1;      /* lime plaster */
  --stone-2: #E7E3DC;    /* shaded plaster */
  --ink: #28201C;        /* cellar ink */
  --muted: #6F665F;
  --rule: #D8D2C9;
  --lucera: #B23B2E;     /* brand red, from the La Lucera sign */
  --negra: #1D1A18;  --negra-acc: #C99560;
  --azul:  #1F3156;  --azul-acc: #E9C77B;
  --roja:  #8E2A26;  --roja-acc: #F2CFB6;
  --verde: #5D6B55;  --verde-acc: #E5E8D4;
  --on-dark: #F4EFE8;
  --f-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --f-serif: "Libre Caslon Text", Georgia, serif;
  --f-body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --step-0: 1rem; --step-1: 1.25rem; --step-2: 1.75rem; --step-3: clamp(2rem, 4.2vw, 3.1rem); --step-4: clamp(2.6rem, 7.4vw, 6rem);
  --r: 4px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--stone); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lucera); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap {
  max-width: 1240px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow, .label {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--lucera); margin: 0 0 .9rem;
}
.eyebrow.light { color: currentColor; opacity: .85; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-3); line-height: 1.08; margin: 0 0 1.2rem; text-wrap: balance; letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); line-height: 1.15; margin: 0 0 .8rem; text-wrap: balance; }
.h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .6rem; }
.muted { color: var(--muted); }
em { font-family: var(--f-serif); font-style: italic; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px; border: 1.5px solid currentColor;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--lucera); border-color: var(--lucera); color: #fff; }
.btn-solid:hover { background: #962F24; border-color: #962F24; }
.btn-line { background: transparent; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: .88rem; }

/* Header */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  color: var(--on-dark); transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.solid { background: color-mix(in srgb, var(--stone) 94%, transparent); color: var(--ink); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 30px; height: 33px; }
.site-header.solid .brand-mark { color: var(--lucera); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-place { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; margin-top: .3rem; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { background: none; border: 1px solid currentColor; border-radius: 999px; height: 40px; min-width: 44px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; cursor: pointer; opacity: .85; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--negra); overflow: hidden; }
.hero-slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.is-on img { animation: drift 9s ease-out forwards; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,15,12,.62) 0%, rgba(20,15,12,.25) 45%, rgba(20,15,12,0) 70%),
  linear-gradient(180deg, rgba(20,15,12,.55) 0%, rgba(20,15,12,.05) 28%, rgba(20,15,12,.3) 55%, rgba(20,15,12,.88) 100%); }
.hero-title, .hero-lede { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-content > * { min-width: 0; }
body { overflow-x: clip; }
.hero-content { position: relative; width: 100%; padding-top: 140px; padding-bottom: 150px; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: var(--step-4); line-height: .98; margin: 0 0 1.4rem; letter-spacing: -.02em; max-width: 12ch; text-wrap: balance; }
.hero-title em { color: #F1C89B; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; margin: 0 0 2rem; opacity: .92; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.score { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; }
.score-num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px 14px 14px 2px; background: var(--on-dark); color: var(--ink); font-family: var(--f-display); font-size: 1.5rem; }
.score-txt { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; }
.score-txt strong { font-size: 1.05rem; }
.now-showing { margin: 0; font-size: .88rem; display: flex; align-items: center; gap: .5rem; opacity: .9; }
.now-showing .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--negra-acc); box-shadow: 0 0 0 2px rgba(255,255,255,.6); transition: background .6s; }
.hero-title, .hero-lede, .hero-meta, .hero .eyebrow { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-lede { animation-delay: .12s; } .hero-meta { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* Booking */
.booking { position: relative; z-index: 5; margin-top: -92px; }
.book-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.4rem 1.6rem 1.2rem; box-shadow: 0 30px 60px -30px rgba(40,32,28,.45), 0 0 0 1px var(--rule); }
.book-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; margin-bottom: 1rem; }
.book-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin: 0; }
.book-perk { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .9rem; font-weight: 600; color: #2F6B45; }
.book-perk svg { width: 18px; height: 18px; flex: none; }
.book-fields { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr .8fr auto; gap: .8rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.field input, .field select {
  height: 52px; padding: 0 .9rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--stone);
  font: 500 1rem var(--f-body); color: var(--ink); letter-spacing: 0; text-transform: none; width: 100%; min-width: 0;
}
.field input:focus, .field select:focus { outline: 2px solid var(--lucera); outline-offset: 0; border-color: transparent; }
.book-go { height: 52px; padding: 0 1.8rem; }
.book-note { margin: .7rem 0 0; font-size: .85rem; color: var(--muted); min-height: 1.3em; }
.book-note.err { color: var(--lucera); font-weight: 600; }

/* Story */
.story { padding-block: clamp(5rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem); }
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.story-text p { max-width: 54ch; }
.story-text p:not(.eyebrow) { color: #3D342F; }
.facts { list-style: none; display: flex; gap: 2.5rem; padding: 1.4rem 0 0; margin: 1.6rem 0 0; border-top: 1px solid var(--rule); }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--lucera); }
.facts span { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.story-figure { margin: 0; position: relative; }
.story-figure img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cerro { width: 100%; height: auto; margin-bottom: -4px; }
.breath path { animation: breathe 4s ease-in-out infinite; transform-box: fill-box; }
.breath path:nth-child(2) { animation-delay: 1.3s; } .breath path:nth-child(3) { animation-delay: 2.6s; }
@keyframes breathe { 0%, 100% { opacity: .2; transform: translateY(4px); } 50% { opacity: 1; transform: none; } }
.story-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; }

/* Houses */
.houses { padding-bottom: clamp(4rem, 8vw, 6rem); }
.houses-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 2.5rem; }
.houses-intro .h2 { margin: 0; }
.houses-intro .eyebrow { width: 100%; margin-bottom: -.2rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.sw { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .55rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; background: #fff; transition: transform .2s; }
.sw:hover { transform: translateY(-2px); }
.sw span { width: 22px; height: 22px; border-radius: 50%; }
.sw-negra span { background: var(--negra); } .sw-azul span { background: var(--azul); } .sw-roja span { background: var(--roja); } .sw-verde span { background: var(--verde); }

.house { --bg: var(--negra); --acc: var(--negra-acc); background: var(--bg); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 3.5rem); }
.house-azul { --bg: var(--azul); --acc: var(--azul-acc); }
.house-roja { --bg: var(--roja); --acc: var(--roja-acc); }
.house-verde { --bg: var(--verde); --acc: var(--verde-acc); }
.house-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.house-grid.flip .house-hero { order: 2; }
.house-hero { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; display: block; position: relative; }
.house-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.house-negra .house-hero img { aspect-ratio: 4 / 4.2; object-position: 50% 38%; }
.house-hero:hover img { transform: scale(1.03); }
.house-info { min-width: 0; }
.house-kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--acc); margin: 0 0 .5rem; }
.house-name { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; margin: 0 0 1.1rem; letter-spacing: -.01em; }
.house-name em { color: var(--acc); }
.house-lede { font-size: 1.1rem; max-width: 44ch; opacity: .92; margin: 0 0 1.6rem; }
.specs { display: grid; grid-template-columns: repeat(4, auto); gap: 1rem 1.6rem; margin: 0 0 1.4rem; padding: 1.1rem 0; border-block: 1px solid rgba(255,255,255,.18); justify-content: start; }
.specs dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.specs dd { margin: .2rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tags { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.1); }
.house .btn-solid { background: var(--acc); border-color: var(--acc); color: var(--bg); }
.house .btn-solid:hover { background: #fff; border-color: #fff; }
.thumbs { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: .6rem; }
.thumbs li { flex: 0 0 auto; scroll-snap-align: start; }
.thumbs button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 3px; overflow: hidden; display: block; opacity: .8; transition: opacity .2s, transform .2s; }
.thumbs button:hover, .thumbs button:focus-visible { opacity: 1; transform: translateY(-2px); }
.thumbs img { height: 120px; width: auto; aspect-ratio: auto; object-fit: cover; }

.whole { margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.whole p { max-width: 52ch; opacity: .9; margin: 0; }
.whole .eyebrow { color: var(--lucera); opacity: 1; filter: brightness(1.5); margin-bottom: .7rem; }
.whole-contact { display: flex; flex-direction: column; gap: .7rem; }
.copyable { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .8rem .7rem 1.1rem; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; font-weight: 600; user-select: all; min-width: 0; }
.copyable > span { overflow-wrap: anywhere; }
.copy { flex: none; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: .35rem .85rem; font-size: .8rem; font-weight: 600; cursor: pointer; user-select: none; }
.copy:hover { background: rgba(255,255,255,.22); }

/* Amenities */
.amen { padding-block: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--rule); }
.amen-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.amen-grid li { padding: 1.4rem 1.4rem 1.6rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: .3rem; }
.amen-grid li + li { padding-left: 1.4rem; border-left: 1px solid var(--rule); }
.amen-grid li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.amen-grid b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.amen-grid span { font-size: .92rem; color: var(--muted); }

/* Reviews */
.reviews { background: var(--lucera); color: #fff; padding-block: clamp(4rem, 8vw, 6.5rem); }
.reviews-grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); }
.big-score { font-family: var(--f-display); font-size: clamp(5rem, 12vw, 9rem); line-height: .9; margin: 0 0 .6rem; }
.big-score span { font-size: .3em; opacity: .7; margin-left: .2rem; }
.bars { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.bars li { display: grid; grid-template-columns: 8.5rem 1fr 2.4rem; align-items: center; gap: .8rem; font-size: .9rem; }
.bars i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: #fff; }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.quotes blockquote { margin: 0; padding: 1.4rem 1.5rem; border-radius: 14px; background: rgba(0,0,0,.14); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.quotes p { margin: 0; font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.5; }
.quotes .q-lg { grid-column: 1 / -1; background: rgba(0,0,0,.22); }
.quotes .q-lg p { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; }
.quotes cite { font-style: normal; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* Town */
.town { padding-block: clamp(4.5rem, 9vw, 7rem); }
.town-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.town-fig { margin: 0; }
.town-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.town-text > p:not(.eyebrow) { max-width: 54ch; color: #3D342F; }
.plan { list-style: none; counter-reset: p; padding: 0; margin: 1.8rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.plan li { display: flex; flex-direction: column; padding-top: .8rem; border-top: 2px solid var(--ink); }
.plan b { font-weight: 600; }
.plan span { font-size: .9rem; color: var(--muted); }
.neighbours { background: var(--stone-2); border-radius: 14px; padding: 1.2rem 1.4rem; }
.neighbours ul { list-style: none; padding: 0; margin: 0; }
.neighbours li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--rule); }
.neighbours li:last-child { border: 0; }
.neighbours b { font-variant-numeric: tabular-nums; color: var(--lucera); }

/* Arrive */
.arrive { background: var(--stone-2); padding-block: clamp(4rem, 8vw, 6rem); }
.arrive-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.dist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.dist li { display: flex; flex-direction: column; }
.dist b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.dist span { font-size: .88rem; color: var(--muted); }
.parking { background: var(--stone); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.parking p { margin: 0 0 1rem; font-size: .98rem; }
.park-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.park-list:last-child { margin-bottom: 0; }
.park-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.park-list span { color: var(--muted); text-align: right; }

/* FAQ */
.faq { padding-block: clamp(4rem, 8vw, 6rem); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.6rem; font-weight: 300; color: var(--lucera); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 1.3rem; max-width: 62ch; color: #3D342F; }

/* Footer */
.footer { background: var(--negra); color: var(--on-dark); padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: var(--f-display); font-size: 2.4rem; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.muted-l { opacity: .65; margin: .3rem 0 0; }
.footer .label { color: var(--negra-acc); }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-link { font-weight: 600; text-underline-offset: 5px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; opacity: .6; }

.mobile-cta { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16,12,10,.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; min-width: 0; height: 100%; justify-content: center; padding: 3.5rem 0 2rem; }
.lb-fig img { max-height: calc(100vh - 8rem); max-width: 100%; object-fit: contain; border-radius: 2px; }
.lb-fig figcaption { font-size: .9rem; opacity: .8; text-align: center; }
.lb-nav, .lb-close { background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; justify-self: center; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.22); }
.lb-close { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); z-index: 2; }

/* Responsive */
@media (max-width: 1020px) {
  .book-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .book-go { grid-column: 1 / -1; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid li:nth-child(n) { padding-left: 1.4rem; border-left: 1px solid var(--rule); }
  .amen-grid li:nth-child(2n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 880px) {
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; gap: 0; background: var(--stone); color: var(--ink); padding: .5rem max(20px, env(safe-area-inset-right, 0px)) 1.5rem max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .menu-btn { display: block; }
  .header-actions .btn-sm { display: none; }
  .story-grid, .house-grid, .reviews-grid, .town-grid, .arrive-grid, .faq-wrap, .whole, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .house-grid.flip .house-hero { order: 0; }
  .town-fig img { aspect-ratio: 4 / 3; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: center; align-items: center;
    min-height: 56px; padding: .6rem max(16px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--lucera); color: #fff; font-weight: 600; text-decoration: none; letter-spacing: .02em;
    transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-cta.show { transform: none; }
  .footer { padding-bottom: 5rem; }
}
@media (max-width: 560px) {
  .hero-content { padding-top: 110px; padding-bottom: 120px; }
  .book-card { padding: 1.2rem; }
  .book-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .amen-grid { grid-template-columns: minmax(0, 1fr); }
  .field input[type="date"] { -webkit-appearance: none; appearance: none; }
  .amen-grid li:nth-child(n) { padding-left: 0; border-left: 0; }
  .bars li { grid-template-columns: 7rem 1fr 2.2rem; }
  .facts { gap: 1.5rem; }
  .facts strong { font-size: 2.1rem; }
  .thumbs img { height: 96px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: 30%; } .lb-next { right: 30%; }
  .lb-fig { padding: 3.5rem 8px 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
