/* ============================================================
   TESSERA VILLAS — architectural editorial
   Palette: limestone / warm white / pale aqua / charcoal / timber
   Type: Cormorant Garamond (display) + Karla (text)
   ============================================================ */
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../assets/fonts/karla.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #F4F1EA;
  --bg-2: #ECE7DC;
  --ink: #1C1C1A;
  --ink-2: #5C5A52;
  --aqua: #9CC6C0;
  --aqua-deep: #33646B;
  --timber: #8A6B4F;
  --line: #D8D2C4;
  --r: 6px;
  --ease: cubic-bezier(.22, .8, .28, 1);
  --fd: "Cormorant Garamond", Georgia, serif;
  --ft: "Karla", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { font-family: var(--ft); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--fd); font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
em { font-style: italic; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 300; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 2px; }
.linklike { background: none; border: 0; color: var(--aqua-deep); text-decoration: underline; font: inherit; cursor: pointer; }

/* header */
.vh-head { position: fixed; z-index: 70; inset: 0 0 auto; display: flex; align-items: center; gap: 2rem; padding: 1rem clamp(1.2rem, 4vw, 3rem); color: #fff; transition: background .4s var(--ease), color .4s var(--ease); }
.vh-head.solid { background: rgba(244,241,234,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--ft); font-weight: 700; letter-spacing: .34em; font-size: .92rem; text-decoration: none; color: inherit; }
.brand span { display: block; font-size: .56rem; letter-spacing: .4em; opacity: .7; font-weight: 400; }
.vh-head nav { margin-left: auto; display: flex; gap: 1.8rem; }
.vh-head nav a { color: inherit; text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) { .vh-head nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .8rem 1.6rem; border-radius: var(--r); font: 700 .8rem var(--ft); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border: 0; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s; }
.btn:active { transform: scale(.98); }
.btn-dusk { background: var(--ink); color: var(--bg); }
.btn-dusk:hover { background: #000; }
.btn-cream { background: var(--bg); color: var(--ink); }
.btn-ghost { background: none; border: 1px solid currentColor; color: inherit; }

/* hero */
.vh-hero { position: relative; height: 100svh; overflow: hidden; }
.vh-hero img { width: 100%; height: 100%; object-fit: cover; }
.vh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,.4), transparent 36%, rgba(20,20,18,.32)); }
.vh-hero-copy { position: absolute; z-index: 2; left: clamp(1.2rem, 5vw, 5rem); bottom: clamp(4.5rem, 14vh, 9rem); color: #fff; max-width: 640px; }
.vh-kicker { font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; opacity: .85; margin-bottom: 1.2rem; }
.vh-hero h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); font-weight: 400; }
.vh-hero h1 em { color: #E8E2D4; }
.vh-sub { margin-top: 1.1rem; font-size: 1rem; opacity: .88; max-width: 44ch; }
.vh-scroll { position: absolute; right: clamp(1.2rem, 4vw, 3rem); bottom: 2rem; z-index: 2; color: #fff; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: .7rem; }
.vh-scroll span { width: 1px; height: 64px; background: rgba(255,255,255,.6); display: block; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* search */
.vh-search { max-width: 1320px; margin: 0 auto; padding: 2.4rem clamp(1.2rem, 4vw, 3rem) .8rem; }
#filterForm { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: end; border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.vfield label { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .35rem; }
.vfield input, .vfield select { border: 0; border-bottom: 1px solid var(--line); background: none; font: 500 .95rem var(--ft); color: var(--ink); padding: .3rem 0; border-radius: 0; }
.vfield select { cursor: pointer; }
.vfield input[type="date"] { min-width: 9.2rem; }
.vfield input:focus, .vfield select:focus { outline: none; border-bottom-color: var(--aqua-deep); }
.vprice input[type="range"] { width: 11rem; accent-color: var(--aqua-deep); }
.vh-count { margin-top: 1rem; font-size: .82rem; color: var(--ink-2); letter-spacing: .06em; }

/* collection grid */
.vh-collection { max-width: 1320px; margin: 0 auto; padding: 1.6rem clamp(1.2rem, 4vw, 3rem) 4rem; }
.vh-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 2.6vw, 2.6rem) clamp(.9rem, 2vw, 1.8rem); }
.vcard { position: relative; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; display: block; width: 100%; min-width: 0; }
.vcard figure { overflow: hidden; border-radius: var(--r); }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.vcard:hover img, .vcard:focus-visible img { transform: scale(1.045); }
.vcard .vmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .8rem; }
.vcard h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.vcard .vspec { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.vcard .vprice { font-family: var(--fd); font-size: 1.25rem; white-space: nowrap; }
.vcard .vprice small { font-family: var(--ft); font-size: .7rem; letter-spacing: .1em; color: var(--ink-2); }
.vcard .vline { margin-top: .25rem; font-size: .9rem; color: var(--ink-2); font-style: italic; font-family: var(--fd); }
/* editorial rhythm: alternating spans */
.vcard:nth-child(6n+1) { grid-column: span 7; } .vcard:nth-child(6n+1) figure { aspect-ratio: 16/10; }
.vcard:nth-child(6n+2) { grid-column: span 5; } .vcard:nth-child(6n+2) figure { aspect-ratio: 4/5; }
.vcard:nth-child(6n+3) { grid-column: span 5; } .vcard:nth-child(6n+3) figure { aspect-ratio: 4/5; }
.vcard:nth-child(6n+4) { grid-column: span 7; } .vcard:nth-child(6n+4) figure { aspect-ratio: 16/10; }
.vcard:nth-child(6n+5) { grid-column: span 12; } .vcard:nth-child(6n+5) figure { aspect-ratio: 21/9; }
.vcard:nth-child(6n+0) { grid-column: span 12; } .vcard:nth-child(6n+0) figure { aspect-ratio: 21/9; }
.vh-empty { padding: 3rem 0; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .vh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard { grid-column: auto !important; }
  .vcard figure { aspect-ratio: 4/5 !important; }
  .vcard:nth-child(4n+1) { grid-column: span 2 !important; }
  .vcard:nth-child(4n+1) figure { aspect-ratio: 16/11 !important; }
}

/* service */
.vh-service { background: var(--ink); color: #EDE8DC; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 4rem); }
.vh-service-copy .vh-kicker { color: var(--aqua); }
.vh-service-copy h2 { margin-bottom: 1.2rem; }
.vh-service-copy p { max-width: 46ch; opacity: .8; margin-bottom: 1.8rem; }
.vh-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; background: #33322E; border: 1px solid #33322E; align-self: start; }
.vaddon { background: var(--ink); padding: 1.5rem 1.4rem; }
.vaddon h3 { font-family: var(--ft); font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); margin-bottom: .4rem; }
.vaddon p { font-size: .88rem; opacity: .78; }
@media (max-width: 980px) { .vh-service { grid-template-columns: 1fr; } .vh-service-grid { grid-template-columns: 1fr; } }

/* faq */
.vh-know { max-width: 880px; margin: 0 auto; padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 3rem); }
.vh-know h2 { margin-bottom: 2rem; }
.vh-know details { border-top: 1px solid var(--line); }
.vh-know details:last-of-type { border-bottom: 1px solid var(--line); }
.vh-know summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding: 1.15rem .1rem; font: 700 .95rem var(--ft); letter-spacing: .02em; }
.vh-know summary::-webkit-details-marker { display: none; }
.vh-know summary::after { content: "+"; color: var(--aqua-deep); font-size: 1.2rem; }
.vh-know details[open] summary::after { content: "–"; }
.vh-know p { padding: 0 .1rem 1.2rem; color: var(--ink-2); max-width: 60ch; }

/* closer */
.vh-closer { position: relative; }
.vh-closer img { width: 100%; height: clamp(440px, 66vh, 680px); object-fit: cover; }
.vh-closer-copy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; color: #fff; background: rgba(20,20,18,.38); padding: 1.4rem; }
.vh-closer h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* footer */
.vh-foot { background: var(--bg-2); text-align: center; padding: 3rem 1.2rem 2.2rem; font-size: .84rem; color: var(--ink-2); }
.vh-foot-brand { font-weight: 700; letter-spacing: .34em; color: var(--ink); margin-bottom: .7rem; }
.vh-credit { margin-top: 1.2rem; font-size: .74rem; }
.vh-credit a { color: var(--aqua-deep); }

/* villa overlay */
.vov-veil, .ved-veil { position: fixed; inset: 0; background: rgba(20,20,18,.55); z-index: 90; }
.vov { position: fixed; z-index: 100; inset: 0; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.vov-x { position: fixed; top: 1rem; right: 1rem; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(244,241,234,.9); font-size: 1.05rem; cursor: pointer; color: var(--ink); }
.vov-hero { height: min(72vh, 640px); position: relative; }
.vov-hero img { width: 100%; height: 100%; object-fit: cover; }
.vov-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,20,18,.5)); }
.vov-hero-text { position: absolute; left: clamp(1.2rem, 5vw, 4rem); bottom: 1.8rem; color: #fff; }
.vov-hero-text h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.vov-hero-text .vspec { letter-spacing: .2em; font-size: .74rem; text-transform: uppercase; opacity: .85; }
.vov-body-wrap { max-width: 1100px; margin: 0 auto; padding: 2.6rem clamp(1.2rem, 4vw, 3rem) 4rem; }
.vov-lead { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.5rem; margin-bottom: 2.6rem; }
.vov-lead p { color: var(--ink-2); max-width: 58ch; }
.vov-facts { border-left: 2px solid var(--ink); padding-left: 1.4rem; align-self: start; }
.vov-facts div { margin-bottom: .9rem; }
.vov-facts dt { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.vov-facts dd { font-family: var(--fd); font-size: 1.25rem; }
.vov-high { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.4rem; }
.vov-high span { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .78rem; letter-spacing: .06em; }
.vov-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.vov-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.vov-gallery img:first-child { aspect-ratio: 16/10; }
.vov-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 2rem 0 0; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.vov-actions .price { font-family: var(--fd); font-size: 1.5rem; margin-right: auto; }
.vov-actions .price small { font-family: var(--ft); font-size: .72rem; letter-spacing: .1em; color: var(--ink-2); }
@media (max-width: 860px) { .vov-lead { grid-template-columns: 1fr; } .vov-gallery { grid-template-columns: 1fr; } .vov-hero { height: 52vh; } }

/* enquiry drawer */
.ved { position: fixed; z-index: 110; inset: 0 0 0 auto; width: min(460px, 100%); background: var(--bg); padding: 1.8rem 1.7rem 2rem; overflow-y: auto; }
.ved h2 { font-size: 1.9rem; margin: .3rem 0 1.2rem; }
.ved .step { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--aqua-deep); }
.ved .vfield { margin-bottom: 1.1rem; }
.ved .vfield input, .ved .vfield select, .ved .vfield textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: .75rem .85rem; font: 400 .95rem var(--ft); color: var(--ink); }
.ved textarea { min-height: 80px; resize: vertical; }
.ved .villa-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1.2rem; }
.ved .villa-pick label { position: relative; cursor: pointer; border-radius: var(--r); overflow: hidden; }
.ved .villa-pick input { position: absolute; opacity: 0; }
.ved .villa-pick img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ved .villa-pick b { position: absolute; left: .5rem; bottom: .4rem; color: #fff; font-size: .72rem; letter-spacing: .08em; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.ved .villa-pick label:has(input:checked)::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--aqua-deep); }
.ved .villa-pick label:has(input:focus-visible) { outline: 3px solid var(--aqua-deep); outline-offset: 1px; }
.ved .hint { font-size: .78rem; color: var(--ink-2); margin: .6rem 0 1rem; }
.ved-success { text-align: center; padding: 3rem .5rem; }
.ved-success .ok { width: 62px; height: 62px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--aqua-deep); color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.ved-success p { color: var(--ink-2); font-size: .92rem; margin: .8rem 0 1.5rem; }
@media (max-width: 480px) { .ved { padding: 1.4rem 1.1rem; } .ved .villa-pick { grid-template-columns: 1fr 1fr; } }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ============================================================
   GOLDEN RULES PATCH v1 — never break these again
   ============================================================ */

/* 1. IMAGES NEVER STRETCH BEYOND THEIR NATIVE ASPECT RATIO.
   The HTML height="" attribute loses to this rule by design. */
img { height: auto; }

/* 2. CARD INNER WRAPPERS ARE BLOCK — padding works, no baseline gap
   (the "white line" above card images was the inline baseline gap). */
.toy-media, .toy-body, .toy-foot, .svc-media, .svc-body, .svc-foot,
.prod-media, .prod-body, .prod-foot, .prog-media, .prog-body,
.prog-foot, .tbl-body, .tbl-inc, .tbl-foot, .drink-veil, .drink-body,
.drink-tags, .drink-foot, .night-veil, .night-body, .beat, .gal-item,
.gb-item, .rit-body, .sig-body, .dr-opt span, .dr-opt small {
  display: block;
}
.toy-media, .svc-media, .prod-media, .prog-media { line-height: 0; }
.toy-media .toy-tag, .prog-media .prog-tag { line-height: 1.4; }

/* 3. NO ORPHAN WORDS — headings balance, body avoids lone last words. */
h1, h2, h3, .closer h2, .band-copy h2, .colour-copy h2, .sunset-copy h2,
.nb-copy h2, .lookbook-copy h2, .room-copy h2 { text-wrap: balance; }
p, .hero-sub, .sec-head p, .drink-blurb, .svc-blurb, .prod-blurb,
.prog-blurb, .tbl-blurb, .night-body p, .beat p, .sig-body > p,
.rit-body > p, .coach-body p { text-wrap: pretty; }

/* 4. HEADER ALWAYS READABLE — permanent top scrim + text shadows. */
.site-head::before, .s-head::before, .vh-head::before, .w-head::before,
.z-head::before, .m-head::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 150px;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.34) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none; z-index: 0;
  transition: opacity .45s var(--ease, ease);
}
.site-head.solid::before, .s-head.solid::before, .vh-head.solid::before,
.w-head.solid::before, .z-head.solid::before, .m-head.solid::before { opacity: 0; }
.site-head .brand, .site-head .head-nav a, .site-head .hero-eyebrow,
.s-head .brand, .s-head .head-nav a,
.vh-head .brand, .vh-head .head-nav a,
.w-head .brand, .w-head .head-nav a,
.z-head .brand, .z-head .head-nav a,
.m-head .brand, .m-head .head-nav a {
  position: relative; z-index: 1;
  text-shadow: 0 1px 14px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.4);
}
.site-head.solid .brand, .site-head.solid .head-nav a,
.s-head.solid .brand, .s-head.solid .head-nav a,
.vh-head.solid .brand, .vh-head.solid .head-nav a,
.w-head.solid .brand, .w-head.solid .head-nav a,
.z-head.solid .brand, .z-head.solid .head-nav a,
.m-head.solid .brand, .m-head.solid .head-nav a { text-shadow: none; }
.hero-eyebrow, .hero-sub { text-shadow: 0 1px 16px rgba(0,0,0,.5); }

/* 5. GHOST BUTTONS GET GLASS — always visible on any photo. */
.btn-ghost {
  background: rgba(20,20,24,.38);
  border-color: rgba(255,255,255,.78);
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 18px -8px rgba(0,0,0,.5);
}
.site-head.solid .btn-ghost, .s-head.solid .btn-ghost, .vh-head.solid .btn-ghost,
.w-head.solid .btn-ghost, .z-head.solid .btn-ghost, .m-head.solid .btn-ghost {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-color: currentColor; text-shadow: none; box-shadow: none;
}

/* 6. GOLD/SOLID CTA SHINE SWEEP EVERY ~6.5s — noticed, never garish. */
.btn-gold, .btn-solid { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after, .btn-solid::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -80%;
  width: 45%; transform: skewX(-22deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
  opacity: 0; pointer-events: none;
  animation: cta-shine 6.5s ease-in-out infinite;
}
.btn-gold:hover::after, .btn-solid:hover::after { animation: none; opacity: 0; }
@keyframes cta-shine {
  0%, 76% { left: -80%; opacity: 0; }
  80%     { opacity: .85; }
  94%,100%{ left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-gold::after, .btn-solid::after { animation: none; opacity: 0 !important; }
}

/* 7. TEXT ON FULL-WIDTH PHOTOS: section scrim + glass tray on the copy. */
.colour-band::after, .sunset-band::after, .band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.06) 42%, rgba(0,0,0,.4) 100%);
}
.colour-copy, .sunset-copy, .band-copy {
  z-index: 3;
  text-shadow: 0 1px 18px rgba(0,0,0,.5);
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: var(--radius, 18px);
  padding: clamp(1.4rem, 2.6vw, 2.3rem);
  width: min(680px, 92%);
}
.colour-band .colour-copy { margin: 0 auto 0 clamp(1.2rem, 8vw, 8rem); }

/* -- Polish v3: header nav links get glass pills (always readable) -- */
.vh-head nav a, .w-head nav a, .s-head nav a, .m-head nav a,
.site-head .head-nav a {
  background: rgba(10, 10, 14, .30);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 2px 14px rgba(0,0,0,.45);
  border-radius: 999px;
  padding: .5rem .95rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.85), 0 4px 16px rgba(0,0,0,.6);
  transition: background .3s var(--ease, ease), border-color .3s, color .3s;
}
.vh-head.solid nav a, .w-head.solid nav a, .s-head.solid nav a, .m-head.solid nav a,
.site-head.solid .head-nav a {
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-shadow: none;
}

/* -- Polish v3: old-site heroes get scrim + glass copy tray --------- */
.vh-hero::after, .s-hero::after, .m-hero::after, .w-hero::after, .z-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.46) 100%);
}
.vh-hero-copy, .s-hero-inner, .m-hero-inner, .w-hero-copy, .z-hero-inner {
  text-shadow: 0 2px 22px rgba(0,0,0,.55);
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 18px;
  padding: clamp(1.3rem, 2.4vw, 2rem);
}
.w-hero-copy { margin-inline: auto; text-align: center; }

/* -- Polish v3: add-on tiles (were never rendered) ------------------- */
.vh-addon { background: #2A2925; padding: 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.vh-addon b { color: #F4F1E8; font-size: .95rem; letter-spacing: .04em; }
.vh-addon span { color: rgba(237, 232, 220, .72); font-size: .85rem; line-height: 1.5; }

/* -- Cinematic v4: deep text shadows + animated photo-hue glow (no glass) -- */
@keyframes text-glow-breathe {
  0%, 100% { text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 8px 26px rgba(0,0,0,.55), 0 18px 60px rgba(0,0,0,.45), 0 0 18px rgba(240,234,220,.35), 0 0 44px rgba(240,234,220,.35); }
  50%      { text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 8px 26px rgba(0,0,0,.55), 0 18px 60px rgba(0,0,0,.45), 0 0 26px rgba(255,252,244,.55), 0 0 70px rgba(255,252,244,.55); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-eyebrow, .hero-sub, .colour-copy, .sunset-copy, .band-copy,
  .vh-hero-copy, .s-hero-inner, .m-hero-inner, .w-hero-copy, .z-hero-inner,
  .vh-hero-copy h1, .s-hero-inner h1, .m-hero-inner h1, .w-hero-copy h1, .z-hero-inner h1, .hero-inner h1 {
    animation: none !important;
  }
}
.hero h1, .hero h1 em,
.colour-copy, .sunset-copy, .band-copy,
.vh-hero-copy, .s-hero-inner, .m-hero-inner, .w-hero-copy, .z-hero-inner {
  animation: text-glow-breathe 7s ease-in-out infinite;
}
/* Hero heading glow: binds to the heading itself (0-1-1) so it always beats
   the shared .s8-hero-in entrance animation from _shared/effects.css,
   which loads later and would otherwise win on equal specificity. */
.vh-hero-copy h1, .vh-hero-copy h1 em,
.s-hero-inner h1, .s-hero-inner h1 em,
.m-hero-inner h1, .m-hero-inner h1 em,
.w-hero-copy h1, .w-hero-copy h1 em,
.z-hero-inner h1, .z-hero-inner h1 em,
.hero-inner h1, .hero-inner h1 em {
  animation: text-glow-breathe 7s ease-in-out infinite;
}
.hero-eyebrow, .hero-sub { text-shadow: 0 2px 5px rgba(0,0,0,.6), 0 10px 30px rgba(0,0,0,.45); }
.site-head::before, .s-head::before, .vh-head::before, .w-head::before,
.z-head::before, .m-head::before { z-index: 2; }
.site-head .brand, .site-head .head-nav a, .site-head .hero-eyebrow,
.s-head .brand, .s-head .head-nav a,
.vh-head .brand, .vh-head .head-nav a,
.w-head .brand, .w-head .head-nav a,
.z-head .brand, .z-head .head-nav a,
.m-head .brand, .m-head .head-nav a { z-index: 3; }


/* compact badge lives inside the hero copy */
.hero .gr-badge, .vh-hero .gr-badge, .w-hero .gr-badge, .z-hero .gr-badge,
.s-hero .gr-badge, .m-hero .gr-badge { margin-top: 1.25rem; }
/* full review cards: spacing when stacked under the site's own quotes */
.gr-cards { margin-block: 2rem .6rem; }

/* == GOLDEN-UPDATE-V2 : header layering + mobile compaction == */
/* every direct header child sits ABOVE the top scrim — brand, nav, CTA and
   the language flag are never dimmed by the hero-darkening gradient */
.site-head > *, .s-head > *, .vh-head > *, .w-head > *, .z-head > *, .m-head > * {
  position: relative; z-index: 3;
}
/* language flag lives at the far right of the header, next to CTA */
.site-head > [data-lang-switch], .s-head > [data-lang-switch],
.vh-head > [data-lang-switch], .w-head > [data-lang-switch],
.z-head > [data-lang-switch], .m-head > [data-lang-switch] { order: 9; margin-left: .1rem; }
@media (max-width: 700px) {
  .site-head, .s-head, .vh-head, .w-head, .z-head, .m-head { gap: .7rem; padding-inline: 1rem; }
  .site-head .brand, .s-head .s-brand, .vh-head .brand, .w-head .w-brand,
  .z-head .z-brand, .m-head .m-brand { font-size: .92rem; letter-spacing: .12em; }
  .brand span, .s-brand span, .w-brand span, .z-brand span, .m-brand span { display: none; }
  .lang-btn { width: 32px; height: 32px; }
  .site-head > [data-lang-switch], .s-head > [data-lang-switch],
  .vh-head > [data-lang-switch], .w-head > [data-lang-switch],
  .z-head > [data-lang-switch], .m-head > [data-lang-switch] { margin-left: auto; }
  .site-head .btn-solid, .site-head .btn, .vh-head .btn, .m-head .m-btn,
  .w-head .w-book { padding: .6rem .85rem; font-size: .74rem; min-height: 38px;
    line-height: 1.1; white-space: nowrap; }
}
/* compact badge lives inside the hero copy */
.hero .gr-badge, .vh-hero .gr-badge, .w-hero .gr-badge, .z-hero .gr-badge,
.s-hero .gr-badge, .m-hero .gr-badge { margin-top: 1.25rem; }
/* full review cards: spacing when stacked under the site's own quotes */
.gr-cards { margin-block: 2rem .6rem; }

/* -- v2: the vertical SCROLL hint fights the Google badge on phones -- */
@media (max-width: 640px) { .vh-scroll { display: none; } }

/* -- hero clearance: copy must start below the fixed header -- */

.vh-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
