/* ---------------------------------------------------------------------------
 * Version:        0.3.5.1
 * Last edited by: Manara Studio
 * Date:           2026-09-14
 * Status:         Testing
 * Purpose:        The WaxPoint V2 design system and every shared component (spec sections 3
 *                 and 4): tokens, base, type, bands, controls, frames, rows, FAQ, the site
 *                 header, the full-screen menu dialog, the branch dialog, the branch record,
 *                 the FAQ section, footer, booking bar, breadcrumb and the one reveal.
 *                 Loaded on every V2 view before the page stylesheet (inc/assets.php).
 * Changelog:
 *   0.13.1 2026-10-12  Manara Studio  Owner: "the site feels unbearably slow". Measured: cached pages answer in
 *                              ~0.07 s, but every click spent ~2 s in motion (0.8 s curtain, then a 1.1 s title rise
 *                              starting at .12 s and the other hero lines from .4 s to 1.3 s). Block "0.13.1" at the end
 *                              keeps every effect and cuts it to ~0.6 s in total: curtain .45 s, entrances .5-.6 s.
 *   0.11.0 2026-10-11  Manara Studio  Owner's mother ("the green is bland"): forest lightened #06301B -> #0E4A2E
 *                              (cream on it 9.4:1; meta raised to 72%), dark bands get a soft emerald glow, and a
 *                              wave is drawn wherever a band changes colour. Every button and boxed control now has
 *                              the same 8px corner (--r-ctl); the WhatsApp pill's 999px is gone. Block "0.11.0" at the end.
 *   0.10.0 2026-10-10  Manara Studio  Owner: prices return per branch, so the approved mockup's .price / .unit styles
 *                              and the --price token come back (DESIGN.md Price Colour Rule). Owner-chosen overdrive
 *                              "Forest curtain" replaces the root page fade: a forest curtain with the leaf rises over
 *                              the old page and lifts off the new one (downwards on Back).
 *   0.7.1  2026-09-24  Manara Studio  Owner: the menu button morphs (bars meet, then turn into an X) instead of
 *                              cutting to the X; the menu wipes up on close. Keyframes wxp-bar-*,
 *                              wxp-menu-close, wxp-fade-out; .is-closing set by wxp.js. Motion only
 *                              under prefers-reduced-motion: no-preference.
 *   0.5.0  2026-09-23  Manara Studio  Photo lightbox and .lb-trigger tiles (block appended at the end).
 *   0.3.5.1  2026-09-17  Manara Studio  .footer-base__legal stack (copyright + agency credit).
 *   0.3.5  2026-09-17  Manara Studio  Scrim tokens; footer links min-width 44px; FAQ aside link style.
 *   0.3.3  2026-09-17  Manara Studio  --ground-rgb / --cream-rgb tokens for rgba() scrims and overlays.
 *   0.1.0  2026-09-14  Manara Studio  First build, started from Mockups/css/waxpoint.css. Removed the
 *                              mockup's .price*, .unit, .badge-halal, .nav, .menu-panel,
 *                              .menu-btn and .has-book-bar rules (no prices in V2; new chrome).
 * Maintainer notes:
 *   - NO prices anywhere, and no visible text in CSS `content` (TranslatePress cannot translate
 *     it). The breadcrumb "/" is decorative and carries an empty alt ("/" / "").
 *   - Page stylesheets (home.css, services.css, locations.css, pages.css) style only their own
 *     prefixed classes. A component used by more than one page belongs here.
 *   - Type ladder 12/14/16/20/28/40/64/104, stepped at 600px and 1024px via --h1/--h2/--h3.
 *     No clamp(), nothing between 20 and 28. Off-ladder only: the WhatsApp pill (15/13px) and
 *     the wordmark (15px), as DESIGN.md allows.
 *   - 0px corners except .btn-wa (999px). 1px hairlines. No box-shadow, no gradients.
 *     Lime is punctuation on dark only (aria-current, focus ring, selection); never on cream.
 *   - Context tokens (--rule, --meta, --focus) flip inside .band--cream. A dark card placed on
 *     cream must set them back (see .svc-bundle in services.css).
 *   - STICKY: .record and .faq-section__aside are position:sticky at 1024px+. Never set
 *     overflow on body, main, .band, .wrap or any grid that contains them. html.is-locked
 *     (menu open) is the only overflow rule on an ancestor, and only while the menu covers
 *     the page.
 *   - [hidden] is forced to display:none so JS can toggle the branch dialog modes even on
 *     elements that set their own display.
 * --------------------------------------------------------------------------- */

/* ---------- tokens ---------- */
:root {
  --emerald: #009843;
  --lime: #ABCD05;
  --ground: #0E4A2E; /* 0.11.0: was #06301B (owner's mother: lighter, less bland) */
  --ground-rgb: 14, 74, 46; /* 0.3.3: for rgba() scrims and overlays */
  --cream-rgb: 247, 244, 236;
  --scrim-hero: rgba(var(--ground-rgb), .64); /* 0.3.5: photo scrims and meta-on-photo as tokens */
  --scrim-card: rgba(var(--ground-rgb), .56);
  --scrim-deep: rgba(var(--ground-rgb), .92);
  --meta-on-dark: rgba(var(--cream-rgb), .64);
  --ink: #052616;
  --cream: #F7F4EC;
  --muted: #5E8A6C;
  --line: rgba(247, 244, 236, .14);
  --line-cream: #D9D4C6;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ladder 12 / 14 / 16 / 20 / 28 / 40 / 64 / 104, stepped per breakpoint, never fluid */
  --h1: 40px;
  --h2: 28px;
  --h3: 20px;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: 20px;
  --wrap: 1320px;
  --section-pad: var(--s-8);
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* context tokens, flipped by .band--cream */
  --rule: var(--line);
  --meta: rgba(247, 244, 236, .72); /* 0.11.0: .64 -> .72 for AA on the lighter forest and its glow */
  --focus: var(--lime);
  --price: var(--lime); /* 0.10.0: prices are lime on dark (DESIGN.md Price Colour Rule) */
  --price-lg: 28px;
  --r-ctl: 8px; /* 0.11.0: the one corner for every button and boxed control */
  --wave-h: 32px; /* 0.11.0: height of the wave between bands of different colour */
}
@media (min-width: 600px) {
  :root { --wave-h: 44px; }
  :root { --gutter: 40px; --h1: 64px; --h2: 40px; --section-pad: var(--s-9); }
}
@media (min-width: 1024px) {
  :root { --wave-h: 60px; }
  :root { --gutter: 64px; --h1: 104px; --h2: 64px; --h3: 28px; --section-pad: var(--s-10); --header-h: 72px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--muted) var(--ground);
  background: var(--ground);
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font: 400 16px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* room for the fixed .book-bar below 1024px */
@media (max-width: 1023px) {
  body.wxp { padding-bottom: 76px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
[hidden] { display: none !important; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea, select { caret-color: var(--focus); }
summary { cursor: pointer; }

/* browser surfaces */
::selection { background: var(--lime); color: var(--ground); }
.band--cream ::selection { background: var(--ground); color: var(--cream); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--muted); border: 0; border-radius: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--cream);
  color: var(--ground);
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 8px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { background: var(--ground); color: var(--cream); padding-block: var(--section-pad); }
.band--cream {
  background: var(--cream);
  color: var(--ink);
  --rule: var(--line-cream);
  --meta: rgba(5, 38, 22, .72);
  --focus: var(--emerald);
  --price: var(--emerald);
}
.band--flush { padding-block: 0; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-size: var(--h1);
  font-weight: 360;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: lowercase;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.head {
  font-family: var(--f-sans);
  font-size: var(--h2);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.head--300 { font-weight: 300; }
.title { font-size: var(--h3); font-weight: 500; line-height: 1.2; letter-spacing: -.005em; }
.sub { font-size: 20px; line-height: 1.4; max-width: 38ch; text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.55; max-width: 62ch; text-wrap: pretty; }
.body + .body,
.body > p + p { margin-top: 1em; }
.meta { color: var(--meta); font-size: 14px; line-height: 1.5; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; }
.ordinal { font-size: 14px; font-weight: 400; opacity: .55; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
/* 55% ink on cream measures about 3.6:1; raised on cream so the coordinate stays readable (AA) */
.band--cream .ordinal { opacity: .72; }
.spine { display: block; font-size: 12px; font-weight: 500; line-height: 2; letter-spacing: .12em; text-transform: uppercase; text-wrap: balance; }
.spine span { display: inline-block; white-space: nowrap; }
.spine span:not(:last-child)::after { content: "."; content: "." / ""; margin: 0 10px; opacity: .55; }
.coord { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sec-head { display: grid; gap: var(--s-4); }
.sec-head .sub { color: var(--meta); }

/* placeholders (editor-only, wxp_ph()): visible, never mistaken for a fact */
.ph {
  font-family: var(--f-sans);
  font-size: max(12px, .82em);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  border: 1px dashed currentColor;
  padding: 0 .4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  opacity: .85;
}
.ph--text { font-size: 1em; font-weight: inherit; letter-spacing: inherit; padding: 0 .25em; }

/* ---------- icons ---------- */
.i { display: inline-block; flex: none; width: 16px; height: 16px; vertical-align: middle; }

/* ---------- controls ---------- */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px 0 20px;
  border-radius: var(--r-ctl); /* 0.11.0: was 999px; one corner for every button */
  background: var(--cream); color: var(--ground); border: 1px solid var(--cream);
  font: 500 15px/1 var(--f-sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn-wa .i { width: 20px; height: 20px; }
.btn-wa:hover,
.btn-wa:focus-visible { background: transparent; color: var(--cream); }
.band--cream .btn-wa { background: var(--ground); color: var(--cream); border-color: var(--ground); }
.band--cream .btn-wa:hover,
.band--cream .btn-wa:focus-visible { background: transparent; color: var(--ground); }
.btn-wa--compact { min-height: 44px; padding: 0 14px 0 12px; font-size: 13px; gap: 8px; }
.btn-wa--compact .i { width: 18px; height: 18px; }

.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px; margin: 0;
  border: 1px solid currentColor; border-radius: var(--r-ctl); background: transparent; color: inherit;
  -webkit-appearance: none; appearance: none;
  font: 500 12px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-line .i { transition: transform .35s var(--ease); }
.btn-line:hover,
.btn-line:focus-visible { background: var(--cream); color: var(--ground); border-color: var(--cream); }
.band--cream .btn-line:hover,
.band--cream .btn-line:focus-visible { background: var(--ground); color: var(--cream); border-color: var(--ground); }
/* only a trailing arrow nudges; a leading download icon stays put */
.btn-line:hover .i:last-child,
.btn-line:focus-visible .i:last-child { transform: translateX(3px); }
.btn-line--compact { min-height: 44px; padding: 0 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0; border: 0; background: none; color: inherit;
  font: 500 12px/1.2 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
}
.link-arrow > span:first-child { text-decoration-thickness: 1px; text-underline-offset: .3em; }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover > span:first-child,
.link-arrow:focus-visible > span:first-child { text-decoration-line: underline; }
.link-arrow:hover .i,
.link-arrow:focus-visible .i { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border: 1px solid var(--rule); border-radius: 0;
  font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---------- images: locked ratios ---------- */
.frame { position: relative; display: block; overflow: hidden; background: rgba(247, 244, 236, .06); }
.band--cream .frame { background: rgba(5, 38, 22, .06); }
.frame > img,
.frame > picture > img { width: 100%; height: 100%; object-fit: cover; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-1x1 { aspect-ratio: 1 / 1; }
.r-16x9 { aspect-ratio: 16 / 9; }
.caption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-top: 10px;
  font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- rows: ordinal | main | aside label (V2: no price column) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 8px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.row > .ordinal { grid-column: 1; grid-row: 1; }
.row__main { grid-column: 2; grid-row: 1; min-width: 0; }
.row__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.row__note { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--meta); max-width: 56ch; }
.row__aside {
  grid-column: 3; grid-row: 1;
  text-align: right;
  color: var(--meta);
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
}
@media (min-width: 768px) {
  .row { grid-template-columns: 56px minmax(0, 1fr) 160px; column-gap: 24px; padding: 22px 0; }
}

/* ---------- FAQ (native details) ---------- */
.faq { min-width: 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; align-items: center;
  min-height: 64px; padding: 16px 0;
  list-style: none;
  font-size: 16px; font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq__q { text-decoration-thickness: 1px; text-underline-offset: .24em; }
.faq summary:hover .faq__q,
.faq summary:focus-visible .faq__q { text-decoration-line: underline; }
.pm { position: relative; width: 16px; height: 16px; justify-self: end; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 36px 24px 0; max-width: 62ch; }
@media (min-width: 1024px) { .faq summary { font-size: 20px; min-height: 76px; } }

/* ---------- site header (parts/header.php) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ground); color: var(--cream);
  border-bottom: 1px solid var(--line);
}
/* the WordPress admin bar is fixed above 600px: keep the sticky header below it */
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

/* shared by the header row and the menu dialog's top row */
.site-header__row,
.site-menu__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  height: var(--header-h);
}
.site-header__left { display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.site-header__center { display: flex; justify-content: center; min-width: 0; }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }

.brand {
  display: inline-flex; align-items: center; gap: .32em;
  min-height: 44px;
  color: inherit;
  font: 400 15px/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
/* tracking adds space after the last letter: pull it back so the wordmark centres optically */
.brand > span:last-child { margin-right: -.2em; }
.brand .mark { display: block; flex: none; height: 22px; width: calc(22px * 2460 / 3720); }
.brand--footer { align-self: flex-start; }
@media (min-width: 1024px) {
  .brand .mark { height: 26px; width: calc(26px * 2460 / 3720); }
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: 0; background: transparent; color: inherit;
  -webkit-appearance: none; appearance: none;
  font: 500 12px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.menu-toggle .i { width: 20px; height: 20px; }
.menu-toggle:hover,
.menu-toggle:focus-visible { border-color: var(--cream); }
@media (max-width: 599px) {
  .menu-toggle__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}
@media (min-width: 600px) {
  .menu-toggle { padding: 0 16px 0 12px; }
}

/* reserved for the TranslatePress switcher on tablet/phone; empty on desktop */
.lang-slot { display: flex; align-items: center; min-width: 44px; min-height: 44px; }

/* "Book Online": desktop only (the booking bar carries booking below 1024px) */
.btn-line.header-cta { display: none; }
@media (min-width: 1024px) {
  .lang-slot:empty { display: none; }
  .btn-line.header-cta { display: inline-flex; }
}

/* ---------- full-screen menu dialog (parts/menu.php) ---------- */
dialog.site-menu:not([open]),
dialog.branch-dialog:not([open]) { display: none; }

.site-menu {
  position: fixed; inset: 0; z-index: 100;
  width: 100%; max-width: none;
  height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0 0 var(--s-8); border: 0; border-radius: 0;
  background: var(--ground); color: var(--cream);
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
}
.site-menu::backdrop { background: var(--ground); }
.site-menu__top {
  position: sticky; top: 0; z-index: 1;
  background: var(--ground);
}
.site-menu__top > .menu-toggle { justify-self: start; }

/* phone + tablet: title, socials, services, then pages | booking side by side */
.site-menu__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "title title"
    "social social"
    "services services"
    "pages booking";
  column-gap: var(--s-5);
  padding-block: var(--s-5) var(--s-7);
}
.site-menu__aside { display: contents; }
.site-menu__title { grid-area: title; }
.site-menu__social { grid-area: social; }
.site-menu__services { grid-area: services; min-width: 0; margin-top: var(--s-6); }
.site-menu__nav { grid-area: pages; min-width: 0; margin-top: var(--s-6); }
.site-menu__booking { grid-area: booking; min-width: 0; margin-top: var(--s-6); }

.site-menu__title {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 360;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: lowercase;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
}

.site-menu__social { display: flex; flex-wrap: wrap; gap: 0 24px; margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.site-menu__social a,
.site-menu__pages a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  font: 500 12px/1.3 var(--f-sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
}
.site-menu__social a > span:first-child,
.site-menu__pages a > span:not(.site-menu__slash) { text-decoration-thickness: 1px; text-underline-offset: .3em; }
.site-menu__social a:hover > span:first-child,
.site-menu__social a:focus-visible > span:first-child,
.site-menu__pages a:hover > span:not(.site-menu__slash),
.site-menu__pages a:focus-visible > span:not(.site-menu__slash) { text-decoration-line: underline; }
.site-menu__pages { margin: 0; padding: 0; list-style: none; }
.site-menu__slash { opacity: .55; }
.site-menu__pages a[aria-current="page"] { color: var(--lime); }
.site-menu__booking .label { color: var(--meta); padding-block: 14px 2px; }

.menu-rows { margin: 0; padding: 0; list-style: none; }
.menu-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  column-gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.menu-row > .ordinal { grid-column: 1; grid-row: 1; }
.menu-row__name {
  grid-column: 2; grid-row: 1; min-width: 0;
  font-size: 20px; font-weight: 300; line-height: 1.2; letter-spacing: -.005em; text-transform: uppercase;
  text-decoration-thickness: 1px; text-underline-offset: .2em;
  overflow-wrap: break-word;
}
.menu-row__meta { display: none; color: var(--meta); white-space: nowrap; }
.menu-row > .i { grid-column: 3; grid-row: 1; justify-self: end; transition: transform .35s var(--ease); }
.menu-row:hover .menu-row__name,
.menu-row:focus-visible .menu-row__name { text-decoration-line: underline; }
.menu-row:hover > .i,
.menu-row:focus-visible > .i { transform: translate(3px, -3px); }
.menu-row[aria-current="page"] .menu-row__name,
.menu-row[aria-current="page"] > .i { color: var(--lime); }
.menu-row:focus-visible { outline-offset: -2px; }

@media (min-width: 600px) {
  .site-menu__body { column-gap: var(--s-6); padding-block: var(--s-6) var(--s-7); }
  .site-menu__title { font-size: 64px; }
  .site-menu__services { margin-top: var(--s-7); }
  .site-menu__nav,
  .site-menu__booking { margin-top: var(--s-7); }
  .menu-row { grid-template-columns: 64px minmax(0, 1fr) auto 20px; column-gap: 16px; }
  .menu-row__meta { display: block; grid-column: 3; grid-row: 1; }
  .menu-row > .i { grid-column: 4; }
}

/* desktop: aside 5 | services 7 */
@media (min-width: 1024px) {
  .site-menu__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "aside services";
    column-gap: var(--s-8);
    align-items: start;
    padding-block: var(--s-7);
  }
  .site-menu__aside { grid-area: aside; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
  .site-menu__title { font-size: 104px; }
  .site-menu__social { margin-top: var(--s-4); }
  .site-menu__services { margin-top: 0; }
  .site-menu__nav { margin-top: var(--s-7); }
  .site-menu__booking { margin-top: var(--s-6); }
  .menu-row__name { font-size: 28px; }
}

/* ---------- branch dialog (parts/branch-dialog.php) ---------- */
.branch-dialog {
  position: fixed; inset: 0; z-index: 100;
  width: min(720px, calc(100% - 40px)); max-width: none;
  height: fit-content; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  margin: auto; padding: 0;
  border: 1px solid var(--line); border-radius: 0;
  background: var(--ground); color: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.branch-dialog::backdrop { background: rgba(5, 38, 22, .78); }
.branch-dialog__inner { position: relative; padding: var(--s-6); }
.branch-dialog__close {
  position: absolute; top: 12px; right: 12px;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: 0; background: transparent; color: inherit;
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.branch-dialog__close .i { width: 20px; height: 20px; }
.branch-dialog__close:hover,
.branch-dialog__close:focus-visible { border-color: var(--cream); }
.branch-dialog__head { padding-right: 48px; }
.branch-dialog__head .head { font-size: 28px; }
.branch-dialog__head .meta { margin-top: var(--s-3); max-width: 52ch; }
.branch-dialog__empty { margin-top: var(--s-5); }

.branch-options { margin: var(--s-6) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.branch-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.branch-option__main {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: baseline;
  min-width: 0;
}
.branch-option__main > .ordinal { grid-column: 1; grid-row: 1; }
.branch-option__main > :not(.ordinal) { grid-column: 2; min-width: 0; }
.branch-option__main .title { font-size: 20px; }
.branch-option__status { margin-top: var(--s-2); }
.branch-option__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  min-width: 0;
  padding-left: 52px;
}
.branch-option__actions .btn-line { max-width: 100%; }

/* phone: a sheet at the bottom of the screen, actions stacked under the branch */
@media (max-width: 599px) {
  .branch-dialog {
    width: 100%;
    max-height: 92vh; max-height: 92dvh;
    margin: auto 0 0;
    border-width: 1px 0 0;
  }
  .branch-dialog__inner { padding: var(--s-5) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); }
  .branch-dialog__close { top: 8px; right: 8px; }
  .branch-option__actions { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 768px) {
  .branch-option { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-5); align-items: start; }
  .branch-option__main { grid-template-columns: 56px minmax(0, 1fr); }
  .branch-option__actions { justify-content: flex-end; padding-left: 0; text-align: right; }
}
@media (min-width: 1024px) {
  .branch-dialog__inner { padding: var(--s-7); }
  .branch-dialog__close { top: 16px; right: 16px; }
  .branch-dialog__head .head { font-size: 40px; }
}

/* ---------- branch record (parts/branch-record.php) ---------- */
/* NO ancestor of .record may set overflow (section, .wrap, .branch__grid): sticky dies silently */
.branch__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.branch__grid > * { min-width: 0; }

.record .coord { margin-top: var(--s-4); }
.record > .meta { margin-top: var(--s-4); }
.record__facts {
  display: grid; gap: var(--s-1);
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}
.record__facts .spine { margin-top: var(--s-3); }
.record .cta-row { flex-direction: column; align-items: flex-start; gap: var(--s-2); margin-top: var(--s-6); }

.branch__main > * + * { margin-top: var(--s-6); }
.branch__main > * + .gallery { margin-top: var(--s-7); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5) var(--s-4); margin: 0; padding: 0; list-style: none; }
.gallery > li { min-width: 0; }
.gallery .caption { color: var(--meta); }

.branch__next { padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.branch__next .link-arrow { margin-top: var(--s-3); }

@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .branch__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--s-8); align-items: start; }
  .record { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  /* a four-column aside cannot hold 64px Indonesian words: the record head steps down to 40px */
  .record .head { font-size: 40px; }
  .branch__next { align-self: end; }
}

/* ---------- FAQ section (parts/faq.php) ---------- */
/* sticky aside at 1024px+: no ancestor may set overflow */
.faq-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.faq-section__grid > * { min-width: 0; }
.faq-section__aside .meta { margin-top: var(--s-4); max-width: 34ch; }
.faq-section__aside-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; } /* 0.3.5 */
.faq-section__aside-link:hover,
.faq-section__aside-link:focus-visible { text-decoration-thickness: 2px; }
@media (min-width: 1024px) {
  .faq-section__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--s-8); align-items: start; }
  .faq-section__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .faq-section__aside .head { font-size: 40px; }
}

/* ---------- breadcrumb (nav.breadcrumb > ol > li) ---------- */
.breadcrumb { color: var(--meta); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.breadcrumb li {
  display: inline-flex; align-items: center; min-width: 0;
  font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase;
}
.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin: 0 10px; opacity: .55; }
.breadcrumb a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: inherit; text-decoration: none; text-underline-offset: .3em;
  transition: color .3s var(--ease);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--cream); text-decoration-line: underline; }
.breadcrumb [aria-current="page"] { color: var(--cream); overflow-wrap: anywhere; }
.band--cream .breadcrumb a:hover,
.band--cream .breadcrumb a:focus-visible,
.band--cream .breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- footer (parts/footer.php) ---------- */
.site-footer {
  background: var(--ground); color: var(--cream);
  border-top: 1px solid var(--line);
  padding-block: var(--s-8) var(--s-6);
  --rule: var(--line);
  --meta: rgba(247, 244, 236, .72);
  --focus: var(--lime);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-line { margin-top: var(--s-5); font-size: var(--h2); }
.footer-tagline { margin-top: var(--s-4); max-width: 40ch; }
.footer-reviews { margin-top: var(--s-4); }
.footer-brand .link-arrow { margin-top: var(--s-1); }

.footer-col > .label,
.footer-col nav > .label { color: var(--meta); padding-bottom: var(--s-4); }
.footer-branch { display: grid; justify-items: start; gap: var(--s-1); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.footer-branch .title { font-size: 20px; }
/* 44px tap target without changing the line box */
.footer-branch .title a { display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration: none; }
.footer-branch .title a:hover,
.footer-branch .title a:focus-visible { text-decoration: underline; }
.footer-branch .chip { margin-top: var(--s-2); }

.footer-nav { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; /* 0.3.5: width too */
  font-size: 14px; line-height: 1.3; text-decoration: none;
}
.footer-nav a:hover,
.footer-nav a:focus-visible { text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--lime); }
.footer-col .footer-follow { margin-top: var(--s-6); }

.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.footer-base__legal { display: grid; gap: 2px; margin: 0; } /* 0.3.5.1: copyright over the Manara Studio credit */

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .site-footer { padding-block: var(--s-9) var(--s-6); }
  .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); column-gap: var(--s-8); }
  .footer-brand { grid-column: auto; }
}

/* ---------- booking bar (every V2 page, below 1024px) ---------- */
.book-bar {
  position: fixed; inset: auto 0 0 0; z-index: 55;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--ground); color: var(--cream);
  border-top: 1px solid var(--line);
  --focus: var(--lime);
}
.book-bar .label { min-width: 0; }
.book-bar .btn-wa { min-height: 48px; flex: none; }
@media (min-width: 1024px) { .book-bar { display: none; } }

/* TranslatePress floating switcher: lift a bottom-anchored floater above the booking bar.
   !important because the plugin's own stylesheet pins bottom:0 with id-level selectors. */
@media (max-width: 1023px) {
  /* TranslatePress 3.x floating switcher (nav.trp-floating-switcher, inline --bottom): lift it above .book-bar. */
  body.wxp .trp-floating-switcher { --bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ---------- motion: sticky + one reveal + the menu open, visible by default ---------- */
@keyframes wxp-menu-open {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}
@keyframes wxp-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes wxp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes wxp-sheet {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Menu button morph (0.7.1). The menu's own toggle draws the header's two bars (icon 'menu-morph')
   and resolves them into an X: the bars meet in the middle, then turn. Closing unwinds it while the
   menu wipes up, so the header's bars are what is left. The X is the static state: reduced motion
   and no-JS show it directly. The rotated 16-unit bar spans 4.3-15.7, the old close icon's box. */
.i--morph .i__bar { transform-box: fill-box; transform-origin: center; }
.site-menu .i--morph .i__bar--a { transform: translateY(3px) rotate(45deg); }
.site-menu .i--morph .i__bar--b { transform: translateY(-3px) rotate(-45deg); }
@keyframes wxp-bar-a-in {
  0% { transform: none; animation-timing-function: cubic-bezier(.5, 0, .2, 1); }
  38% { transform: translateY(3px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  100% { transform: translateY(3px) rotate(45deg); }
}
@keyframes wxp-bar-b-in {
  0% { transform: none; animation-timing-function: cubic-bezier(.5, 0, .2, 1); }
  38% { transform: translateY(-3px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  100% { transform: translateY(-3px) rotate(-45deg); }
}
@keyframes wxp-bar-a-out {
  0% { transform: translateY(3px) rotate(45deg); animation-timing-function: cubic-bezier(.5, 0, .2, 1); }
  55% { transform: translateY(3px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  100% { transform: none; }
}
@keyframes wxp-bar-b-out {
  0% { transform: translateY(-3px) rotate(-45deg); animation-timing-function: cubic-bezier(.5, 0, .2, 1); }
  55% { transform: translateY(-3px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  100% { transform: none; }
}
@keyframes wxp-menu-close {
  from { clip-path: inset(0); }
  to { clip-path: inset(0 0 100% 0); }
}
@keyframes wxp-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].pre { opacity: 0; transform: translateY(18px); }

  .site-menu[open] { animation: wxp-menu-open .5s var(--ease) both; }
  .site-menu[open]::backdrop { animation: wxp-fade .3s var(--ease) both; }
  .site-menu[open] .site-menu__title,
  .site-menu[open] .site-menu__social,
  .site-menu[open] .site-menu__nav,
  .site-menu[open] .site-menu__booking,
  .site-menu[open] .menu-rows > li {
    animation: wxp-rise .5s var(--ease) both;
    animation-delay: calc(120ms + var(--i, 0) * 30ms);
  }

  /* menu button: bars -> X on open, X -> bars on close (wxp.js adds .is-closing) */
  .site-menu[open] .i--morph .i__bar--a { animation: wxp-bar-a-in .56s 60ms both; }
  .site-menu[open] .i--morph .i__bar--b { animation: wxp-bar-b-in .56s 60ms both; }
  .site-menu[open] .menu-toggle__label { animation: wxp-fade .3s var(--ease) 120ms both; }
  .site-menu[open].is-closing { animation: wxp-menu-close .42s cubic-bezier(.7, 0, .84, 0) both; }
  .site-menu[open].is-closing::backdrop { animation: wxp-fade-out .42s var(--ease) both; }
  .site-menu[open].is-closing .site-menu__body { opacity: 0; transition: opacity .2s var(--ease); }
  .site-menu[open].is-closing .i--morph .i__bar--a { animation: wxp-bar-a-out .32s both; }
  .site-menu[open].is-closing .i--morph .i__bar--b { animation: wxp-bar-b-out .32s both; }
  .site-menu[open].is-closing .menu-toggle__label { animation: wxp-fade-out .16s var(--ease) both; }

  .branch-dialog[open] { animation: wxp-fade .3s var(--ease) both; }
  .branch-dialog[open]::backdrop { animation: wxp-fade .3s var(--ease) both; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 599px) {
  .branch-dialog[open] { animation: wxp-sheet .4s var(--ease) both; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-wa, .btn-line, .btn-line .i, .link-arrow .i, .pm::before, .pm::after,
  .menu-toggle, .menu-row > .i, .branch-dialog__close, .breadcrumb a { transition: none; }
  .btn-line:hover .i:last-child, .btn-line:focus-visible .i:last-child,
  .link-arrow:hover .i, .link-arrow:focus-visible .i,
  .menu-row:hover > .i, .menu-row:focus-visible > .i { transform: none; }
}

/* ==========================================================================
   Motion 0.2 "Cinematic storefront" (2026-09-17; owner-chosen overdrive direction)
   Scroll lock without layout shift, direction-aware hover lines, a first-viewport entrance on
   every V2 page, shutter reveals for framed photos, cross-document page morphs.
   Progressive: without support the page is static; reduced motion removes all of it.
   ========================================================================== */

/* The menu dialog sets html.is-locked (overflow hidden). Reserving the scrollbar gutter stops the
   page jumping sideways when the scrollbar disappears. */
html { scrollbar-gutter: stable; }

/* Direction-aware hover line. wxp.js adds .u-line and sets --line-from to the side the pointer
   entered (the line grows from there) or left through (the line retracts toward it). */
.u-line { position: relative; text-decoration: none !important; }
span.u-line { display: inline-block; }
.u-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.14em; height: 1px;
  background: currentColor; pointer-events: none;
  transform: scaleX(0); transform-origin: var(--line-from, left) center;
  transition: transform .45s var(--ease);
}
.u-line.is-lined::after { transform: scaleX(1); }

@keyframes wxp-mask-rise {
  from { clip-path: inset(0 0 100% 0); transform: translateY(.4em); }
  to { clip-path: inset(-10% -5% -20% -5%); transform: none; }
}
@keyframes wxp-img-reveal {
  from { clip-path: inset(14% 0 14% 0); transform: scale(1.14); }
  to { clip-path: inset(0); transform: scale(1); }
}
@keyframes wxp-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); clip-path: inset(0 0 35% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0); }
}

@media (prefers-reduced-motion: no-preference) {
  /* First viewport of every V2 page: the H1 rises out of a mask, the supporting lines follow. */
  .site-main > section:first-child .display { animation: wxp-mask-rise 1.1s var(--ease) .12s both; }
  .site-main > section:first-child :is(.breadcrumb, .sub, .coord, .cta-row, .meta) { animation: wxp-rise .9s var(--ease) .4s both; }

  /* Framed photos open like a shutter as they scroll into view. */
  @supports (animation-timeline: view()) {
    .site-main .frame > img {
      animation: wxp-img-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }

  .site-menu[open] .site-menu__title { animation: wxp-mask-rise .9s var(--ease) .1s both; }
  .branch-dialog[open] { animation: wxp-dialog-in .5s var(--ease) both; }

  /* Pages morph into each other (Chrome, Edge, Safari; other browsers navigate normally).
     wxp.js names the clicked card's title and photo on the old page (pageswap). */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: wxp-header; }
  .wxp-service .svc-hero .display { view-transition-name: wxp-title; }
  .wxp-service .svc-hero__media { view-transition-name: wxp-photo; }
  ::view-transition-group(wxp-title),
  ::view-transition-group(wxp-photo) { animation-duration: .8s; animation-timing-function: var(--ease); }

  /* 0.10.0 Forest curtain (owner-chosen overdrive, 2026-10-10; replaces the 0.2.0 root fade).
     A forest curtain carrying the leaf rises from the bottom over the old page, holds a beat,
     then lifts off the top of the new page; a lime hairline rides its moving edge, like the
     Bound Ledger's reading rule. The header stays put above it (its own group, wxp-header) and a
     card that morphs (wxp-title, wxp-photo) flies across the forest. On Back it runs downwards.
     Compositor-only: clip-path on the two page snapshots, background-position on the overlay. */
  ::view-transition {
    background-color: var(--ground);
    background-image: linear-gradient(var(--lime), var(--lime)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='820 190 2460 3720'%3E%3Cpath d='M 2050.50,204.80 C 1993.11,374.46 1946.54,546.62 1878.34,713.79 C 1810.14,880.95 1681.02,1119.85 1641.31,1207.80 C 1601.60,1295.75 1640.48,1230.26 1640.06,1241.48 C 1719.90,1209.46 1816.79,1164.76 1879.59,1145.42 C 1942.38,1126.09 1959.22,1126.09 2016.81,1125.46 C 2074.41,1124.84 2149.46,1124.22 2225.15,1141.68 C 2300.83,1159.15 2388.99,1200.73 2470.91,1230.26 C 2386.08,1057.68 2273.59,837.91 2216.41,712.54 C 2159.24,587.16 2155.49,562.63 2127.84,478.01 C 2100.19,393.38 2076.28,295.87 2050.50,204.80 Z' fill='%23009843'/%3E%3Cpath d='M 1903.29,1449.82 C 1857.96,1462.50 1833.43,1480.17 1800.99,1505.96 C 1768.56,1531.74 1728.64,1578.73 1708.68,1604.51 C 1688.72,1630.29 1689.76,1633.41 1681.23,1660.65 C 1672.71,1687.88 1661.27,1738.41 1657.53,1767.93 C 1653.79,1797.46 1653.37,1804.32 1658.78,1837.79 C 1664.18,1871.27 1671.67,1925.74 1689.96,1968.78 C 1708.26,2011.82 1733.00,2051.74 1768.56,2096.03 C 1804.11,2140.32 1829.27,2174.41 1903.29,2234.50 C 1977.31,2294.59 2108.30,2375.68 2212.67,2456.56 C 2317.05,2537.44 2449.28,2645.77 2529.54,2719.79 C 2609.80,2793.80 2651.38,2846.41 2694.21,2900.67 C 2737.04,2954.94 2758.04,2981.14 2786.53,3045.39 C 2815.01,3109.63 2850.77,3217.75 2865.12,3286.16 C 2879.47,3354.56 2879.47,3391.57 2872.61,3455.82 C 2865.74,3520.06 2843.08,3612.59 2823.95,3671.64 C 2804.82,3730.69 2779.87,3763.95 2757.83,3810.11 C 2763.66,3814.69 2769.48,3819.26 2775.30,3823.83 C 2814.80,3789.32 2850.98,3766.86 2893.81,3720.29 C 2936.64,3673.72 2995.90,3595.54 3032.29,3544.39 C 3068.67,3493.24 3083.44,3470.58 3112.13,3413.40 C 3140.82,3356.22 3181.57,3272.43 3204.44,3201.33 C 3227.32,3130.22 3241.25,3046.84 3249.35,2986.75 C 3257.46,2926.66 3257.26,2898.60 3253.10,2840.79 C 3248.94,2782.99 3238.13,2704.40 3224.40,2639.94 C 3210.68,2575.49 3209.02,2547.21 3170.76,2454.07 C 3132.50,2360.92 3064.10,2208.72 2994.86,2081.06 C 2925.63,1953.40 2835.18,1819.08 2755.34,1688.09 C 2739.95,1689.34 2729.97,1681.23 2709.18,1691.84 C 2688.39,1702.44 2651.17,1739.66 2630.59,1751.72 C 2610.00,1763.78 2600.65,1760.03 2585.68,1764.19 C 2513.74,1690.17 2424.54,1590.99 2369.86,1542.13 C 2315.18,1493.27 2307.07,1489.74 2257.58,1471.03 C 2208.10,1452.31 2132.00,1433.39 2072.95,1429.86 C 2013.90,1426.32 1948.61,1437.13 1903.29,1449.82 Z' fill='%23ABCD05'/%3E%3Cpath d='M 1345.65,1681.86 C 1293.67,1761.70 1243.56,1831.14 1189.71,1921.38 C 1135.86,2011.61 1062.67,2146.55 1022.54,2223.28 C 982.42,2300.00 974.93,2313.51 948.94,2381.71 C 922.95,2449.91 884.28,2566.55 866.61,2632.46 C 848.93,2698.37 846.85,2716.04 842.90,2777.17 C 838.95,2838.30 831.47,2916.89 842.90,2999.23 C 854.34,3081.56 881.78,3190.10 911.52,3271.19 C 941.25,3352.27 988.86,3429.41 1021.30,3485.76 C 1053.73,3542.10 1071.20,3564.98 1106.13,3609.26 C 1141.06,3653.55 1195.95,3716.34 1230.88,3751.48 C 1265.81,3786.62 1298.66,3809.28 1315.71,3820.09 C 1332.76,3830.90 1327.35,3817.60 1333.18,3816.35 C 1296.58,3761.87 1247.93,3694.09 1223.39,3652.93 C 1198.86,3611.76 1198.44,3597.20 1185.97,3569.34 C 1203.85,3552.71 1202.19,3543.14 1239.61,3519.44 C 1277.04,3495.74 1353.55,3457.90 1410.52,3427.13 C 1418.84,3432.53 1405.32,3402.59 1435.47,3443.34 C 1465.62,3484.10 1548.16,3616.75 1591.41,3671.64 C 1634.66,3726.53 1662.10,3745.24 1694.95,3772.69 C 1727.81,3800.13 1745.27,3816.56 1788.52,3836.31 C 1831.76,3856.06 1896.64,3882.68 1954.44,3891.20 C 2012.24,3899.72 2092.49,3891.41 2135.33,3887.46 C 2178.16,3883.51 2166.72,3889.74 2211.42,3867.50 C 2256.13,3845.25 2352.39,3799.92 2403.54,3753.97 C 2454.69,3708.02 2493.36,3639.83 2518.31,3591.80 C 2543.26,3543.77 2546.80,3499.48 2553.24,3465.80 C 2559.69,3432.12 2563.64,3433.15 2556.99,3389.70 C 2550.33,3346.24 2538.27,3262.25 2513.32,3205.07 C 2488.37,3147.89 2448.87,3098.20 2407.28,3046.63 C 2365.70,2995.07 2387.74,3001.31 2263.82,2895.68 C 2139.90,2790.06 1792.05,2523.09 1663.77,2412.90 C 1535.48,2302.70 1534.44,2285.03 1494.10,2234.50 C 1453.77,2183.98 1441.92,2153.00 1421.75,2109.75 C 1401.58,2066.50 1384.12,2018.06 1373.10,1975.02 C 1362.08,1931.98 1357.92,1896.22 1355.63,1851.52 C 1353.34,1806.81 1361.04,1735.08 1359.37,1706.81 C 1357.71,1678.53 1350.22,1690.17 1345.65,1681.86 Z' fill='%23009843'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 3px, 44px auto;
    background-position: 0 100%, 50% 50%;
    animation: wxp-curtain-edge .8s linear both;
  }
  ::view-transition-group(root) { animation-duration: .8s; }
  ::view-transition-old(root),
  ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-old(root) { animation: wxp-curtain-cover .8s linear both; }
  ::view-transition-new(root) { animation: wxp-curtain-reveal .8s linear both; }
  html:active-view-transition-type(back)::view-transition { animation-name: wxp-curtain-edge-back; }
  html:active-view-transition-type(back)::view-transition-old(root) { animation-name: wxp-curtain-cover-back; }
  html:active-view-transition-type(back)::view-transition-new(root) { animation-name: wxp-curtain-reveal-back; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Only while a card morphs into the title does the title skip its own rise. */
  html:active-view-transition-type(morph) .site-main > section:first-child .display { animation: none; }
}
/* The curtain's timeline (.8s): cover 0-40%, hold 40-52%, lift 52-100%; each move on the site's
   in-out curve so it starts and lands softly. */
@keyframes wxp-curtain-cover {
  0% { clip-path: inset(0 0 0 0); transform: none; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  40%, 100% { clip-path: inset(0 0 100% 0); transform: translateY(-56px); }
}
/* The new page rises into place as the curtain lifts: most pages open on a forest hero, and
   forest-on-forest would leave only the lime edge to show that anything moved. */
@keyframes wxp-curtain-reveal {
  0%, 52% { clip-path: inset(100% 0 0 0); transform: translateY(72px); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
/* The edge line follows the page's moving edge: clip position plus the page's own travel. */
@keyframes wxp-curtain-edge {
  0% { background-position: 0 100%, 50% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  40% { background-position: 0 calc(0% - 56px), 50% 50%; }
  40.1%, 52% { background-position: 0 -8px, 50% 50%; }
  52.1% { background-position: 0 calc(100% + 72px), 50% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { background-position: 0 0, 50% 50%; }
}
@keyframes wxp-curtain-cover-back {
  0% { clip-path: inset(0 0 0 0); transform: none; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  40%, 100% { clip-path: inset(100% 0 0 0); transform: translateY(56px); }
}
@keyframes wxp-curtain-reveal-back {
  0%, 52% { clip-path: inset(0 0 100% 0); transform: translateY(-72px); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes wxp-curtain-edge-back {
  0% { background-position: 0 0, 50% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  40% { background-position: 0 calc(100% + 56px), 50% 50%; }
  40.1%, 52% { background-position: 0 calc(100% + 8px), 50% 50%; }
  52.1% { background-position: 0 calc(0% - 72px), 50% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { background-position: 0 100%, 50% 50%; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 599px) {
  .branch-dialog[open] { animation: wxp-sheet .45s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .u-line::after { transition: none; }
}

/* ==========================================================================
   0.2.0 (2026-09-17; owner feedback)
   Glass header (owner request): forest at 72% with a backdrop blur, solid forest where
   backdrop-filter is unsupported. Button resets for link-arrow buttons, and the "ask" item name
   in the branch dialog.
   ========================================================================== */
.site-header {
  background: rgba(var(--ground-rgb), .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: var(--ground); }
}
button.link-arrow {
  appearance: none; margin: 0; padding: 0; border: 0; background: none;
  color: inherit; cursor: pointer; text-align: left;
}
.branch-dialog__item { font-weight: 500; color: var(--cream); }

/* ---------- 0.4.1 (2026-09-19; appended through the connector): larger header brand ----------
 * Owner's father asked for a bigger header logo and name. Wordmark 15 -> 17px below 1024px and
 * 19px from 1024px; leaf mark 22 -> 26px and 26 -> 32px. Header height unchanged (64 / 72px).
 * Measured: 53px clear either side of the brand at 375px, no overflow. Footer brand keeps 15px.
 */
.site-header .brand,
.site-menu__top .brand { font-size: 17px; }
.site-header .brand .mark,
.site-menu__top .brand .mark { height: 26px; width: calc(26px * 2460 / 3720); }
@media (min-width: 1024px) {
  .site-header .brand,
  .site-menu__top .brand { font-size: 19px; }
  .site-header .brand .mark,
  .site-menu__top .brand .mark { height: 32px; width: calc(32px * 2460 / 3720); }
}

/* ---------- 0.5.0 photo lightbox (templates/parts/lightbox.php, assets/js/lightbox.js) ----------
 * Gallery grids stay 1:1 (DESIGN.md pins it). The square crop hides half of a portrait photo or a
 * before/after pair, so every gallery tile opens the WHOLE photo here: contained, never cropped.
 * Forest ground, 1px hairline bars, square 44px controls (One Curve Rule). Opening replays the
 * site's own shutter (wxp-img-reveal); nothing new is added to the motion set.
 */

/* the tile: a link around the frame */
.lb-trigger { position: relative; display: block; color: inherit; cursor: zoom-in; }
.lb-trigger__badge {
  position: absolute; top: var(--s-2); right: var(--s-2);
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--scrim-card); color: var(--cream);
  pointer-events: none;
}
.lb-trigger__badge .i { width: 16px; height: 16px; }
/* Phones and tablets have no hover, so the badge stays visible there; a mouse reveals it. */
@media (hover: hover) and (pointer: fine) {
  .lb-trigger__badge { opacity: 0; transition: opacity .3s var(--ease); }
  .lb-trigger:hover .lb-trigger__badge,
  .lb-trigger:focus-visible .lb-trigger__badge { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  /* `scale`, not `transform`: the shutter reveal animates transform on the same <img>. */
  .lb-trigger .frame > img { transition: scale .6s var(--ease); }
  .lb-trigger:hover .frame > img { scale: 1.04; }
}

/* the dialog */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  width: 100%; max-width: none;
  height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: var(--ground); color: var(--cream);
  overflow: hidden; overscroll-behavior: contain;
  --rule: var(--line); --meta: var(--meta-on-dark); --focus: var(--lime);
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: var(--ground); }

.lightbox__bar {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 60px;
  padding: var(--s-2) var(--gutter);
}
.lightbox__bar--top {
  border-bottom: 1px solid var(--rule);
  padding-top: calc(var(--s-2) + env(safe-area-inset-top, 0px));
}
.lightbox__bar--bottom {
  border-top: 1px solid var(--rule);
  padding-bottom: calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
}
.lightbox__count {
  flex: none;
  font-size: 14px; line-height: 1; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--meta);
}
.lightbox__title {
  flex: 1 1 auto; min-width: 0;
  font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lightbox__bar--top > .lightbox__btn { margin-left: auto; }
.lightbox__caption {
  flex: 1 1 auto; min-width: 0;
  font-size: 14px; line-height: 1.5; color: var(--meta);
  max-width: 62ch;
}
.lightbox__nav { display: flex; gap: var(--s-2); margin-left: auto; flex: none; }
.lightbox__btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  padding: 0; border: 1px solid var(--rule); border-radius: 0;
  background: transparent; color: var(--cream);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__btn:hover { background: var(--cream); color: var(--ground); border-color: var(--cream); }
.lightbox__btn .i { width: 18px; height: 18px; }
.lightbox.is-single .lightbox__nav,
.lightbox.is-single .lightbox__count { display: none; }

/* The stage has one 1fr cell so the photo's max-height:100% resolves against a real height. */
.lightbox__stage {
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-height: 0; margin: 0;
  padding: var(--s-4) var(--gutter);
  touch-action: pan-y pinch-zoom;
}
.lightbox__stage > * { grid-area: 1 / 1; }
.lightbox__img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain;
  opacity: 0;
  user-select: none; -webkit-user-drag: none;
}
.lightbox__img.is-loaded { opacity: 1; }
.lightbox__error { display: grid; justify-items: center; gap: var(--s-3); text-align: center; }

@keyframes wxp-lb-in { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: wxp-lb-in .3s var(--ease) both; }
  .lightbox__img.is-loaded { transition: opacity .35s var(--ease); }
  .lightbox__img.is-loaded.is-opening { animation: wxp-img-reveal .9s var(--ease) both; }
}
@media (min-width: 1024px) {
  .lightbox__bar { min-height: 72px; }
  .lightbox__stage { padding: var(--s-6) var(--gutter); }
}

/* ---------- 0.10.0 prices (back by owner direction 2026-10-10, per branch) ----------
 * The approved mockup's price styles (Mockups/css/waxpoint.css), unchanged: Fraunces figures,
 * lime on dark, emerald on cream from 28px, ink on cream when small (DESIGN.md Price Colour Rule).
 * Service pages print them gated per branch ([data-for], inc/prices.php).
 */
.price {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--price);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
  letter-spacing: -.01em;
  text-transform: none;
  white-space: nowrap;
}
.price--lg { font-size: var(--price-lg); line-height: 1; }
.price--row { font-size: 20px; line-height: 1.1; }
.band--cream .price--row { color: var(--ink); }
.unit {
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase;
  color: var(--meta);
}
@media (min-width: 1024px) {
  :root { --price-lg: 40px; }
}

/* ==========================================================================
   0.11.0 (2026-10-11; owner's mother)
   1. Dark bands: the lighter forest (#0E4A2E) with a soft emerald glow rising from the bottom
      edge. The top edge stays plain forest so the wave above it meets it without a seam.
   2. Waves: wherever a band follows a band of the other colour, the new band's colour rises
      into the bottom padding of the one above as a two-layer wave (a lighter swell behind the
      crest). Cream-after-forest and forest-after-cream waves are mirrored so the page does not
      repeat one shape. The wave is a masked ::before: no extra markup, nothing to translate,
      no overflow on any ancestor (sticky asides keep working). --wave-h stays below every
      band's bottom padding (64 / 96 / 128px; heroes 64 / 96px), so it never covers content.
   3. One 8px corner (--r-ctl) for every button and boxed control.
   ========================================================================== */
.band:not(.band--cream) {
  background-image:
    radial-gradient(120% 75% at 85% 100%, rgba(0, 152, 67, .18), transparent 70%),
    radial-gradient(70% 55% at 5% 100%, rgba(171, 205, 5, .05), transparent 70%);
}
.site-footer {
  background-image: radial-gradient(120% 80% at 15% 100%, rgba(0, 152, 67, .16), transparent 70%);
}

.band:not(.band--cream) + .band--cream,
.band--cream + .band:not(.band--cream),
.site-main:has(> .band--cream:last-child) + .site-footer { position: relative; }
.band:not(.band--cream) + .band--cream::before,
.band--cream + .band:not(.band--cream)::before,
.site-main:has(> .band--cream:last-child) + .site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px); /* 1px overlap: no hairline gap at any zoom */
  height: var(--wave-h);
  background: var(--cream);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.4' d='M0 30C180 4 360 4 560 26s400 44 600 30 220-40 280-46v80H0z'/%3E%3Cpath d='M0 52c200-30 420-34 640-12s420 34 560 22 200-26 240-30v48H0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.4' d='M0 30C180 4 360 4 560 26s400 44 600 30 220-40 280-46v80H0z'/%3E%3Cpath d='M0 52c200-30 420-34 640-12s420 34 560 22 200-26 240-30v48H0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.band--cream + .band:not(.band--cream)::before,
.site-main:has(> .band--cream:last-child) + .site-footer::before {
  background: var(--ground);
  transform: scaleX(-1);
}
/* the footer's hairline would cut through its wave */
.site-main:has(> .band--cream:last-child) + .site-footer { border-top-color: transparent; }

/* one corner for every button and boxed control */
.chip,
.menu-toggle,
.branch-dialog__close,
.lightbox__btn { border-radius: var(--r-ctl); }

/* ==========================================================================
   0.13.1 (2026-10-12; owner: "unbearably slow")
   Same effects, a third of the time. The new page now shows ~0.2 s after it arrives (was 0.42 s)
   and its hero is readable by ~0.6 s (was ~2 s). Overrides only durations and delays; the
   keyframes and their proportions are unchanged.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .site-main > section:first-child .display { animation-duration: .6s; animation-delay: 0s; }
  .site-main > section:first-child :is(.breadcrumb, .sub, .coord, .cta-row, .meta) { animation-duration: .5s; animation-delay: .08s; }
  .site-menu[open] .site-menu__title { animation-duration: .5s; animation-delay: 0s; }
  .branch-dialog[open] { animation-duration: .3s; }
  ::view-transition { animation-duration: .45s; }
  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(wxp-title),
  ::view-transition-group(wxp-photo) { animation-duration: .45s; }
}
