/* css/public-lux.css  [publux] 20 Nov 2026 (evening).
   Owner: the site looked "cheaper", "a lot of lines around things", "off alignment", "the background seems pretty plain",
   "doesn't seem wide on my desktop". The per-word tile net (js/wc-tiles.js) is no longer loaded on public pages; this file
   gives the public site its finish instead:
     1. a designed wall behind every page (relief texture, contour lines, warm light), never a flat cream sheet;
     2. no hairline outlines: surfaces are separated by light, depth and fill, not by 1px lines;
     3. copy that sits on a photograph gets a solid panel (the owner's standing rule: no words on photos);
     4. a wider canvas on large desktops, and a cleaner phone hero.
   Tokens come from css/public-design.css (--w3-*). Paint only: nothing here changes how an element is positioned. */

/* ---------- 1. The wall: relief plaster (restored 20 Nov night) ---------- */
/* [plaster-back] owner, after seeing the marble: "I think I may have liked that texture a little bit more". The marble,
   limestone and oak files stay in /public/images/spa/ (swap --pl-wall back to spa/marble-*.webp and re-enable bands() in
   js/public-lux.js to return to the spa version). */
body[data-public="1"] {
  --pl-wall: url("/proposals/private-img/wall-light-1600.webp");
  --pl-wall-sm: url("/proposals/private-img/wall-light-900.webp");
  background-color: var(--w3-cream);
}
body[data-public="1"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(232, 206, 128, .20), transparent 60%),
    radial-gradient(900px 620px at 100% 38%, rgba(62, 92, 68, .10), transparent 62%),
    var(--w3-contours-light) center / 1400px auto repeat,
    linear-gradient(180deg, rgba(251, 250, 246, .55), rgba(244, 241, 234, .78)),
    var(--pl-wall) center / cover no-repeat;
}
@media (max-width: 900px) {
  body[data-public="1"]::before {
    background:
      radial-gradient(600px 420px at 0% 0%, rgba(232, 206, 128, .20), transparent 62%),
      var(--w3-contours-light) center / 900px auto repeat,
      linear-gradient(180deg, rgba(251, 250, 246, .55), rgba(244, 241, 234, .78)),
      var(--pl-wall-sm) center / cover no-repeat;
  }
}
/* pages that paint their own flat sheet on body or main let the wall through */
body[data-public="1"].bg-gray-50,
body[data-public="1"][class*="bg-["],
body.wc-home-v3 { background-color: transparent; }
body.wc-home-v3 { background: transparent; }
html:has(body[data-public="1"]) { background-color: var(--w3-cream); }

/* ---------- 2. Wider canvas on large desktops ---------- */
@media (min-width: 1680px) {
  body[data-public="1"] { --w3-max: 1600px; }
  body[data-public="1"] .max-w-7xl { max-width: 1520px; }
  body[data-public="1"] .max-w-6xl { max-width: 1360px; }
}
@media (min-width: 2200px) {
  body[data-public="1"] { --w3-max: 1840px; }
  body[data-public="1"] .max-w-7xl { max-width: 1760px; }
}

/* ---------- 3. Home: depth instead of lines ---------- */
.wc-home-v3 .w3-plate,
.wc-home-v3 .w3-syschap {
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 28px 70px -42px rgba(20, 28, 22, .38), 0 2px 10px -6px rgba(20, 28, 22, .12);
}
.wc-home-v3 .w3-console { border-color: rgba(255, 255, 255, .28); }
.wc-home-v3 .w3-console .w3-price { border-color: transparent; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 30px -22px rgba(20, 28, 22, .35); }

/* the two doors: the copy sits on its own solid panel, not on the photograph */
.wc-home-v3 .w3-door::after { background: linear-gradient(180deg, transparent 40%, rgba(23, 32, 26, .35) 100%); }
.wc-home-v3 .w3-door__body {
  inset: auto 16px 16px 16px;
  padding: clamp(20px, 2.2vw, 32px);
  border-radius: calc(var(--w3-r-xl) - 12px);
  background: rgba(23, 32, 26, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(232, 206, 128, .28) inset, 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.wc-home-v3 .w3-door__tag,
.wc-home-v3 .w3-door__list li { border-color: transparent; background: rgba(251, 250, 246, .10); }
.wc-home-v3 .w3-door p { color: rgba(251, 250, 246, .9); }

/* film bands: the card is solid enough to read, framed by light, not by a line */
.wc-home-v3 .w3-band__card {
  background: rgba(23, 32, 26, .86);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(232, 206, 128, .3) inset, 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.wc-home-v3 .w3-standard__photo figcaption { background: rgba(251, 250, 246, .94); }

/* ---------- 4. Phone hero ---------- */
@media (max-width: 480px) {
  .wc-home-v3 .w3-hero__panel .w3-proof { padding-right: 0; gap: 6px; }
  .wc-home-v3 .w3-proof__step span { font-size: 11px; line-height: 1.35; }
  .wc-home-v3 .w3-proof__step b, .wc-home-v3 .w3-proof__step strong { font-size: 12px; line-height: 1.25; }
}

/* ---------- 5. Every public page: soften hairlines into depth ---------- */
body[data-public="1"] main .rounded-2xl.border,
body[data-public="1"] main .rounded-3xl.border,
body[data-public="1"] main .rounded-xl.border {
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset, 0 24px 60px -38px rgba(20, 28, 22, .34), 0 2px 8px -6px rgba(20, 28, 22, .12);
}
@media (prefers-reduced-motion: reduce) { body[data-public="1"]::before { background-attachment: scroll; } }

/* ---------- 6. Alignment ---------- */
/* the price console spaced every field after a field, so Bathrooms sat 14px below Bedrooms in the same row */
.wc-home-v3 .w3-console .w3-row > .w3-field + .w3-field { margin-top: 0; }
.wc-home-v3 .w3-console .w3-row { align-items: end; }

/* ---------- 7. Why us: the wall shows through, every block sits on its own surface ---------- */
body[data-public="1"] .wy-vs { background: transparent; }
body[data-public="1"] .wy-cm-head,
body[data-public="1"] .wy-list li {
  background: rgba(251, 250, 246, .94);
  border-radius: var(--w3-r-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 28px 70px -42px rgba(20, 28, 22, .38), 0 2px 10px -6px rgba(20, 28, 22, .12);
}
body[data-public="1"] .wy-cm-head { padding: clamp(28px, 3.4vw, 52px); }
body[data-public="1"] .wy-list { border-top: 0; gap: 18px; }
body[data-public="1"] .wy-list li { border-bottom: 0; padding: clamp(24px, 2.4vw, 34px); align-items: start; }
body[data-public="1"] .wy-vs-row { border-bottom-color: rgba(23, 32, 26, .06); }

/* ---------- 8. Let the wall through everywhere ---------- */
/* html carries the cream base; body and the page's main sheet go clear so the designed wall shows behind every section */
html:has(body[data-public="1"]) { background: var(--w3-cream); }
body[data-public="1"] { background: transparent !important; }
body[data-public="1"] > main,
body[data-public="1"] > #main,
body[data-public="1"] > .page-wrap { background-color: transparent; }

/* ---------- 9. Heading plates (js/public-lux.js gathers a loose heading, its label and its intro) ---------- */
.pl-plate {
  display: block;
  width: fit-content;
  max-width: min(100%, 880px);
  margin-bottom: clamp(24px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 40px) clamp(24px, 3.2vw, 48px);
  border-radius: var(--w3-r-lg);
  background: rgba(251, 250, 246, .95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 28px 70px -42px rgba(20, 28, 22, .38), 0 2px 10px -6px rgba(20, 28, 22, .12);
}
.pl-plate--center, .text-center > .pl-plate, .text-center.pl-plate { margin-inline: auto; }
.pl-plate > :first-child { margin-top: 0; }
.pl-plate > :last-child { margin-bottom: 0; }

/* ---------- 10. Flat white and grey bands become framed sheets on the wall ---------- */
body[data-public="1"] main > section.bg-white:not(.lx-dark):not(.on-dark):not([class*="dark"]),
body[data-public="1"] main > section.bg-gray-50:not(.lx-dark):not(.on-dark):not([class*="dark"]),
body[data-public="1"] > section.bg-white:not(.lx-dark):not(.on-dark):not([class*="dark"]),
body[data-public="1"] > section.bg-gray-50:not(.lx-dark):not(.on-dark):not([class*="dark"]) { background: transparent; }
body[data-public="1"] section.lx:not(.lx-dark) { background: transparent !important; }
body[data-public="1"] section.lx .grid > div { border-color: transparent !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 60px -38px rgba(20, 28, 22, .34), 0 2px 8px -6px rgba(20, 28, 22, .12) !important; }
/* js/public-lux.js marks a section's content box .pl-sheet only when that box holds text that is not already on a card,
   so cards that have their own surface sit straight on the wall and nothing is boxed twice */
.pl-sheet {
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3.6vw, 56px) !important;
  border-radius: var(--w3-r-xl);
  background: rgba(251, 250, 246, .95) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 90px -50px rgba(20, 28, 22, .4), 0 2px 12px -8px rgba(20, 28, 22, .14);
}
@media (max-width: 640px) { .pl-sheet { box-sizing: border-box; width: auto !important; max-width: calc(100% - 24px) !important; margin-inline: 12px !important; border-radius: var(--w3-r-lg); padding: 28px 18px !important; } }
/* a caption laid over a photograph gets a solid dark panel of its own */
.pl-photo-panel {
  background: rgba(23, 32, 26, .9) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--w3-r-md);
  padding: clamp(16px, 2vw, 26px) clamp(18px, 2.4vw, 30px) !important;
  box-shadow: 0 1px 0 rgba(232, 206, 128, .25) inset, 0 24px 50px -24px rgba(0, 0, 0, .6);
  max-width: min(640px, calc(100% - 32px));
}
.pl-photo-panel, .pl-photo-panel * { color: rgba(251, 250, 246, .96) !important; text-shadow: none !important; }
/* the reviews policy band carried its own white fill and a rule under it */
body[data-public="1"] section[style*="--wcs-raised"] { background: transparent !important; border-bottom: 0 !important; }

/* ---------- 11. Service pages (includes/svl-style.php): framed sheets on the wall instead of flat paper bands ---------- */
body[data-public="1"] :is(.svl-split, .svl-incl, .svl-steps, .svl-price, .svl-apart, .svl-areas, .svl-faq, .svl-rel, .svl-local, .svl-ind, .svl-spokes, .svl-pr) { background: transparent; }
body[data-public="1"] :is(.svl-split, .svl-incl, .svl-steps, .svl-apart, .svl-areas, .svl-faq, .svl-rel, .svl-local, .svl-ind, .svl-spokes, .svl-pr) > .wrap,
body[data-public="1"] .svl-price > .wrap {
  padding: clamp(32px, 4.4vw, 72px) clamp(20px, 4vw, 64px);
  border-radius: var(--w3-r-xl);
  background: rgba(251, 250, 246, .95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 90px -50px rgba(20, 28, 22, .4), 0 2px 12px -8px rgba(20, 28, 22, .14);
}
body[data-public="1"] :is(.svl-split, .svl-incl, .svl-steps, .svl-apart, .svl-areas, .svl-faq, .svl-rel, .svl-local, .svl-ind, .svl-spokes, .svl-pr) { padding-block: clamp(28px, 3.4vw, 56px); }
body[data-public="1"] .svl-card { border-color: transparent; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 60px -38px rgba(20, 28, 22, .34), 0 2px 8px -6px rgba(20, 28, 22, .12); }
@media (max-width: 640px) {
  body[data-public="1"] :is(.svl-split, .svl-incl, .svl-steps, .svl-apart, .svl-areas, .svl-faq, .svl-rel, .svl-local, .svl-ind, .svl-spokes, .svl-pr, .svl-price) > .wrap { box-sizing: border-box; width: auto; max-width: calc(100% - 24px); margin-inline: 12px; border-radius: var(--w3-r-lg); }
}

/* ---------- 12. Reviews ---------- */
body[data-public="1"] .rv2 { background: transparent; }

/* ---------- 13. Home hero facts rail: a solid dark bar, not numbers on the photograph ---------- */
.wc-home-v3 .w3-rail {
  border-top: 0;
  border-radius: var(--w3-r-lg);
  background: rgba(23, 32, 26, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: clamp(14px, 1.6vw, 22px) clamp(18px, 2.2vw, 32px);
  box-shadow: 0 1px 0 rgba(232, 206, 128, .25) inset, 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.wc-home-v3 .w3-rail > div { padding: 6px 18px 6px 0; }
.wc-home-v3 .w3-rail > div + div { padding-left: 18px; box-shadow: -1px 0 0 rgba(232, 206, 128, .16); }
@media (max-width: 760px) { .wc-home-v3 .w3-rail > div + div { box-shadow: none; padding-left: 0; } .wc-home-v3 .w3-rail > div { padding: 8px 0; } }
.wc-home-v3 .w3-rail span { color: rgba(251, 250, 246, .84); }
/* section hairlines on legacy pages */
body[data-public="1"] main > section[class*="border-t"], body[data-public="1"] main > section[class*="border-b"] { border-color: transparent; }

/* the price console no longer stretches to the story panel height, so it never ends in an empty band */
@media (min-width: 1101px) { .wc-home-v3 .w3-console { align-self: start; } }

/* ---------- 14. Carpet hero: the headline column gets the same solid dark panel as the other heroes ---------- */
body[data-public="1"] .cp-hero .cp-grid > div:first-child {
  align-self: start;
  padding: clamp(26px, 3.2vw, 48px);
  border-radius: var(--w3-r-lg);
  background: rgba(20, 26, 21, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(232, 206, 128, .25) inset, 0 40px 80px -40px rgba(0, 0, 0, .7);
}
body[data-public="1"] .cp-hero .cp-crumb {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--w3-r-pill);
  background: rgba(20, 26, 21, .86);
}

/* ---------- 15. Cards inside a framed sheet: depth, not outlines ---------- */
body[data-public="1"] .pl-sheet :is(.cr-role, [class*="-card"], [class*="card-"], article[class]),
body[data-public="1"] .pl-sheet .grid > div[class*="border"] {
  border-color: transparent !important;
  background-color: var(--w3-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 22px 54px -36px rgba(20, 28, 22, .36), 0 2px 8px -6px rgba(20, 28, 22, .12);
}

/* ---------- 16. Bugs found in the owner's own Chrome, 20 Nov evening ---------- */
/* (a) clicking the price form scrolled the whole home hero 520px sideways: overflow:hidden can still be scrolled by focus, and
   the light-sweep layer inside is far wider than the screen. clip cannot scroll. */
.wc-home-v3 .w3-scene, .wc-home-v3 .w3-hero { overflow: clip; }
/* (b) at the top of the home page the menu text is light (it sits on the photo), and that rule also reached the links inside the
   white Services and More panels, so they opened as an empty white box */
body.wc-home-v3 #publicNav:not(.scrolled) .wcm-wrap .wcm :is(.wcm-col, .wcm-foot) a:not([class*="bg-"]) { color: var(--w3-ink) !important; }
body.wc-home-v3 #publicNav:not(.scrolled) .wcm-wrap .wcm :is(.wcm-col, .wcm-foot) a:not([class*="bg-"]):hover { color: var(--w3-sage) !important; }
body.wc-home-v3 #publicNav:not(.scrolled) .absolute.top-full :is(.bg-white, [class*="bg-white"]) a:not([class*="bg-"]) { color: var(--w3-ink) !important; }
/* (c) the glass menu bar stays visible over the hero photo too: smoked glass at the top, light glass once you scroll */
body.wc-home-v3 #publicNav:not(.scrolled) {
  background: rgba(23, 32, 26, .42) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  box-shadow: 0 1px 0 rgba(232, 206, 128, .18), 0 18px 40px -30px rgba(0, 0, 0, .6);
}

/* ---------- 17. Spa bands: honed limestone and whitewashed oak, alternating down the page ---------- */
/* edges fade into the marble so a band never ends on a hard line */
.pl-band-stone, .pl-band-oak {
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
}
.pl-band-stone {
  background-image:
    linear-gradient(180deg, rgba(247, 245, 240, 1) 0, rgba(247, 245, 240, 0) 120px, rgba(247, 245, 240, 0) calc(100% - 120px), rgba(247, 245, 240, 1) 100%),
    var(--pl-stone) !important;
}
.pl-band-oak {
  background-image:
    linear-gradient(180deg, rgba(247, 245, 240, 1) 0, rgba(247, 245, 240, 0) 120px, rgba(247, 245, 240, 0) calc(100% - 120px), rgba(247, 245, 240, 1) 100%),
    var(--pl-oak) !important;
}
@media (max-width: 900px) {
  .pl-band-stone { background-image: linear-gradient(180deg, rgba(247, 245, 240, 1) 0, rgba(247, 245, 240, 0) 70px, rgba(247, 245, 240, 0) calc(100% - 70px), rgba(247, 245, 240, 1) 100%), url("/public/images/spa/stone-900.webp?v=20261120b") !important; }
  .pl-band-oak { background-image: linear-gradient(180deg, rgba(247, 245, 240, 1) 0, rgba(247, 245, 240, 0) 70px, rgba(247, 245, 240, 0) calc(100% - 70px), rgba(247, 245, 240, 1) 100%), url("/public/images/spa/oak-900.webp?v=20261120b") !important; }
}

/* home plan cards: depth, not outlines */
.wc-home-v3 .w3-plan { border-color: transparent !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 26px 60px -38px rgba(20, 28, 22, .38), 0 2px 10px -6px rgba(20, 28, 22, .12); }
.wc-home-v3 .w3-pricing, .wc-home-v3 .w3-hero__panel { border-color: transparent !important; }
.wc-home-v3 .w3-pricing { box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 90px -50px rgba(20, 28, 22, .4), 0 2px 12px -8px rgba(20, 28, 22, .14); }
