/* The Lodestone pages, 14 November 2026 (Brain/04 - wai/Lodestone).
   /clinic-hours-calculator, /front-desk-mystery-shop, /frontier-jobs and the
   request on the customer story. Loaded only by those pages, ahead of the
   site system (wai-system.css), whose tokens and sizes it uses, so a rule
   that has to win over the system names .w-sys first. Every class is under
   w-ld, so it restyles nothing that came before it.

   White, one family, one ink. No plate, no card, no table of labels and
   values (Omar, 14 November 2026). Motion is transform and opacity, 250 ms
   for a state and 1 s for an entrance, nothing passes its mark, and every
   piece is complete at rest, with ?still and under reduced motion. */

/* ------------------------------------------------------------ the forms */
.w-sys .w-ldform button.w-btn{margin-top:32px}
.w-sys .w-ldform .w-fine{margin-top:20px}
.w-sys .w-ldform .w-btn[hidden]{display:none}
.w-sys .w-ldm__form .w-frow>span{width:172px}
.w-sys .w-ldform .w-fmsg{padding-top:6px}
.w-sys .w-ldform .lead-err{padding-top:16px}
.w-sys .w-done:focus{outline:0}
.w-sys .w-done h2{margin-bottom:8px}
/* the second step of a request opens under the first */
.w-ldstep[hidden]{display:none}
html.w-js .w-ldstep.is-in{animation:w-ldin .6s var(--w-ease) both}
@keyframes w-ldin{from{opacity:0;transform:translateY(8px)}}
/* a box to tick, set as a sentence */
.w-ldtick{display:flex;align-items:flex-start;gap:12px;padding-top:20px;font-size:var(--w-fl);line-height:1.55;cursor:pointer}
.w-ldtick input{position:absolute;opacity:0;width:1px;height:1px}
.w-ldtick__b{flex:none;width:18px;height:18px;margin-top:3px;border:1px solid #b9b7b2;border-radius:2px;display:grid;place-items:center;transition:border-color .25s ease-out,background-color .25s ease-out,transform .25s ease-out}
.w-ldtick__b svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .25s ease-out}
.w-ldtick:hover .w-ldtick__b{border-color:var(--w-ink)}
.w-ldtick:active .w-ldtick__b{transform:translateY(1px)}
.w-ldtick input:checked+.w-ldtick__b{background:var(--w-ink);border-color:var(--w-ink)}
.w-ldtick input:checked+.w-ldtick__b svg{stroke-dashoffset:0}
.w-ldtick input:focus-visible+.w-ldtick__b{outline:1px solid var(--w-ink);outline-offset:4px}
.w-ldtick.is-err .w-ldtick__b{border-color:#6f4a63}

/* a secondary control: white on a hairline, a small Sage glyph at its right */
.w-sys .w-ldk{height:40px;padding:0 12px 0 14px;display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--w-line);border-radius:8px;margin:0;font:inherit;font-size:var(--w-fn);line-height:26px;color:var(--w-ink);white-space:nowrap;cursor:pointer;transition:border-color .25s ease-out,transform .25s ease-out}
.w-sys .w-ldk:hover{border-color:#a9a7a2}
.w-sys .w-ldk:active{transform:translateY(1px)}
.w-sys .w-ldk[aria-expanded="true"]{border-color:#a9a7a2}
.w-ldk__g{width:16px;height:16px;flex:none;fill:none;stroke:#2F7A63;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease-out}
.w-ldk__v{transform-origin:12px 12px;transition:transform .25s ease-out}
.w-ldk[aria-expanded="true"] .w-ldk__v{transform:scaleY(0)}
.w-ldk:hover .w-ldk__g--down{transform:translateY(2px)}
.w-ldk[aria-expanded="true"] .w-ldk__g--down{transform:rotate(180deg)}
/* a quiet switch in the same container: the chosen word in ink, the others grey */
.w-ldsw{height:40px;min-width:0;margin:0;padding:0 14px;display:inline-flex;align-items:center;gap:16px;border:1px solid var(--w-line);border-radius:8px;font-size:var(--w-fn);line-height:26px;transition:border-color .25s ease-out}
.w-ldsw:hover,.w-ldsw:focus-within{border-color:#a9a7a2}
.w-ldsw label{position:relative;cursor:pointer;color:var(--w-grey);transition:color .25s ease-out}
.w-ldsw input{position:absolute;opacity:0;width:1px;height:1px}
.w-ldsw label:hover,.w-ldsw input:checked+span{color:var(--w-ink)}
.w-ldsw label:active span{display:inline-block;transform:translateY(1px)}
.w-ldsw input:focus-visible+span{outline:1px solid var(--w-ink);outline-offset:4px;border-radius:2px}

/* ------------------------------------------------------------ the calculator
   One sentence on white. Its numbers are words you change in place, held on
   a soft tint of Sage; the answer carries the Sage light. */
.w-sys .w-ldq{min-height:calc(100vh - var(--w-nav));min-height:calc(100svh - var(--w-nav));align-content:center;padding-top:24px;padding-bottom:8vh}
.w-ldq__in{grid-column:1/12}
.w-ldq__s{font-size:clamp(30px,3.75vw,48px);line-height:1.16;letter-spacing:-.022em;max-width:17.5em;text-wrap:balance}
.w-sys .w-ldq__more{margin-top:.5em}
.w-ldq__more[hidden]{display:none}
.w-ldq__acts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:clamp(36px,4vw,56px)}
.w-ldout{white-space:nowrap;background-image:linear-gradient(100deg,#1F5C49,#3F8A70 30%,#B9A777 52%,#2F7A63 78%,#1F5C49);background-size:220% 100%;background-position:0 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:w-drift 9s ease-in-out infinite alternate}
.w-ldq__dot[hidden]{display:none}
.w-ldwd{display:inline-block}
.w-ldn{position:relative;isolation:isolate;display:inline-block;white-space:nowrap;padding:0 .2em;margin:0 .03em;color:#1F5C49}
.w-ldn::before,.w-ldn::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:.22em;background:#EEF3EF;transform-origin:0 50%}
.w-ldn::after{background:#DDE9E1;opacity:0;transition:opacity .25s ease-out}
.w-ldn:hover::after,.w-ldn:focus-within::after{opacity:1}
.w-ldn__v{display:inline-block;min-width:.6em;text-align:center;outline:0;cursor:ew-resize;font-variant-numeric:tabular-nums;-webkit-user-select:text;user-select:text;touch-action:pan-y}
.w-sys main .w-ldn__v:focus-visible{outline:0}
.w-ldn__v:focus{cursor:text}
.w-ldn__pm{position:absolute;z-index:2;left:50%;top:100%;display:flex;background:#fff;border-radius:2px;opacity:0;pointer-events:none;transform:translate(-50%,-4px);transition:opacity .25s ease-out,transform .25s ease-out}
.w-ldn:hover .w-ldn__pm,.w-ldn:focus-within .w-ldn__pm{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.w-ldn__pm button{width:36px;height:34px;display:grid;place-items:center;border:0;background:none;margin:0;padding:0;color:var(--w-ink);cursor:pointer;transition:opacity .25s ease-out,transform .25s ease-out}
.w-ldn__pm button:hover{opacity:.5}
.w-ldn__pm button:active{transform:translateY(1px)}
.w-ldn__pm svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round}
button.w-ldn{font:inherit;letter-spacing:inherit;color:#1F5C49;background:none;border:0;cursor:pointer}
button.w-ldn:active{transform:translateY(1px)}
/* the sums: plain text in a reading column */
.w-sys .w-ldsums{padding-top:0}
.w-ldsums__in{grid-column:1/8;max-width:640px;padding-bottom:24px}
.w-ldsums__in[hidden]{display:none}
.w-sys .w-ldsums__in p+p{margin-top:16px}
.w-sys .w-ldsums__in .w-ldsums__src{margin-top:32px}
.w-ldsums .w-word{margin-top:16px;transition:opacity .25s ease-out}
.w-ldsums .w-word:hover{opacity:.55}
.w-sys .w-ldmore-links .w-close__more{margin-top:120px}

/* ------------------------------------------------------------ the mystery shop
   The request on the first screen, on white. Below it the sample report as
   a document: the week as one line, then three sentences. */
.w-sys .w-ldm{min-height:calc(100vh - var(--w-nav));min-height:calc(100svh - var(--w-nav));align-content:center;padding-top:40px;padding-bottom:calc(var(--w-nav) + 16px)}
.w-ldm__say{grid-column:1/6}
.w-ldm__say h1{font-size:clamp(30px,3.7vw,50px);max-width:12em}
.w-ldm__form{margin-top:clamp(32px,4vw,56px);max-width:440px}
/* the sample review: one statement, and one chart of how long each enquiry
   waited. Bar length is the square root of the wait (the page says so). */
.w-ldbody{grid-column:1/8;max-width:600px}
.w-sys .w-ldbody p+p{margin-top:16px}
/* the answer first in the HTML, the sentence before it drawn first: the
   same five paragraphs 16px apart, as a column with a gap */
.w-sys .w-ldbody--lead{display:flex;flex-direction:column;gap:16px}
.w-sys .w-ldbody--lead p+p{margin-top:0}
.w-ldbody--lead .w-ldbody__pre{order:-1}
.w-ldv__h{font-size:clamp(28px,3.1vw,42px);line-height:1.17;letter-spacing:-.02em;text-wrap:balance}
.w-ldv__fig{white-space:nowrap;background-image:linear-gradient(100deg,#0F3F63,#3F7BA3 40%,#8FB6CE 60%,#174E73,#0F3F63);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:w-drift 9s ease-in-out infinite alternate}
.w-sys .w-ldv__last{margin-top:clamp(40px,5vw,64px);max-width:26em}
.w-ldv__chart{grid-column:7/13;margin:0}
.w-ldv__chart ol{list-style:none;margin:0;padding:0}
.w-ldv__chart li{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;height:44px;font-size:15px;line-height:22px;font-variant-numeric:tabular-nums}
.w-ldv__l{display:flex;align-items:center;gap:10px;white-space:nowrap}
.w-ldv__l .w-chg{width:16px;height:16px}
.w-ldv__b{position:relative;display:flex;align-items:center;height:44px;min-width:0}
.w-ldv__b i{display:block;flex:none;height:10px;min-width:10px;border-radius:5px;background:linear-gradient(90deg,#0F3F63,#3F7BA3);transform-origin:0 50%}
.w-ldv__b span{margin-left:12px;white-space:nowrap}
.w-ldv__chart .is-wait .w-ldv__b i{flex:1 1 auto;border-radius:5px 0 0 5px;background:linear-gradient(90deg,#BFD6E2,rgba(191,214,226,0))}
.w-ldv__chart .is-wait .w-ldv__b span{position:absolute;right:0;margin:0;padding-left:12px;background:#fff;color:var(--w-grey)}
.w-sys .w-ldv__chart figcaption{margin-top:22px;padding-left:132px}
.w-sys .w-ldv__chart .w-ldv__k{margin-bottom:14px;padding-left:132px;text-wrap:pretty}
html.w-js .w-fill .w-ldv__b i{transform:scaleX(0);transition:transform .9s var(--w-ease);transition-delay:calc(var(--i,0) * 90ms + 200ms)}
html.w-js .w-fill .w-ldv__b span{opacity:0;transition:opacity .6s ease-out;transition-delay:calc(var(--i,0) * 90ms + 600ms)}
html.w-js .w-fill .is-wait .w-ldv__b i{transform:none;opacity:0;transition:opacity 1s ease-out;transition-delay:calc(var(--i,0) * 90ms + 500ms)}
html.w-js .w-fill.is-in .w-ldv__b i,html.w-js.w-still .w-fill .w-ldv__b i{transform:none;opacity:1}
html.w-js .w-fill.is-in .w-ldv__b span,html.w-js.w-still .w-fill .w-ldv__b span{opacity:1}
.w-ldsay p+p{margin-top:.7em}

/* ------------------------------------------------------------ the calculator's motion
   On load the sentence arrives word by word and settles, the tints draw in
   behind their numbers, and the light passes once through the answer before
   its slow drift. A changed answer fades to its new value and the light
   passes again. Off under reduced motion and with ?still. */
@media (prefers-reduced-motion:no-preference){
  html.w-js:not(.w-still) .w-ldwd{animation:w-ldword .7s var(--w-ease) both;animation-delay:calc(var(--i,0) * 45ms + 120ms)}
  html.w-js:not(.w-still) .w-ldwd .w-ldn::before{animation:w-ldtint .7s var(--w-ease) both;animation-delay:calc(var(--i,0) * 45ms + 620ms)}
  html.w-js:not(.w-still) .w-ldout{animation:w-ldpass 1.8s cubic-bezier(.45,0,.25,1) 1.1s both,w-drift 9s ease-in-out 2.9s infinite alternate}
  html.w-js:not(.w-still) .w-ldout.is-new{animation:w-ldnew .45s ease-out both,w-ldpass 1.6s cubic-bezier(.45,0,.25,1) both,w-drift 9s ease-in-out 1.6s infinite alternate}
  html.w-js:not(.w-still) .w-ldsums__in>*{animation:w-ldin .7s var(--w-ease) both;animation-delay:calc(var(--i,0) * 70ms + 80ms)}
}
@keyframes w-ldword{from{opacity:0;transform:translateY(.22em)}}
@keyframes w-ldtint{from{transform:scaleX(0)}}
@keyframes w-ldpass{from{background-position:100% 0}to{background-position:0 0}}
@keyframes w-ldnew{from{opacity:.25}}

/* ------------------------------------------------------------ less motion */
@media (prefers-reduced-motion:reduce){
  .w-ldtick__b,.w-ldtick__b svg,.w-ldk,.w-ldk__g,.w-ldk__v,.w-ldn::after,.w-ldn__pm{transition:none}
  .w-ldout{animation:none;background-position:30% 0}
  html.w-js .w-ldstep.is-in{animation:none}
  html.w-js .w-fill .w-ldv__b i,html.w-js .w-fill .w-ldv__b span{transform:none;opacity:1;transition:none}
  .w-ldv__fig{animation:none;background-position:30% 0}
}

/* ------------------------------------------------------------ phone */
@media (max-width:1000px){
  .w-ldv__chart{grid-column:1/13;margin-top:56px}
  .w-ldm__say{grid-column:1/13}
  .w-sys .w-ldm{align-content:start;padding-top:72px;padding-bottom:0}
}
@media (max-width:760px){
  .w-sys .w-ldq{display:flex;flex-direction:column;justify-content:center;padding-top:16px;padding-bottom:4vh}
  .w-ldq__s{font-size:30px;line-height:1.15}
  .w-ldout{white-space:normal;-webkit-box-decoration-break:clone;box-decoration-break:clone}
  .w-ldwd:has(>.w-ldout){display:inline}
  .w-ldq__acts{display:grid;grid-template-columns:max-content max-content;justify-content:start;gap:10px}
  .w-ldq__acts .w-btn{grid-column:1/-1;justify-self:start}
  .w-ldsw{grid-column:1/-1;justify-self:start}
  .w-ldn__pm button{width:44px;height:44px}
  .w-ldsums__in{padding-bottom:8px}
  .w-sys .w-ldmore-links .w-close__more{margin-top:88px}
  .w-sys .w-ldm{padding-top:36px}
  .w-ldm__form{margin-top:24px}
  .w-sys .w-ldm__form .w-frow>span{width:148px}
  .w-ldm__say h1{font-size:30px;line-height:1.15}
  .w-ldv__chart{margin-top:48px}
  .w-sys .w-ldv__chart .w-ldv__k{padding-left:0}
  .w-ldv__chart li{grid-template-columns:118px minmax(0,1fr)}
  .w-sys .w-ldv__chart figcaption{padding-left:0}
  .w-ldv__b span{font-size:14px}
}
/* Your letter, in Arabic (WAIS-04, 15 November 2026). The letter is a row
   that grows, its label at the top, and the sample is the two letters set
   side by side as text on white, the English and the Arabic, no sheet drawn
   around either. */
.w-sys .w-frow--area{height:auto;align-items:flex-start;padding:15px 0}
.w-frow--area textarea{flex:1;min-width:0;min-height:132px;border:0;outline:0;background:none;padding:0;margin:0;font:inherit;font-size:16px;line-height:1.55;color:var(--w-ink);resize:vertical;border-radius:0;-webkit-appearance:none;appearance:none}
.w-frow--area textarea::placeholder{color:#bdbbb6}
.w-ldlt{grid-column:7/13;margin:0;align-self:center}
.w-sys .w-ldlt__k{margin-bottom:22px}
.w-ldlt__pp{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.w-ldlt__p{margin:0;font-size:17px;line-height:1.6;color:var(--w-ink)}
.w-ldlt__p[lang=ar]{font-family:"Geeza Pro","Noto Naskh Arabic","Segoe UI",var(--w-f);font-size:18px;line-height:1.85}
@media (max-width:1000px){.w-ldlt{grid-column:1/13;margin-top:56px}}
@media (max-width:760px){.w-ldlt{margin-top:48px}.w-ldlt__pp{grid-template-columns:1fr;gap:28px}.w-ldlt__p{font-size:16px}.w-ldlt__p[lang=ar]{font-size:17px}}
