/* ============================================================
   MERIDIAN SAMUI — serious architectural luxury
   Palette: charcoal / warm off-white / tropical teal / stone / champagne
   Type: Marcellus (display) + Manrope (text)
   ============================================================ */
@font-face { font-family: "Marcellus"; src: url("../assets/fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #F3F0EA;
  --panel: #FFFFFF;
  --charcoal: #222625;
  --charcoal-2: #2E3432;
  --ink: #23282A;
  --ink-2: #5F676A;
  --teal: #2F6B6A;
  --teal-2: #245453;
  --brass: #B99B60;
  --brass-2: #A3854E;
  --line: #DED8CC;
  --r: 4px;
  --ease: cubic-bezier(.22, .8, .28, 1);
  --fd: "Marcellus", Georgia, serif;
  --ft: "Manrope", 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: 400; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
em { font-style: normal; color: #D9BC80; }
.skip { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: #fff; padding: .6rem 1rem; z-index: 300; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.m-linklike { background: none; border: 0; color: var(--teal); text-decoration: underline; font: inherit; cursor: pointer; }

/* header */
.m-head { position: fixed; inset: 0 0 auto; z-index: 70; 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), box-shadow .4s; }
.m-head.solid { background: rgba(243,240,234,.95); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.m-brand { text-decoration: none; color: inherit; font-family: var(--fd); letter-spacing: .3em; font-size: 1rem; }
.m-brand span { display: block; font-family: var(--ft); font-size: .55rem; letter-spacing: .46em; opacity: .72; margin-top: .1rem; }
.m-head nav { margin-left: auto; display: flex; gap: 1.8rem; }
.m-head nav a { color: inherit; text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 860px) { .m-head nav { display: none; } }
.m-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.6rem; border: 0; border-radius: var(--r); font: 700 .82rem var(--ft); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .25s, color .25s; }
.m-btn-brass { background: var(--brass); color: #fff; }
.m-btn-brass:hover { background: var(--brass-2); }
.m-btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.m-btn-dark { background: var(--charcoal); color: #fff; }

/* hero */
.m-hero { position: relative; min-height: 94svh; display: flex; align-items: center; overflow: hidden; }
.m-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(12deg, rgba(24,28,27,.72), rgba(24,28,27,.2) 55%, rgba(24,28,27,.3)); }
.m-hero-inner { position: relative; z-index: 2; color: #F3F0EA; padding: 6rem clamp(1.2rem, 5vw, 4rem) 0; max-width: 780px; }
.m-kicker { font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.2rem; }
.m-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
.m-sub { margin: 1.4rem 0 2.1rem; max-width: 50ch; opacity: .92; }
.m-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* listings */
.m-listings { max-width: 1280px; margin: 0 auto; padding: clamp(4rem, 9vh, 7rem) clamp(1.2rem, 4vw, 3rem); }
.m-l-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2rem; margin-bottom: 1.8rem; }
.m-l-note { color: var(--ink-2); font-size: .9rem; }
.m-filters { border-top: 2px solid var(--charcoal); border-bottom: 1px solid var(--line); padding: 1.1rem 0; margin-bottom: 2.2rem; display: grid; gap: 1rem; }
.m-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.m-chips button { border: 1.5px solid var(--line); background: none; color: var(--ink); border-radius: 999px; padding: .5rem 1.2rem; font: 700 .8rem var(--ft); letter-spacing: .06em; cursor: pointer; min-height: 40px; }
.m-chips button[aria-selected="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.m-selects { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }
.m-selects label { display: flex; flex-direction: column; gap: .25rem; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.m-selects select { border: 0; border-bottom: 1px solid var(--line); background: none; font: 600 .92rem var(--ft); color: var(--ink); padding: .25rem 0; border-radius: 0; cursor: pointer; }
.m-selects select:focus { outline: none; border-bottom-color: var(--teal); }
.m-check { flex-direction: row !important; align-items: center; gap: .5rem !important; cursor: pointer; }
.m-check input { width: 18px; height: 18px; accent-color: var(--teal); }

/* property grid — spatial, image-led */
.m-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.8rem) clamp(1rem, 2vw, 1.8rem); }
.pcard { position: relative; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; display: block; width: 100%; min-width: 0; }
.pcard figure { overflow: hidden; border-radius: var(--r); position: relative; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover img { transform: scale(1.04); }
.pcard .badge { position: absolute; top: .9rem; left: .9rem; background: rgba(34,38,37,.85); color: #F3F0EA; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 2px; }
.pcard .pc-body { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .7rem; }
.pcard h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.pcard .pc-area { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: .15rem; }
.pcard .pc-price { font-family: var(--fd); font-size: 1.15rem; color: var(--teal); white-space: nowrap; }
.pcard .pc-line { font-size: .9rem; color: var(--ink-2); font-style: italic; font-family: var(--fd); margin-top: .2rem; }
/* editorial spans */
.pcard:nth-child(5n+1) { grid-column: span 7; } .pcard:nth-child(5n+1) figure { aspect-ratio: 16/10; }
.pcard:nth-child(5n+2) { grid-column: span 5; } .pcard:nth-child(5n+2) figure { aspect-ratio: 4/5; }
.pcard:nth-child(5n+3) { grid-column: span 5; } .pcard:nth-child(5n+3) figure { aspect-ratio: 4/5; }
.pcard:nth-child(5n+4) { grid-column: span 7; } .pcard:nth-child(5n+4) figure { aspect-ratio: 16/10; }
.pcard:nth-child(5n+0) { grid-column: span 12; } .pcard:nth-child(5n+0) figure { aspect-ratio: 21/9; }
.m-empty { padding: 2.5rem 0; color: var(--ink-2); }
.m-disc { margin-top: 2.6rem; font-size: .72rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { grid-column: auto !important; }
  .pcard figure { aspect-ratio: 4/5 !important; }
  .pcard:nth-child(4n+1) { grid-column: span 2 !important; }
  .pcard:nth-child(4n+1) figure { aspect-ratio: 16/11 !important; }
}

/* guide */
.m-guide { background: var(--charcoal); color: #EDEAE3; padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 4rem); }
.m-g-head { text-align: center; margin-bottom: 3rem; }
.m-g-head p { opacity: .7; margin-top: .6rem; }
.m-steps { list-style: none; max-width: 860px; margin: 0 auto; counter-reset: step; }
.m-steps li { counter-increment: step; border-top: 1px solid rgba(255,255,255,.14); padding: 1.6rem .2rem 1.6rem 3.4rem; position: relative; }
.m-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.7rem; font-family: var(--fd); font-size: 1.1rem; color: var(--brass); }
.m-steps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.m-steps p { opacity: .75; font-size: .95rem; max-width: 64ch; }

/* agents */
.m-agents { max-width: 1080px; margin: 0 auto; padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 4vw, 3rem); }
.m-a-head { text-align: center; margin-bottom: 2.6rem; }
.m-a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.agent { border-top: 2px solid var(--brass); padding-top: 1.3rem; }
.agent .a-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--fd); font-size: 1.5rem; margin-bottom: 1rem; }
.agent h3 { font-size: 1.4rem; }
.agent .a-role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: .2rem 0 .7rem; }
.agent .a-langs { font-size: .76rem; color: var(--ink-2); margin-bottom: .7rem; }
.agent p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 720px) { .m-a-grid { grid-template-columns: 1fr; } }

/* faq */
.m-faq { max-width: 840px; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(4.5rem, 10vh, 8rem); }
.m-faq h2 { text-align: center; margin-bottom: 2rem; }
.m-faq details { border-top: 1px solid var(--line); }
.m-faq details:last-child { border-bottom: 1px solid var(--line); }
.m-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem .2rem; font-weight: 700; font-size: .97rem; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; color: var(--brass); font-size: 1.25rem; }
.m-faq details[open] summary::after { content: "–"; }
.m-faq p { padding: 0 .2rem 1.2rem; color: var(--ink-2); max-width: 64ch; }

/* closer */
.m-closer { position: relative; }
.m-closer img { width: 100%; height: clamp(430px, 62vh, 640px); object-fit: cover; }
.m-closer-inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.5rem; text-align: center; color: #fff; background: rgba(24,28,27,.45); padding: 1.4rem; }
.m-closer h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; }

/* footer */
.m-foot { background: var(--charcoal); color: rgba(240,237,230,.75); text-align: center; padding: 2.8rem 1.4rem 2.2rem; font-size: .84rem; }
.m-foot-brand { font-family: var(--fd); letter-spacing: .3em; color: #fff; font-size: .95rem; margin-bottom: .6rem; }
.m-credit { margin-top: 1rem; font-size: .74rem; opacity: .7; }
.m-credit a { color: var(--brass); }

/* property overlay */
.m-veil { position: fixed; inset: 0; background: rgba(24,28,27,.55); z-index: 90; }
.m-ov { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.m-ovx { position: fixed; z-index: 6; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(243,240,234,.94); cursor: pointer; font-size: 1rem; color: var(--ink); }
.pov-hero { height: min(70vh, 620px); position: relative; }
.pov-hero img { width: 100%; height: 100%; object-fit: cover; }
.pov-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(24,28,27,.55)); }
.pov-hero-text { position: absolute; left: clamp(1.2rem, 5vw, 4rem); bottom: 1.6rem; color: #fff; }
.pov-hero-text .badge { background: var(--brass); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 2px; display: inline-block; margin-bottom: .6rem; }
.pov-hero-text h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.pov-hero-text .pc-area { color: rgba(255,255,255,.85); }
.pov-wrap { max-width: 1080px; margin: 0 auto; padding: 2.4rem clamp(1.2rem, 4vw, 3rem) 4rem; }
.pov-lead { display: grid; grid-template-columns: 1.5fr .9fr; gap: 2.6rem; margin-bottom: 2.4rem; }
.pov-lead > div > p:first-child { font-family: var(--fd); font-size: 1.25rem; margin-bottom: .8rem; }
.pov-lead p { color: var(--ink-2); }
.pov-facts { border-left: 2px solid var(--charcoal); padding-left: 1.4rem; align-self: start; }
.pov-facts div { margin-bottom: .8rem; }
.pov-facts dt { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.pov-facts dd { font-weight: 700; }
.pov-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; border-top: 2px solid var(--charcoal); margin-top: 2rem; padding-top: 1.4rem; }
.pov-price { font-family: var(--fd); font-size: 1.9rem; color: var(--teal); }
.pov-price small { display: block; font-family: var(--ft); font-size: .72rem; color: var(--ink-2); letter-spacing: .1em; }
.pov-actions { margin-left: auto; display: flex; gap: .8rem; flex-wrap: wrap; }
.pov-floor { margin-top: 2.4rem; border: 1px dashed var(--line); border-radius: var(--r); background: #fff; padding: 2.4rem 1.4rem; text-align: center; color: var(--ink-2); font-size: .86rem; }
.pov-floor b { display: block; font-family: var(--fd); font-size: 1.1rem; color: var(--ink); margin-bottom: .3rem; }
@media (max-width: 860px) { .pov-lead { grid-template-columns: 1fr; } .pov-hero { height: 48vh; } }

/* enquiry drawer */
.m-drawer { position: fixed; z-index: 110; inset: 0 0 0 auto; width: min(440px, 100%); background: var(--bg); padding: 1.8rem 1.6rem 2rem; overflow-y: auto; }
.m-drawer h2 { font-size: 1.8rem; margin: .2rem 0 1.2rem; }
.m-drawer .m-step { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); }
.mdf { margin-bottom: 1rem; }
.mdf label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .3rem; }
.mdf input, .mdf select, .mdf textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: .72rem .8rem; font: 500 .95rem var(--ft); color: var(--ink); }
.mdf textarea { min-height: 84px; resize: vertical; }
.m-drawer .hint { font-size: .76rem; color: var(--ink-2); margin: .7rem 0 1rem; }
.m-success { text-align: center; padding: 2.6rem .5rem; }
.m-success .ok { width: 62px; height: 62px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.m-success p { color: var(--ink-2); font-size: .92rem; margin: .8rem 0 1.5rem; }

/* ============================================================
   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 v3b: left-aligned hero trays float, not edge-glued ------ */
.s-hero-inner, .m-hero-inner, .z-hero-inner { margin-left: clamp(1rem, 4vw, 4rem); }

/* -- 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(185,155,96,.45), 0 0 44px rgba(185,155,96,.22); }
  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(205,178,120,.66), 0 0 70px rgba(205,178,120,.66); }
}
@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; }
