/* Approved Palette v8 public walkthrough. Shared app tokens remain authoritative. */
:where(.wm-tour-chapter-pin, .wm-tour-document-chapter) {
  position: relative;
  isolation: isolate;
}
.wm-tour-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #eee7da;
}
.wm-tour-atmosphere::before, .wm-tour-atmosphere::after {
  content: "";
  position: absolute;
  inset: -24px;
}
.wm-tour-atmosphere::before {
  background: var(--chapter-photo) var(--chapter-position, 56% center) / cover no-repeat;
  opacity: .47;
  transform: translateY(calc((var(--workshop-travel, .5) - .5) * 40px));
}
/* The interactive previews can grow taller than the screen as details open. */
:is(.wm-tour-document-chapter, .wm-tour-chapter-reminders, .wm-tour-chapter-costs) .wm-tour-atmosphere {
  clip-path: inset(0);
  --workshop-travel: .5;
}
.wm-tour-atmosphere::after {
  background: linear-gradient(90deg, #f3ede1ed 3%, #f3ede1c9 31%, #f3ede138 66%, #e9e1d36b),
              linear-gradient(125deg, transparent 32%, #ffedcb70 48%, transparent 64%);
  background-size: 100% 100%, 150% 100%;
  background-position: center, calc(var(--workshop-travel, .5) * 100%) center;
}
:is(.wm-tour-document-chapter, .wm-tour-chapter-reminders, .wm-tour-chapter-costs) .wm-tour-atmosphere::before,
:is(.wm-tour-document-chapter, .wm-tour-chapter-reminders, .wm-tour-chapter-costs) .wm-tour-atmosphere::after {
  position: fixed;
}
.wm-tour-chapter-history { --chapter-photo: url("../backgrounds/workshop/servicebook.webp?v=2"); }
.wm-tour-chapter-garage { --chapter-photo: url("../backgrounds/workshop/garage.webp?v=2"); --chapter-position: 72% 52%; }
.wm-tour-chapter-reminders { --chapter-photo: url("../backgrounds/workshop/reminders.webp?v=2"); }
.wm-tour-chapter-costs { --chapter-photo: url("../backgrounds/workshop/costs.webp?v=2"); --chapter-position: 38% center; }
.wm-tour .wm-tour-document-chapter {
  --chapter-photo: url("../backgrounds/workshop/documents.webp?v=2");
  max-width: none;
}
.wm-tour-documents-inner { max-width: 1176px; margin-inline: auto; }
.wm-tour .wm-tour-app-window .wm-tour-app-image { height: auto; cursor: default; }
.wm-tour .wm-tour-app-image img { aspect-ratio: 1240 / 840; transform: none; }
.wm-tour .wm-tour-app-image::after { content: none; }
.wm-tour .wm-tour-chapter-copy h2, .wm-tour .wm-tour-documents-heading h2 {
  text-wrap: balance;
  hyphens: manual;
}
@media (max-width: 740px) {
  .wm-tour-atmosphere::after {
    background: linear-gradient(180deg, #f3ede1ed, #f3ede1b8 38%, #f3ede155);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wm-tour-atmosphere::before { transform: none; }
  .wm-tour-atmosphere::after { background-position: center; }
}
@media print, (forced-colors: active) {
  .wm-tour-atmosphere { display: none; }
}
.wm-public-entry { --ink:var(--wmp-text,#1c2939);--muted:var(--wmp-muted,#526175);--paper:var(--wm-component-card,#f6f1e8);--line:var(--wm-component-line,#d7d0c5);--edge:var(--wm-component-field-border,#c7bdaf);--accent:var(--wmp-accent,#a63e38); }
.wm-tour { min-width:0;width:100%; }
.wm-public-entry .wm-tour :is(h2,h3,h4) { color:var(--ink); }
.wm-public-entry .wm-tour h2 { letter-spacing:-.05em!important; }
.wm-tour .wm-icon { width:20px;height:20px; }
.wm-public-entry .wm-tour-chapter-copy>p,.wm-public-entry .wm-tour-documents-heading>p { font-weight:400; }
.wm-public-entry .wm-tour-chapter-copy>p.wm-tour-chapter-kicker { font-weight:650; }
.wm-tour-text-link { color:var(--ink);text-decoration:none;cursor:zoom-in; }
.wm-tour-chapter-copy em,.wm-tour-documents-heading em { color:var(--accent);font-style:normal; }
/* Stabilize keyboard access before activation; pointer focus must not move a
   control between mousedown and mouseup and swallow its first click. */
.wm-tour-chapter-visual:has(:focus-visible) { --scene-enter:1!important;--scene-p:0!important;--flow-reveal:1!important; }
.wm-tour-app-image:focus-visible { outline-offset:-4px; }
.wm-tour-app-image img { max-width:100%; }
.wm-public-entry .wm-entry-pitch h1 { font-size:clamp(30px,3vw,44px);line-height:1.1;margin:0 0 12px; }
.wm-entry-pitch h1 em::after { display:none; }
.wm-entry-hero { max-width:1160px;min-height:0;gap:70px;padding-block:56px 60px; }
.wm-entry-scene { transform:translateY(var(--hero-shift,0px)) scale(1.08); }
.wm-entry-nav { max-width:1216px;min-height:67px;padding-block:8px;justify-content:space-between;gap:16px; }
.wm-entry-nav .wm-entry-brand img { width:118px;height:auto; }
.wm-entry-nav-links { gap:4px; }
.wm-entry-nav-item { padding-inline:12px; }
.wm-entry-mobile-peek { display:none; }
.wm-public-entry .wm-access-card { border-radius:18px!important; }
.wm-tour-chapter-reminders{background:#f2eee5}.wm-tour-chapter-reminders .wm-tour-chapter-inner{grid-template-columns:minmax(250px,.83fr) minmax(0,1.72fr);gap:40px}.wm-tour-chapter-reminders .wm-tour-chapter-copy h2{font-size:clamp(37px,3.8vw,54px)}.wm-tour-chapter-copy>.wm-tour-calendar-demo-hint{font-size:12px!important;max-width:260px!important;padding-left:13px;border-left:2px solid var(--accent)}.wm-tour-reminders-visual{transform:translate3d(calc((1 - var(--scene-enter))*35px),calc((1 - var(--scene-enter))*45px),0)}
.wm-tour-chapter{position:relative;border-bottom:1px solid var(--line);--scene-p:1;--scene-enter:1;--flow-reveal:1;scroll-margin-top:84px;background:var(--paper)}.wm-tour-chapter-garage{background:#eee8dd}.wm-tour-chapter-costs{background:#f9f5ee}.wm-tour-chapter-pin{padding:76px 32px;min-height:780px;display:flex;align-items:center}.wm-tour-chapter-inner{max-width:1240px;margin:auto;width:100%;display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.6fr);gap:65px;align-items:center}.wm-tour-chapter-copy{position:relative;z-index:2}.wm-tour-chapter-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--muted);display:flex;align-items:center;gap:14px;margin:0 0 25px}.wm-tour-chapter-kicker>span{font-size:11px;letter-spacing:0;color:var(--accent);border:1px solid var(--line);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff5}.wm-tour-chapter-copy h2,.wm-tour-documents-heading h2{font-size:clamp(38px,4.1vw,59px);letter-spacing:-.05em;line-height:1.06;margin:0 0 24px;font-weight:720}.wm-tour-chapter-copy h2 em,.wm-tour-documents-heading h2 em{font-style:normal;color:var(--accent)}.wm-tour-chapter-copy>p:not(.wm-tour-chapter-kicker){max-width:330px;font-size:15px;line-height:1.85;color:var(--muted);margin:0 0 25px}.wm-tour-text-link{display:inline-flex;gap:16px;align-items:center;padding:9px 0;min-height:42px;background:transparent;border:0;border-bottom:1px solid var(--edge);border-radius:0;font-size:12px;font-weight:650}.wm-tour-text-link:hover{box-shadow:none!important}.wm-tour-text-link span{font-size:17px}.wm-tour-chapter-meter{height:2px;width:112px;background:var(--line);margin-top:42px;overflow:hidden}.wm-tour-chapter-meter span{height:100%;width:100%;display:block;background:var(--accent);transform:scaleX(var(--scene-enter));transform-origin:left}.wm-tour-chapter-visual{position:relative;min-width:0;perspective:1400px}.wm-tour-app-window{border:1px solid #cfc5b5;background:#f8f4eb;border-radius:15px;overflow:hidden;margin:0;box-shadow:0 28px 50px -28px #43362960;transform:translate3d(0,calc((1 - var(--scene-enter))*90px),0) rotateX(calc((1 - var(--scene-enter))*14deg)) rotateZ(calc((1 - var(--scene-enter))*-5deg)) scale(calc(.83 + var(--scene-enter)*.17));transform-origin:50% 70%;will-change:transform}.wm-tour-app-window figcaption{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line);font-size:12px;font-weight:600;background:#fcf9f3}.wm-tour-app-window figcaption>span{display:flex;align-items:center;gap:9px}.wm-tour-app-window figcaption .wm-icon{color:var(--accent);width:18px;height:18px}.wm-tour-app-window figcaption small{font-size:9px;font-weight:450;color:var(--muted)}.wm-tour-app-image{border:0;padding:0;margin:0;display:block;width:100%;height:455px;overflow:hidden;background:var(--paper);position:relative;cursor:zoom-in}.wm-tour-app-image img{width:100%;height:auto;display:block;transform:translateY(calc(var(--scene-p)*-16px));pointer-events:none}.wm-tour-app-image:after{content:'';position:absolute;inset:auto 0 0;height:45px;background:linear-gradient(transparent,#f6f1e8b0)}.wm-tour-paper-under{position:absolute;inset:10px 14px;background:#e6ded0;border:1px solid #d2c7b5;border-radius:15px;transform-origin:center;pointer-events:none}.wm-tour-paper-under-one{transform:translateY(calc((1 - var(--scene-enter))*-14px)) rotate(calc((1 - var(--scene-enter))*9deg))}.wm-tour-paper-under-two{background:#f3ede1;transform:rotate(calc((1 - var(--scene-enter))*-12deg))}.wm-tour-entry-stamp{position:absolute;bottom:-24px;right:28px;display:flex;align-items:center;gap:13px;background:#fffaf2;border:1px solid var(--edge);border-radius:10px;padding:16px 20px;box-shadow:0 10px 30px #43362918;transform:translateX(calc((1 - var(--scene-enter))*50px));opacity:calc(.2 + var(--scene-enter)*.8)}.wm-tour-entry-stamp strong{font-size:13px}.wm-tour-entry-stamp div>span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.wm-tour-entry-stamp>.wm-icon{color:var(--accent);margin-left:15px}.wm-tour-stamp-check{background:#e2ebdf;color:#406144;border-radius:50%;height:30px;width:30px;display:grid;place-items:center}.wm-tour-garage-visual .wm-tour-app-window{transform:translate3d(calc((1 - var(--scene-enter))*85px),calc((1 - var(--scene-enter))*30px),0) rotateY(calc((1 - var(--scene-enter))*-18deg)) rotateZ(calc((1 - var(--scene-enter))*3deg)) scale(calc(.86 + var(--scene-enter)*.14))}.wm-tour-garage-visual .wm-tour-app-image{height:475px}.wm-tour-garage-tag{position:absolute;bottom:20px;left:-20px;display:flex;align-items:center;gap:10px;font-size:12px;padding:13px 18px;border:1px solid #c9bfaf;border-radius:8px;background:#faf7eff5;box-shadow:0 8px 20px #43362915;transform:translateY(calc((1 - var(--scene-enter))*24px))}.wm-tour-tag-dot{width:7px;height:7px;background:#54745c;border-radius:50%}.wm-tour-cost-visual{transform:translateY(calc((1 - var(--scene-enter))*50px))}.wm-tour-chapter-costs .wm-tour-chapter-inner{grid-template-columns:minmax(255px,.85fr) minmax(0,1.7fr);gap:35px}.wm-tour-chapter-costs .wm-tour-chapter-copy h2{font-size:clamp(34px,3.7vw,53px)}
.wm-tour-document-chapter{max-width:1240px;margin:auto;padding:100px 32px 70px;scroll-margin-top:82px}.wm-tour-documents-heading{display:flex;gap:70px;justify-content:space-between;align-items:flex-end;margin:0 0 38px}.wm-tour-documents-heading h2{margin:0}.wm-tour-documents-heading>p{max-width:390px;line-height:1.85;color:var(--muted);font-size:14px;margin:0}.wm-tour-join-section{max-width:1176px;margin:20px auto 0;padding:50px 0;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line)}.wm-tour-join-section h2{font-size:27px;letter-spacing:-.035em;margin:0}.wm-tour-join-section .wm-tour-chapter-kicker{margin-bottom:12px}.wm-tour-join-section .wm-tour-primary{width:auto;min-width:175px}.wm-tour-screen-dialog-note{font-size:10px;color:var(--muted)}
@media(min-width:1000px) and (min-height:650px) and (prefers-reduced-motion:no-preference){.wm-entry-motion-ready .wm-tour-chapter{height:160svh}.wm-entry-motion-ready .wm-tour-chapter-pin{position:sticky;top:84px;min-height:calc(100svh - 84px);height:calc(100svh - 84px);padding-top:30px;padding-bottom:50px}.wm-entry-motion-ready .wm-tour-chapter-costs{height:170svh}}
@media(max-width:1150px){.wm-tour-chapter-inner{gap:36px}.wm-tour-chapter-copy h2{font-size:43px}.wm-tour-app-image{height:395px}.wm-tour-garage-visual .wm-tour-app-image{height:400px}}
@media(max-width:999px){.wm-tour-chapter-pin{min-height:0;padding:65px 30px 85px}.wm-tour-chapter-inner,.wm-tour-chapter-costs .wm-tour-chapter-inner{grid-template-columns:1fr;gap:35px;max-width:720px}.wm-tour-chapter-copy h2 br{display:none}.wm-tour-chapter-copy h2{font-size:44px}.wm-tour-chapter-copy>p:not(.wm-tour-chapter-kicker){max-width:570px}.wm-tour-chapter-meter{display:none}.wm-tour-chapter-visual{--scene-enter:1;--scene-p:0;--flow-reveal:1}.wm-tour-documents-heading{display:block}.wm-tour-documents-heading>p{max-width:620px;margin-top:22px}.wm-tour-join-section{margin-left:30px;margin-right:30px}.wm-tour-app-image,.wm-tour-garage-visual .wm-tour-app-image{height:440px}.wm-tour-chapter-costs .wm-tour-chapter-copy h2{font-size:44px}}
@media(max-width:740px){.wm-tour-chapter-pin{padding:48px 22px 64px}.wm-tour-chapter-kicker{margin-bottom:18px}.wm-tour-chapter-copy h2,.wm-tour-chapter-costs .wm-tour-chapter-copy h2,.wm-tour-documents-heading h2{font-size:38px}.wm-tour-app-image,.wm-tour-garage-visual .wm-tour-app-image{height:320px}.wm-tour-entry-stamp{right:12px;bottom:-24px;padding:12px}.wm-tour-entry-stamp>.wm-icon{display:none}.wm-tour-garage-tag{left:10px;bottom:-16px}.wm-tour-document-chapter{padding:60px 22px 40px}.wm-tour-join-section{align-items:flex-start;flex-direction:column;margin:0 22px;padding:35px 0}.wm-tour-join-section h2{font-size:24px}.wm-tour-chapter-copy>p:not(.wm-tour-chapter-kicker){font-size:14px}.wm-tour-app-window{border-radius:10px}}
@media(prefers-reduced-motion:reduce){html:has(.wm-public-entry){scroll-behavior:auto}.wm-tour-chapter{--scene-enter:1!important;--flow-reveal:1!important}.wm-tour-entry-stamp{opacity:1}.wm-tour-chapter-meter span{transform:none}.wm-tour-chapter-pin{position:static!important}.wm-tour-chapter{height:auto!important}}

/* Scroll pinning is used only when the scene fits. Short/narrow screens read naturally. */
.wm-tour-chapter.wm-scene-unpinned { height:auto!important; }
.wm-tour-chapter.wm-scene-unpinned .wm-tour-chapter-pin { position:static;height:auto;min-height:0;padding-block:60px; }
.wm-tour-reminders-visual { min-width:0; }
.wm-tour-cost-visual .cf-detail { min-height:125px; }
.wm-tour-cost-visual .cf-chart { height:230px; }
.wm-public-entry .wm-tour-app-window { border-color:var(--edge);background:var(--paper); }
.wm-tour-chapter-copy [data-screen] { min-height:44px; }
.wm-public-entry [data-entry-reveal] { opacity:1; }
.wm-tour-document-chapter { overflow:clip; }
@media(min-width:951px) and (max-width:1200px) {
  .wm-entry-nav { gap:10px;padding-inline:20px; }.wm-entry-brand img { width:145px; }
  .wm-entry-nav-links .wm-entry-nav-item { padding-inline:8px;font-size:11px; }.wm-entry-alpha { display:none; }
}
@media(max-width:999px) {
  .wm-tour-chapter-reminders .wm-tour-chapter-inner { grid-template-columns:minmax(0,1fr);gap:35px; }
  .wm-tour-reminders-visual { transform:none; }
  .wm-entry-hero { gap:25px; }
}
@media(max-width:740px) {
  .wm-entry-mobile-peek { display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0 16px 26px;font-size:13px;font-weight:600; }
  .wm-entry-mobile-peek .wm-icon { transform:rotate(90deg);width:17px;height:17px; }
  .wm-public-entry .wm-entry-pitch { display:block;max-width:420px;margin:0 auto 24px;padding:0; }
  .wm-public-entry .wm-entry-pitch h1 { font-size:28px; }
  .wm-entry-lead { margin:0 0 8px;font-size:15px; }
  .wm-entry-nav .wm-entry-brand img { width:100px; }
  .wm-entry-hero { margin:0;padding:24px max(16px,env(safe-area-inset-left,0px)) 42px;min-height:0; }
  html[data-wm-mobile] body.wm-access-page.wm-public-entry .wm-access-shell { display:block;min-height:0;max-width:420px;width:100%;padding:0;margin:auto; }
  html[data-theme="light"][data-wm-mobile] body.auth-page.wm-access-page.wm-public-entry .wm-access-card { padding:24px 18px 20px;border-radius:16px!important; }
  .wm-entry-nav { min-height:54px;padding:5px max(16px,env(safe-area-inset-left,0px)); }
  .wm-entry-nav-end .wm-entry-nav-item { display:inline-flex;min-height:44px; }
  .wm-entry-nav-frame,.wm-entry-alpha { display:none; }
  .wm-entry-scene { transform:none;background-position:38% center; }
  html[data-theme="light"] body.auth-page.wm-access-page.wm-public-entry .wm-access-card .wm-access-tabs>a { min-height:44px!important; }
  .wm-public-entry .wm-access-footer a { min-height:44px;display:inline-flex;align-items:center; }
  .wm-public-entry .wm-entry-password button { min-width:64px;min-height:44px;top:1px;bottom:1px; }
  .wm-tour-chapter-pin { padding:44px 16px 64px; }
  .wm-public-entry .wm-tour :is(.wm-tour-chapter-copy h2,.wm-tour-documents-heading h2) { font-size:clamp(29px,8.3vw,38px); }
  .wm-tour-document-chapter { padding:44px 16px 32px; }
  .wm-tour-entry-stamp { right:8px;max-width:calc(100% - 16px);padding:10px; }
  .wm-tour-entry-stamp div { min-width:0; }
  .wm-tour-entry-stamp div>span { overflow-wrap:anywhere; }
  .wm-tour-join-section { margin-inline:16px; }
  .wm-entry-footer { padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); }
  .wm-entry-dialog-bar { padding:12px;gap:8px;font-size:12px; }
  .wm-entry-dialog button { min-height:44px;flex:none; }
}
@media(max-width:390px) {
  .wm-tour-app-image,.wm-tour-garage-visual .wm-tour-app-image { height:270px; }
  .wm-tour-entry-stamp { font-size:11px;gap:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .wm-tour-app-window,.wm-tour-app-image img,.wm-tour-paper-under,
  .wm-tour-entry-stamp,.wm-tour-garage-tag,
  .wm-tour-cost-visual,.wm-tour-reminders-visual,.wm-entry-scene {
    transform:none!important;
    will-change:auto;
  }
}

.wm-tour-links {
  display:flex; flex-wrap:wrap; justify-content:center; gap:4px 12px;
  padding:14px 18px; background:var(--paper); scroll-margin-top:70px;
}
.wm-tour-links a { display:inline-flex;align-items:center;min-height:44px;padding:4px 10px; }
.wm-tour-links a[aria-current="location"] { color:var(--accent);text-decoration:underline;text-underline-offset:5px; }
