/* Crown Pavilions website revisions, 8 October 2026 (Luke's "changes crown.pdf").
   Loaded after the Astro bundle on every English page by bin/apply-revisions-2026-10.py.
   Everything here is prefixed rv- so it cannot collide with the compiled Tailwind classes. */

:root {
  --rv-forest: #123627;
  --rv-forest-dark: #0d2a1e;
  --rv-gold: #c9a86b;
  --rv-gold-dark: #b89555;
  --rv-alabaster: #f7f5f2;
  --rv-parchment: #d4c5a3;
  --rv-charcoal: #333;
  --rv-optima: "Optima", Georgia, "Times New Roman", serif;
  --rv-mont: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --rv-wrap: 1440px;
}

/* ---------- 1. Product cards: wide image, monthly price first, two actions ---------- */
.product-card-tall.rv-card { display: flex; flex-direction: column; border: 1px solid var(--rv-parchment); background: #fff; transition: border-color .3s, box-shadow .3s; }
.product-card-tall.rv-card:hover { border-color: var(--rv-forest); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.product-card-tall.rv-card > a { flex: 1 1 auto; border: 0 !important; box-shadow: none !important; }
.rv-card-img { height: auto !important; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.rv-card-img-wide { aspect-ratio: 16 / 9; }
.rv-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.rv-price-main { font: 700 1.5rem/1.1 var(--rv-mont); color: var(--rv-forest); letter-spacing: -.01em; }
.rv-price-main small { font-size: .95rem; font-weight: 600; color: rgba(18,54,39,.6); }
.rv-price-plan { font: 500 .78rem/1.2 var(--rv-mont); color: rgba(51,51,51,.6); }
.rv-price-start { margin: 6px 0 0; font: 500 .875rem/1.3 var(--rv-mont); color: rgba(51,51,51,.78); }
.rv-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rv-parchment); padding: 16px 20px 20px; }
@media (min-width: 1024px) { .rv-card-actions { padding: 16px 24px 24px; } }
.rv-card-view { font: 500 .9rem/1.2 var(--rv-mont); color: var(--rv-forest); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rv-parchment); transition: text-decoration-color .2s; }
.rv-card-view:hover { text-decoration-color: var(--rv-forest); }
.rv-card-visit { display: inline-flex; align-items: center; gap: 8px; background: var(--rv-gold); color: var(--rv-forest); font: 600 .85rem/1 var(--rv-mont); padding: 12px 18px; white-space: nowrap; transition: background .2s; }
.rv-card-visit:hover { background: var(--rv-gold-dark); }
.rv-card-visit svg { width: 15px; height: 15px; }

/* ---------- 2. Call-to-action strip, placed after every second section ---------- */
.rv-cta { background: var(--rv-forest-dark); border-top: 1px solid rgba(201,168,107,.45); border-bottom: 1px solid rgba(201,168,107,.2); }
.rv-cta-in { max-width: var(--rv-wrap); margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.rv-cta-copy { margin: 0; font: 400 1.3rem/1.3 var(--rv-optima); color: var(--rv-alabaster); max-width: 36ch; }
.rv-cta-copy small { display: block; margin-top: 5px; font: 400 .875rem/1.45 var(--rv-mont); color: rgba(247,245,242,.7); }
.rv-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; font: 500 .95rem/1 var(--rv-mont); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.rv-btn-gold { background: var(--rv-gold); color: var(--rv-forest); }
.rv-btn-gold:hover { background: var(--rv-gold-dark); }
.rv-btn-line { border: 1px solid rgba(247,245,242,.7); color: var(--rv-alabaster); }
.rv-btn-line:hover { background: var(--rv-alabaster); color: var(--rv-forest); }
.rv-btn svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .rv-cta-btns, .rv-btn { width: 100%; } }

/* ---------- 3. Who we are (home page): text only, story beside the heading, facts in a row ---------- */
.rv-who { background: var(--rv-alabaster); border-top: 1px solid rgba(201,168,107,.35); }
.rv-who-wrap { max-width: 1240px; margin: 0 auto; padding: 72px 24px 64px; }
.rv-who-top { display: grid; gap: 28px; }
.rv-who h2 { margin: 0; font: 700 2.25rem/1.05 var(--rv-optima); color: var(--rv-forest); letter-spacing: -.01em; }
.rv-who-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.rv-who-lead { margin: 0; font: 400 1.4rem/1.45 var(--rv-optima); color: var(--rv-forest); max-width: 34ch; }
.rv-who-body { margin: 18px 0 0; font: 400 1rem/1.75 var(--rv-mont); color: rgba(51,51,51,.78); max-width: 62ch; }
.rv-who-facts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.rv-who-facts li { border-top: 2px solid var(--rv-gold); padding-top: 16px; }
.rv-who-facts b { display: block; font: 700 2.1rem/1 var(--rv-optima); color: var(--rv-forest); }
.rv-who-facts span { display: block; margin-top: 10px; font: 400 .9rem/1.5 var(--rv-mont); color: rgba(51,51,51,.72); max-width: 24ch; }
@media (min-width: 1024px) {
  .rv-who-wrap { padding: 104px 24px 96px; }
  .rv-who-top { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .rv-who h2 { font-size: 3.25rem; }
  .rv-who-btns { margin-top: 36px; }
  .rv-who-lead { font-size: 1.75rem; }
  .rv-who-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 80px; }
  .rv-who-facts b { font-size: 2.6rem; }
}
@media (max-width: 1023px) { .rv-who-head { display: contents; } .rv-who-btns { order: 3; margin-top: 4px; } }
@media (max-width: 640px) { .rv-who-btns a { width: 100%; } }

/* ---------- 4. Why Crown Pavilions grid with seven points (Smart AC added) ---------- */
.rv-usp-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 32px 24px; }
.rv-usp-grid > div { flex: 1 1 100%; max-width: 420px; }
@media (min-width: 640px) { .rv-usp-grid > div { flex-basis: calc(50% - 12px); } }
@media (min-width: 1024px) { .rv-usp-grid > div { flex-basis: calc(25% - 18px); } }

/* ---------- 5. Mega menu: photo cards on the dark header colour ---------- */
.rv-mm-body { background: var(--rv-forest-dark); color: var(--rv-alabaster); box-shadow: 0 24px 50px rgba(0,0,0,.35); border-bottom: 1px solid rgba(201,168,107,.3); }
.rv-mm-wrap { max-width: var(--rv-wrap); margin: 0 auto; padding: 22px 24px 18px; }
.rv-mm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rv-mm-head h3 { margin: 0; font: 400 1.375rem/1 var(--rv-optima); color: #fff; }
.rv-mm-head a { font: 500 .85rem/1 var(--rv-mont); color: var(--rv-gold); text-decoration: underline; text-underline-offset: 4px; }
.rv-mm-head a:hover { color: #fff; }
.rv-mm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rv-mm-cards.rv-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
.rv-mm-card { display: block; color: inherit; text-decoration: none; background: rgba(247,245,242,.04); border: 1px solid rgba(247,245,242,.08); transition: border-color .2s, background .2s; }
.rv-mm-card:hover, .rv-mm-card:focus-visible { border-color: rgba(201,168,107,.7); background: rgba(247,245,242,.07); outline: none; }
.rv-mm-ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: rgba(0,0,0,.2); }
.rv-mm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-mm-nm { display: block; padding: 10px 12px 0; font: 600 .95rem/1.2 var(--rv-mont); color: #fff; }
.rv-mm-ds { display: block; padding: 3px 12px 0; font: 400 .78rem/1.4 var(--rv-mont); color: rgba(247,245,242,.68); }
.rv-mm-pr { display: block; padding: 8px 12px 12px; font: 600 .85rem/1.3 var(--rv-mont); color: var(--rv-gold); }
.rv-mm-pr em { display: block; font: 400 .72rem/1.3 var(--rv-mont); font-style: normal; color: rgba(247,245,242,.6); }
/* equal-height menu cards, prices aligned along the bottom (Luke, 8 Oct 2026) */
.rv-mm-cards > li { display: flex; }
.rv-mm-card { flex: 1 1 auto; display: flex; flex-direction: column; }
.rv-mm-pr { margin-top: auto; }
.rv-mm-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(247,245,242,.12); }
.rv-mm-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.rv-mm-links span { font: 500 .78rem/1 var(--rv-mont); color: rgba(247,245,242,.5); }
.rv-mm-links a { font: 500 .82rem/1.4 var(--rv-mont); color: rgba(247,245,242,.88); text-decoration: none; }
.rv-mm-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.rv-mm-bespoke { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.rv-mm-bespoke img { width: 56px; height: 38px; object-fit: cover; display: block; }
.rv-mm-bespoke span { font: 400 .78rem/1.3 var(--rv-mont); color: rgba(247,245,242,.72); }
.rv-mm-bespoke b { display: block; color: #fff; font-weight: 600; }
.rv-mm-bespoke:hover b { color: var(--rv-gold); }
/* The three panels not rebuilt (Gallery, Bespoke, About) take the same dark skin so the menu reads as one. */
.mega-panel .bg-white { background: var(--rv-forest-dark); }
.mega-panel .text-charcoal { color: #fff; }
.mega-panel .text-charcoal\/50, .mega-panel .text-charcoal\/60 { color: rgba(247,245,242,.68); }
.mega-panel .text-charcoal\/40 { color: rgba(247,245,242,.5); }
.mega-panel .bg-charcoal\/30 { background: rgba(247,245,242,.4); }
.mega-panel .hover\:bg-alabaster:hover { background: rgba(247,245,242,.08); }
.mega-panel .bg-alabaster { background: rgba(247,245,242,.06); }
.mega-panel .text-forest { color: var(--rv-gold); }
.mega-panel .border-parchment\/10 { border-color: rgba(201,168,107,.3); }
.mega-panel .group-hover\/link\:text-forest:hover { color: #fff; }

/* ---------- 6. Sticky mobile action bar (Hassan prototype) ---------- */
.rv-mbar { display: none; }
@media (max-width: 1023px) {
  .rv-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: auto 1fr 1.25fr; gap: 8px; background: #fff; border-top: 1px solid var(--rv-parchment); box-shadow: 0 -6px 18px rgba(13,42,30,.12); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s ease; }
  .rv-mbar.is-on { transform: none; }
  body.rv-mbar-on { padding-bottom: 72px; }
  .rv-mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 10px; font: 600 .8rem/1 var(--rv-mont); border: 1px solid var(--rv-forest); color: var(--rv-forest); text-decoration: none; }
  .rv-mbar .rv-mbar-call { width: 46px; padding: 0; }
  .rv-mbar svg { width: 20px; height: 20px; }
  .rv-mbar .rv-mbar-book { background: var(--rv-forest); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .rv-mbar { transition: none; } }

/* ---------- 7. Product gallery: full image on top, thumbnails below, zoomable popup ---------- */
.rv-gal { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 100%; }
div:has(> .rv-gal) { min-width: 0; }
.rv-gal-stage { position: relative; background: var(--rv-alabaster); aspect-ratio: 5 / 4; overflow: hidden; }
.rv-gal-main { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.rv-gal-main:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: -2px; }
.rv-gal-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rv-gal-video, .rv-gal-count { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(18,54,39,.86); color: var(--rv-alabaster); font: 500 .8rem/1 var(--rv-mont); padding: 9px 12px; border: 0; }
.rv-gal-video { left: 14px; cursor: pointer; }
.rv-gal-video:hover { background: var(--rv-forest); }
.rv-gal-video svg { width: 14px; height: 14px; }
.rv-gal-count { right: 14px; font-size: .75rem; }
.rv-gal-thumbs { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rv-gal-thumbs li { flex: 0 0 calc((100% - 40px) / 6); scroll-snap-align: start; }
@media (max-width: 640px) { .rv-gal-thumbs li { flex-basis: calc((100% - 24px) / 4); } }
.rv-gal-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; background: var(--rv-alabaster); cursor: pointer; aspect-ratio: 5 / 4; overflow: hidden; opacity: .72; transition: opacity .2s, border-color .2s; }
.rv-gal-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-gal-thumbs button:hover, .rv-gal-thumbs button:focus-visible { opacity: 1; outline: none; }
.rv-gal-thumbs button[aria-pressed="true"] { border-color: var(--rv-gold); opacity: 1; }

.rv-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,24,18,.95); display: flex; flex-direction: column; }
.rv-lb[hidden] { display: none; }
.rv-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--rv-alabaster); font: 500 .85rem/1 var(--rv-mont); }
.rv-lb-tools { display: flex; gap: 6px; }
.rv-lb-tools button, .rv-lb-nav { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(247,245,242,.35); background: rgba(13,42,30,.6); color: var(--rv-alabaster); cursor: pointer; font: 600 1.1rem/1 var(--rv-mont); }
.rv-lb-tools button:hover, .rv-lb-nav:hover { border-color: var(--rv-gold); color: var(--rv-gold); }
.rv-lb-tools button:focus-visible, .rv-lb-nav:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 2px; }
.rv-lb-tools svg { width: 18px; height: 18px; }
.rv-lb-view { flex: 1; overflow: hidden; position: relative; touch-action: none; }
.rv-lb-view img { position: absolute; left: 50%; top: 50%; max-width: 100%; max-height: 100%; transform: translate(-50%, -50%) scale(var(--z, 1)) translate(var(--x, 0px), var(--y, 0px)); transform-origin: center; transition: transform .15s ease; user-select: none; -webkit-user-drag: none; }
.rv-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.rv-lb-prev { left: 12px; }
.rv-lb-next { right: 12px; }
@media (prefers-reduced-motion: reduce) { .rv-lb-view img { transition: none; } }

/* ---------- 8. Smokeless BBQ strip (gazebos page, replaces the intro) ---------- */
.rv-bbq { background: var(--rv-forest-dark); color: var(--rv-alabaster); }
.rv-bbq-in { max-width: var(--rv-wrap); margin: 0 auto; padding: 0 24px 24px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .rv-bbq-in { grid-template-columns: minmax(240px, 340px) 1fr auto; gap: 36px; padding: 0 24px; } }
.rv-bbq-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rv-bbq-tag { display: inline-block; margin-bottom: 8px; font: 600 .78rem/1 var(--rv-mont); color: var(--rv-gold); }
.rv-bbq h2 { margin: 0; font: 700 1.5rem/1.15 var(--rv-optima); color: #fff; }
.rv-bbq p { margin: 8px 0 0; font: 400 .95rem/1.55 var(--rv-mont); color: rgba(247,245,242,.78); max-width: 60ch; }
@media (min-width: 900px) { .rv-bbq-txt { padding: 24px 0; } }

/* ---------- 9. Our process, compact single row ---------- */
.rv-process { background: #fff; padding: 56px 24px; }
.rv-process-in { max-width: var(--rv-wrap); margin: 0 auto; }
.rv-process h2 { margin: 0; text-align: center; font: 700 2rem/1.1 var(--rv-optima); color: var(--rv-forest); }
.rv-process-lede { margin: 12px auto 0; text-align: center; max-width: 60ch; font: 400 1rem/1.6 var(--rv-mont); color: rgba(51,51,51,.72); }
.rv-process-grid { display: grid; gap: 24px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rv-step { position: relative; }
.rv-step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rv-step-n { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--rv-forest); color: var(--rv-gold); font: 700 .9rem/1 var(--rv-optima); }
.rv-step h3 { margin: 14px 0 0; font: 700 1.1rem/1.2 var(--rv-optima); color: var(--rv-forest); }
.rv-step p { margin: 8px 0 0; font: 400 .875rem/1.55 var(--rv-mont); color: rgba(51,51,51,.72); }

/* ---------- 10. Garden rooms: three feature rows become one row ---------- */
.rv-trio { background: var(--rv-alabaster); padding: 56px 24px; }
.rv-trio-in { max-width: var(--rv-wrap); margin: 0 auto; }
.rv-trio-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rv-trio img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rv-trio h3 { margin: 14px 0 0; font: 700 1.2rem/1.2 var(--rv-optima); color: var(--rv-forest); }
.rv-trio p { margin: 8px 0 0; font: 400 .9rem/1.55 var(--rv-mont); color: rgba(51,51,51,.72); }

/* ---------- 11. Shelters: green "why choose" and the feature section's photo ---------- */
#pillars.rv-green { background: var(--rv-forest); }
#pillars.rv-green .text-forest { color: var(--rv-alabaster); }
#pillars.rv-green .text-charcoal\/70 { color: rgba(247,245,242,.75); }
#pillars.rv-green .bg-forest { background: rgba(247,245,242,.08); border: 1px solid rgba(201,168,107,.4); }
.rv-feature-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* ---------- 12. Collection tiles (Our / Other Collections) use the wide card photos ---------- */
.rv-col-img { aspect-ratio: 16 / 9 !important; }

/* ---------- 13. "Come and see it in person" band, between the reviews and the footer ----------
   Lighter forest than the footer (#1a4a35 vs #0d2a1e) with a gold rule between them, so the
   pale reviews block, this band and the footer read as three separate pieces. */
.rv-visit { background: #1a4a35; color: var(--rv-alabaster); border-bottom: 3px solid var(--rv-gold); }
.rv-visit-wrap { max-width: 1240px; margin: 0 auto; padding: 72px 24px 0; }
.rv-visit-top { display: grid; gap: 40px; padding-bottom: 56px; }
.rv-visit h2 { margin: 0; font: 400 2.25rem/1.1 var(--rv-optima); color: #fff; letter-spacing: -.01em; }
.rv-visit-lede { margin: 16px 0 0; max-width: 46ch; font: 400 1.05rem/1.65 var(--rv-mont); color: rgba(247,245,242,.85); }
.rv-visit-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.rv-visit-book { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; background: var(--rv-alabaster); color: var(--rv-forest); font: 600 1rem/1 var(--rv-mont); text-decoration: none; transition: background .2s; }
.rv-visit-book:hover { background: #fff; }
.rv-visit-alt { font: 500 1rem/1.4 var(--rv-mont); color: #fff; text-decoration: underline; text-decoration-color: var(--rv-gold); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.rv-visit-alt:hover { color: var(--rv-gold); }
.rv-visit-call { margin: 24px 0 0; font: 400 .95rem/1.5 var(--rv-mont); color: rgba(247,245,242,.8); }
.rv-visit-call a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.rv-visit-sites { border-left: 2px solid var(--rv-gold); padding-left: 24px; align-self: center; }
.rv-visit-sites h3 { margin: 0; font: 400 1.25rem/1.2 var(--rv-optima); color: #fff; }
.rv-visit-sites ul { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font: 400 .95rem/1.5 var(--rv-mont); color: rgba(247,245,242,.82); }
.rv-visit-tiles { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(201,168,107,.45); }
.rv-visit-tiles a { display: block; padding: 24px 0; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(247,245,242,.12); }
.rv-visit-tiles li:last-child a { border-bottom: 0; }
.rv-visit-tiles b { display: block; font: 400 1.4rem/1.2 var(--rv-optima); color: #fff; transition: color .2s; }
.rv-visit-tiles span { display: block; margin-top: 6px; font: 400 .9rem/1.45 var(--rv-mont); color: rgba(247,245,242,.72); }
.rv-visit-tiles a:hover b, .rv-visit-tiles a:focus-visible b { color: var(--rv-gold); }
.rv-visit a:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 4px; }
@media (min-width: 1024px) {
  .rv-visit-wrap { padding-top: 96px; }
  .rv-visit-top { grid-template-columns: 7fr 5fr; gap: 80px; padding-bottom: 80px; }
  .rv-visit h2 { font-size: 3.25rem; }
  .rv-visit-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-visit-tiles a { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid rgba(247,245,242,.12); height: 100%; }
  .rv-visit-tiles li:first-child a { border-left: 0; padding-left: 0; }
}

/* ---------- 14. Garden rooms menu: Heritage Collection beside the Signature Collection ---------- */
.rv-gr-split { display: grid; grid-template-columns: calc((100% - 56px) / 4) minmax(0, 1fr); gap: 28px; }
.rv-gr-sig .rv-gr-cards { gap: 14px; }
.rv-gr-col { display: flex; flex-direction: column; min-width: 0; }
.rv-gr-label { margin: 0 0 12px; padding-top: 10px; border-top: 1px solid rgba(247,245,242,.2); display: flex; flex-direction: column; gap: 3px; }
.rv-gr-label b { font: 400 1.1rem/1.2 var(--rv-optima); color: #fff; }
.rv-gr-label span { font: 400 .78rem/1.3 var(--rv-mont); color: rgba(247,245,242,.62); }
.rv-gr-sig .rv-gr-label { border-top: 2px solid var(--rv-gold); padding-top: 9px; }
.rv-gr-sig .rv-gr-label b { color: var(--rv-gold); }
.rv-gr-col .rv-gr-cards { flex: 1 1 auto; grid-template-columns: minmax(0, 1fr); }
.rv-gr-sig .rv-gr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-gr-sig .rv-mm-card { border-color: rgba(201,168,107,.32); }

/* 15. Mega menu: "View all" sits bottom-left under the cards (9 Oct 2026). From the top-right corner the
   pointer had to cross the other menu tabs to reach it, which switched the menu. */
.rv-mm-all { flex: none; display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--rv-gold);
  font: 600 .82rem/1 var(--rv-mont); color: var(--rv-gold); text-decoration: none; transition: background-color .2s, color .2s; }
.rv-mm-all:hover, .rv-mm-all:focus-visible { background: var(--rv-gold); color: #10301f; }
.rv-mm-bar .rv-mm-links { flex: 1 1 auto; padding-left: 22px; border-left: 1px solid rgba(247,245,242,.12); }
.rv-mm-bar { justify-content: flex-start; }
.rv-mm-bar .rv-mm-bespoke { margin-left: auto; }

/* Collection headings in the garden rooms menu are links */
a.rv-gr-label { text-decoration: none; }
a.rv-gr-label b { transition: color .2s; }
a.rv-gr-label:hover b, a.rv-gr-label:focus-visible b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rv-gr-col:not(.rv-gr-sig) a.rv-gr-label:hover b { color: var(--rv-gold); }

/* 16. Floor plan popup: the plan now shows at its true shape (real sizes written into the page), with a
   paper margin so dimension labels never touch the screen edge. */
.pswp--floorplan .pswp__img { box-sizing: border-box; padding: clamp(14px, 3vw, 44px); object-fit: contain; }
body:has(.pswp--open) .rv-mbar { display: none; }

/* Garden Annexes menu, 3D configurator and aerial band, 30 Oct 2026 (bin/apply-annexes-nav-2026-10.py) */
#desktop-nav > div { max-width: none; gap: 0; }
#desktop-nav .mega-trigger { white-space: nowrap; }
@media (max-width: 1439px) { #desktop-nav .mega-trigger { padding-left: .5rem; padding-right: .5rem; font-size: .84rem; } }
@media (max-width: 1239px) { #desktop-nav > div { padding-left: 8px; padding-right: 8px; } #desktop-nav .mega-trigger { padding-left: .3rem; padding-right: .3rem; font-size: .74rem; gap: 2px; } #desktop-nav .mega-chevron { width: 11px; height: 11px; } }
.rv-mm-3d { flex: none; display: inline-flex; align-items: center; padding: 10px 18px; background: var(--rv-gold); color: #10301f; font: 600 .82rem/1.2 var(--rv-mont); text-decoration: none; }
.rv-mm-3d:hover, .rv-mm-3d:focus-visible { background: var(--rv-gold-dark); }
.rv-hdr-3d { text-decoration: none; }

.rv-3d { background: var(--rv-forest); color: var(--rv-alabaster); }
.rv-3d-in { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.rv-3d-in img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rv-3d h2 { font: 400 1.9rem/1.2 var(--rv-optima); color: #fff; margin: 0 0 10px; }
.rv-3d p { font: 400 1rem/1.6 var(--rv-mont); color: rgba(247,245,242,.85); margin: 0 0 20px; }
.rv-3d-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) { .rv-3d-in { grid-template-columns: 1fr; gap: 20px; padding: 32px 16px; } .rv-3d h2 { font-size: 1.55rem; } .rv-3d-btns .rv-btn { width: 100%; justify-content: center; } }

.rv-aerial figure { margin: 0; }
.rv-aerial img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: 50% 62%; display: block; }
.rv-aerial-txt { background: var(--rv-forest-dark); border-top: 1px solid rgba(201,168,107,.45); }
.rv-aerial-in { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.rv-aerial h2 { font: 400 2.1rem/1.2 var(--rv-optima); color: #fff; margin: 0 0 6px; }
.rv-aerial p { font: 400 1rem/1.5 var(--rv-mont); color: rgba(247,245,242,.85); margin: 0; max-width: 620px; }
@media (max-width: 767px) { .rv-aerial img { aspect-ratio: 4 / 3; max-height: none; } .rv-aerial-in { padding: 24px 16px; } .rv-aerial h2 { font-size: 1.6rem; } .rv-aerial .rv-3d-btns, .rv-aerial .rv-3d-btns .rv-btn { width: 100%; justify-content: center; } }

.rv-annex-gal { background: var(--rv-alabaster); }
.rv-annex-gal-in { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.rv-annex-gal h2 { font: 700 2rem/1.2 var(--rv-optima); color: var(--rv-forest); text-align: center; margin: 0 0 28px; }
.rv-annex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rv-annex-grid figure { margin: 0; overflow: hidden; }
.rv-annex-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rv-annex-cap { font: 400 .8rem/1.4 var(--rv-mont); color: rgba(51,51,51,.7); text-align: center; margin: 16px 0 0; }
@media (max-width: 767px) { .rv-annex-gal-in { padding: 40px 16px; } .rv-annex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.hx-photos.hx-photos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .hx-photos.hx-photos3 { grid-template-columns: 1fr; } }
@media (max-width: 1239px) { #desktop-nav .mega-chevron { display: none; } }
@media (max-width: 1099px) { #desktop-nav > div > a[href="/news/"] { display: none; } }

/* Small UX fixes, 30 Oct 2026 */
.rv-menu-book { display: flex; width: 100%; align-items: center; justify-content: center; padding: 12px 24px; background: var(--rv-gold); color: #10301f; font: 600 .875rem/1.2 var(--rv-mont); text-decoration: none; }
#mobile-menu .text-alabaster\/40 { color: rgba(247,245,242,.68); }
@media (max-width: 639px) {
  #cookie-consent { left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 14px 16px; }
  #cookie-consent p { font-size: .8rem; line-height: 1.4; }
  footer ul a { display: inline-block; padding: 7px 0; }
  footer ul.space-y-3 > li + li { margin-top: 2px; }
}

/* jx: phone journey actions, 3 Nov 2026 (bin/apply-journey-actions-2026-11.py) */
.jx-actions{margin-top:1.25rem;font-family:var(--font-montserrat,sans-serif)}
.jx-actions--light{text-align:center;padding:2.5rem 0 .5rem}
.jx-heading{font-family:var(--font-optima,serif);font-size:1.6rem;color:#07281a;margin:0 0 .25rem}
.jx-price{font-size:1.35rem;font-weight:700;margin:0 0 .75rem;color:#07281a}
.jx-actions--dark .jx-price{color:#fff}
.jx-btns{display:flex;flex-wrap:wrap;gap:.6rem}
.jx-actions--light .jx-btns,.jx-btns--center{justify-content:center}
.jx-btns--center{margin-top:1.75rem}
.jx-btns--product{margin-top:1rem}
.jx-btns--hero{margin-top:1.25rem}
.jx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 1.25rem;font-size:15px;font-weight:600;text-decoration:none;border:1px solid transparent;transition:opacity .2s}
.jx-btn:hover{opacity:.9}
.jx-btn--gold{background:#cdac4e;color:#07281a}
.jx-btn--line{border-color:currentColor;color:inherit}
.jx-actions--dark .jx-btn--line,.jx-btns--hero .jx-btn--line{color:#fff}
.jx-actions--light .jx-btn--line,.jx-btns--product .jx-btn--line,.jx-btn--line-dark{color:#07281a;border-color:#07281a}
.jx-more-link{display:inline-block;margin-top:.75rem;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.jx-actions--dark .jx-more-link{color:#e5e5e5}
.jx-actions--light .jx-more-link{color:#07281a}
@media(max-width:520px){.jx-btns .jx-btn{flex:1 1 100%}}
.jx-band{background:#fff;padding-bottom:2rem}
.jx-more{margin:.25rem 0 1.25rem;border-top:1px solid #d4c5a3;padding-top:.9rem}
.jx-more>summary{cursor:pointer;font-weight:600;color:#07281a;list-style:revert}
.jx-more[open]>summary{margin-bottom:1rem}
.jx-short .lead-form__card-sub,.jx-short .lead-form__card-body>svg{display:none}
.jx-short .lead-form__p-grid{gap:8px}
.jx-short .lead-form__card-body{padding:10px 12px;min-height:0}
.jx-closed{color:#a33;font-size:14px;margin:-8px 0 16px}
.jx-visit-grid{display:grid;gap:2.5rem}
@media(min-width:1024px){.jx-visit-grid{grid-template-columns:7fr 5fr}}
.jx-sites ul{list-style:none;padding:0;margin:1rem 0}
.jx-sites li{padding:.7rem 0;border-bottom:1px solid #e5e5e5;font-size:14px}
.jx-sites li a{display:block;font-weight:600;color:#07281a}
.jx-sites li span{color:#555}
@media(max-width:1023px){
  [data-jx-hero=short],[data-jx-hero=short] .hero-inner{min-height:0!important;height:auto!important}
  [data-jx-hero=short] .hero-inner{padding-top:2.5rem;padding-bottom:2rem}
  [data-jx-compact]{padding-top:1.25rem!important;padding-bottom:1.25rem!important}
  [data-jx-compact] a{padding:.9rem 1rem!important}
  [data-jx-compact] a p+p,[data-jx-compact] a>svg{display:none}
  [data-jx-compact] a h3{font-size:1rem;margin:0}
  [data-jx-compact] a p{margin:.15rem 0 0}
}

/* readability-2026-11 */
[data-variant=home] .hero-overlay,[data-variant=page] .hero-overlay,.hero-overlay{background:linear-gradient(to top,rgba(4,22,14,.86) 0%,rgba(4,22,14,.62) 32%,rgba(4,22,14,.28) 62%,rgba(0,0,0,.12) 100%)!important}
.hero-video-overlay{background:linear-gradient(to top,rgba(4,22,14,.84) 0%,rgba(4,22,14,.55) 35%,rgba(0,0,0,.18) 70%,rgba(0,0,0,.08) 100%)!important}
@media(max-width:767px){.hero-overlay,.hero-video-overlay{background:linear-gradient(to top,rgba(4,22,14,.9) 0%,rgba(4,22,14,.7) 40%,rgba(4,22,14,.35) 70%,rgba(0,0,0,.15) 100%)!important}}
#hero h1,#hero h2,#hero p,#hero nav,.hero-text,.hero-video-slide-heading,.hero-video-slide-subheading{text-shadow:0 1px 3px rgba(0,0,0,.55),0 2px 14px rgba(0,0,0,.35)}
.bg-gradient-to-t.from-forest\/80.via-transparent{--tw-gradient-via:rgba(7,40,26,.35)!important;background-image:linear-gradient(to top,rgba(7,40,26,.9),rgba(7,40,26,.35) 55%,transparent)!important}
.cp-usp-tight.py-16{padding-top:2.5rem;padding-bottom:2.5rem}
.cp-usp-tight .mb-12{margin-bottom:1.5rem}
.cp-usp-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}
.cp-usp-grid>div{padding:1rem .75rem!important;display:flex;flex-direction:column;align-items:center;text-align:center}
.cp-usp-grid>div>div:first-child{margin:0 auto .6rem!important;height:2.5rem!important;width:2.5rem!important}
.cp-usp-grid>div>div:first-child svg{height:1.25rem;width:1.25rem}
.cp-usp-grid h3{font-size:.875rem!important;line-height:1.3!important;font-family:Montserrat,sans-serif!important;font-weight:600!important;margin-top:0!important}
.cp-usp-grid p{font-size:.75rem!important;line-height:1.45!important;margin-top:.35rem!important}
.cp-usp-why p{display:none!important}
@media(min-width:768px){.cp-usp-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:1024px){.cp-usp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1rem!important}.cp-usp-grid>div{padding:1.25rem 1rem!important}.cp-usp-grid h3{font-size:.9375rem!important}.cp-usp-grid p{font-size:.8125rem!important}}

/* Lord Alan Sugar testimonial: close the stacked gap on phones (8 Nov 2026) */
@media(max-width:1023px){
.celebrity-endorsement-b>div>div:first-child{padding-bottom:1rem!important}
.celebrity-endorsement-b>div>div:last-child{padding-top:0!important}
.celebrity-endorsement-b blockquote>div:first-child{margin-bottom:.25rem!important;line-height:1}
}
