/* ============================================================
   AltxDesign — the sentence form: a brief (or a portfolio) written as one sentence with blanks
   to type in and choices to pick. One module, three pages: Contact (the brief), Services (the
   brief at the end of the page) and Careers (the portfolio). Behaviour: js/sentence-form.js;
   the rules (shared with the server): js/contact-rules.js. Moved out of css/page-contact.css
   on 20 Nov 2026 (careers/services handover: "reuse the contact page's module, do not fork it").
   Every part has a reduced-motion fallback.
   ============================================================ */

@keyframes in{to{opacity:1;transform:none}}

/* ---------- THE BRIEF ---------- */
.brief{padding:clamp(56px,7vw,104px) var(--edge) clamp(96px,12vw,170px)}
.brief__in{max-width:var(--wrap);margin-inline:auto;padding-top:clamp(40px,5vw,72px);border-top:1px solid rgba(11,11,13,.16);opacity:0;animation:in .9s var(--ease-out) .7s forwards}
.brief__say{font-size:clamp(27px,4.3vw,66px);font-weight:700;letter-spacing:-.035em;line-height:1.32}
/* a blank: the hidden twin sets the width, the input lies over it, so it grows as you type */
.blank{position:relative;display:inline-block;vertical-align:baseline;min-width:2.5em;border-bottom:.055em solid rgba(11,11,13,.28);transition:border-color .3s ease;line-height:1.05}
.blank__twin{visibility:hidden;white-space:pre;padding-right:.04em}
.blank input{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;font:inherit;letter-spacing:inherit;color:var(--near);padding:0;outline:0}
.blank input::placeholder{color:rgba(11,11,13,.3);opacity:1}
.blank:focus-within{border-color:var(--near)}
.blank.is-set,.pick.is-set .pick__btn{border-color:var(--orange)}
.blank.is-bad,.pick.is-bad .pick__btn{border-color:var(--seal);animation:nudge .4s ease}
@keyframes nudge{25%{transform:translateX(-5px)}60%{transform:translateX(4px)}}
/* a choice: reads as part of the sentence, opens a short dark list */
.pick{position:relative;display:inline-block;vertical-align:baseline}
.pick__btn{display:inline-flex;align-items:baseline;gap:.22em;border:0;border-bottom:.055em solid rgba(11,11,13,.28);background:transparent;font:inherit;letter-spacing:inherit;line-height:1.05;color:rgba(11,11,13,.3);padding:0;cursor:pointer;text-align:left;transition:border-color .3s ease,color .3s ease}
.pick.is-set .pick__btn{color:var(--near)}
.pick__btn:hover{border-color:var(--near)}
.pick__btn:focus-visible{border-color:var(--near);outline:2px solid var(--ring);outline-offset:4px;border-radius:4px}
.pick__btn svg{width:.42em;height:.42em;flex:none;transform:translateY(-.08em);transition:transform .3s var(--ease-out)}
.pick.is-open .pick__btn svg{transform:translateY(-.08em) rotate(180deg)}
.pick__list{position:absolute;z-index:12;left:-14px;top:calc(100% + 10px);min-width:max(100%,260px);list-style:none;padding:8px;border-radius:var(--r-lg);background:var(--near);box-shadow:0 24px 60px rgba(11,11,13,.28);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .25s ease,transform .35s var(--ease-out),visibility 0s .25s}
.pick.is-open .pick__list{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.pick__list button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;border:0;border-radius:12px;background:transparent;color:var(--cream);font-family:inherit;font-size:clamp(16px,1.25vw,19px);font-weight:600;letter-spacing:-.01em;line-height:1.2;text-align:left;white-space:nowrap;padding:13px 14px;cursor:pointer}
/* the chosen one keeps the orange dot (the button system's "this one") */
.pick__list button::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--orange);transform:scale(0);transition:transform .25s var(--ease-out)}
.pick__list button:hover,.pick__list button:focus-visible{background:rgba(245,241,231,.1);outline:0}
.pick__list button:hover::after,.pick__list button:focus-visible::after,.pick__list button[aria-selected="true"]::after{transform:scale(1)}
.pick.is-custom .pick__btn svg{display:none}
.brief__money{display:none}
.brief__money.is-on{display:inline}
.blank.is-cheque{letter-spacing:.06em}
/* the joke lines: typed out under the sentence, with a caret; the shelf beside them catches digits */
.brief__quip{position:relative;display:flex;flex-direction:column;gap:2px;min-height:4.2em;max-width:52%;margin-top:clamp(18px,2vw,28px);font-size:clamp(18px,1.7vw,24px);font-weight:600;line-height:1.35}
.brief__quip p{min-height:1.35em}
.brief__quip p + p{color:var(--muted)}
.brief__quip.is-note{font-weight:500}
.brief__quip p.is-typing::after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-.15em;background:var(--orange);animation:caret .8s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
.cdigit{position:absolute;z-index:7;pointer-events:none;font-weight:700;line-height:1;color:var(--near);transform-origin:0 0;will-change:transform}
[data-brief-form]{position:relative}
/* while a joke plays, everything but the number and the joke steps back */
.brief__say,.brief__low,.blank,.pick__btn,.blank input{transition:color .7s ease,opacity .7s ease,border-color .7s ease}
form.is-dim .brief__say{color:rgba(11,11,13,.1)}
form.is-dim .blank,form.is-dim .pick__btn{border-color:rgba(11,11,13,.08)}
form.is-dim .blank input,form.is-dim .pick__btn{color:rgba(11,11,13,.1)}
form.is-dim .brief__money .blank{border-color:var(--orange)}
form.is-dim .brief__money .blank input{color:var(--near)}
form.is-dim .brief__low{opacity:.1;pointer-events:none}
/* under the sentence: a P.S. written on a line, then one dark bar with the small print, the
   newsletter tick and the send (the site's standard cream button, Navin 20 Nov) */
.brief__low{margin-top:clamp(20px,3vw,44px)}
.ps__head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 18px}
.ps__label{font-size:clamp(27px,4.3vw,66px);font-weight:700;letter-spacing:-.035em;line-height:1.1}
.ps__hint{font-size:16px;color:var(--muted)}
.ps textarea{display:block;width:100%;margin-top:clamp(10px,1.4vw,20px);border:0;border-bottom:.07em solid rgba(11,11,13,.28);border-radius:0;background:transparent;font:inherit;font-size:clamp(20px,2.3vw,34px);font-weight:600;letter-spacing:-.02em;line-height:1.35;color:var(--near);padding:8px 0 14px;outline:0;resize:none;overflow:hidden;transition:border-color .3s ease}
.ps textarea:focus{border-color:var(--near)}
.ps textarea.is-set{border-color:var(--orange)}
.ps ::placeholder{color:rgba(11,11,13,.3);opacity:1}
.brief__err{margin-top:clamp(24px,3vw,40px);font-size:16px;font-weight:600;color:var(--seal);min-height:1.4em}
.sendbar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:clamp(24px,4vw,72px);align-items:center;margin-top:10px;padding:clamp(22px,2.6vw,36px) clamp(22px,2.8vw,40px);border-radius:var(--r-lg);background:var(--near);color:var(--cream)}
.sendbar__fine{max-width:60ch;font-size:15px;line-height:1.5;color:rgba(245,241,231,.62)}
.sendbar__fine a{color:var(--cream);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.sendbar .cta{justify-self:end}
.optin{position:relative;display:flex;align-items:flex-start;gap:16px;margin-top:16px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.optin input{position:absolute;opacity:0;width:32px;height:32px;margin:0;cursor:pointer}
/* ticking pops the logo X into an orange box, with a small tilt */
.optin__box{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;box-shadow:inset 0 0 0 1.5px rgba(245,241,231,.55);transition:background .3s ease,box-shadow .3s ease,transform .5s var(--ease-out)}
.optin__box svg{width:15px;height:15px;transform:scale(0) rotate(-120deg);transition:transform .6s var(--ease-out)}
.optin__box path{fill:var(--near)}
.optin:hover .optin__box{box-shadow:inset 0 0 0 1.5px var(--cream)}
.optin input:focus-visible + .optin__box{outline:2px solid var(--ring);outline-offset:3px}
.optin input:checked + .optin__box{background:var(--orange);box-shadow:none;transform:rotate(-6deg)}
.optin input:checked + .optin__box svg{transform:none}
.optin__text b{display:block;font-size:clamp(18px,1.6vw,23px);font-weight:700;letter-spacing:-.02em;line-height:1.2}
.optin__text span{display:block;max-width:52ch;margin-top:4px;font-size:15px;line-height:1.45;color:rgba(245,241,231,.62)}
.optin__text .on{display:none}
.optin input:checked ~ .optin__text .on{display:block}
.optin input:checked ~ .optin__text .off{display:none}
.brief__alt{margin-top:18px;font-size:15px;line-height:1.45;color:var(--muted)}
.brief__alt a{color:var(--near);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.brief__senderr{margin-top:14px;font-size:16px;font-weight:600;color:var(--seal)}
/* sent: the thank-you takes the form's place (the address becomes contact/thanks) */
.thanks{display:none}
.brief.is-sent form{display:none}
.brief.is-sent .thanks{display:block;animation:in .9s var(--ease-out) forwards}
.thanks__title:focus{outline:0}
.thanks__title{font-size:clamp(44px,8vw,128px);font-weight:800;letter-spacing:-.05em;line-height:.92}
.thanks__lead{max-width:44ch;margin-top:clamp(20px,2.4vw,32px);font-size:clamp(20px,1.9vw,28px);font-weight:500;line-height:1.32;text-wrap:pretty}
.thanks__sum{max-width:52ch;margin-top:clamp(20px,2.4vw,32px);font-size:17px;line-height:1.5;color:var(--muted)}
.thanks__cal{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px 40px;margin-top:clamp(36px,4.4vw,64px);padding-top:clamp(24px,3vw,40px);border-top:1px solid rgba(11,11,13,.16)}
.thanks__cal b{display:block;font-size:clamp(22px,2.2vw,32px);font-weight:700;letter-spacing:-.025em;line-height:1.1}
.thanks__cal span{display:block;margin-top:6px;font-size:17px;color:var(--muted)}
.thanks__more{margin-top:28px;font-size:16px;color:var(--muted)}
.thanks__more a{color:var(--near);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* what happens next: shown only once the brief is sent. A track with five stops; the first is
   already done and pulses, and the line is on its way to the second. Vertical on phones. */
.road__title{margin-top:clamp(48px,6vw,88px);font-size:clamp(26px,2.6vw,40px);font-weight:700;letter-spacing:-.03em;line-height:1}
.road{position:relative;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:clamp(28px,3.4vw,48px)}
.road::before,.road::after{content:"";position:absolute;left:8px;top:8px;height:2px}
.road::before{right:0;background:rgba(11,11,13,.14)}
.road::after{width:0;background:linear-gradient(90deg,var(--orange),var(--gold));animation:roadline 2.6s var(--ease-io) 1.1s forwards}
@keyframes roadline{to{width:13%}}
@keyframes roadlinev{to{height:13%}}
.road li{position:relative;display:flex;flex-direction:column;gap:8px;padding:38px clamp(16px,2vw,32px) 0 0;animation:in .8s var(--ease-out) both}
.road li:nth-child(1){animation-delay:.5s}.road li:nth-child(2){animation-delay:.75s}.road li:nth-child(3){animation-delay:1s}.road li:nth-child(4){animation-delay:1.25s}.road li:nth-child(5){animation-delay:1.5s}
.road li::before{content:"";position:absolute;z-index:1;left:0;top:0;width:18px;height:18px;border-radius:50%;background:var(--cream);box-shadow:inset 0 0 0 2px rgba(11,11,13,.32)}
.road li.is-done::before{background:var(--orange);box-shadow:0 0 0 0 rgba(255,74,28,.5);animation:roadpulse 2.2s ease-out 1.4s infinite}
@keyframes roadpulse{0%{box-shadow:0 0 0 0 rgba(255,74,28,.5)}70%,100%{box-shadow:0 0 0 14px rgba(255,74,28,0)}}
.road li:not(.is-done) .step__what{color:rgba(11,11,13,.82)}
.step__when{font-size:15px;font-weight:600;color:var(--muted)}
.step__what{font-size:clamp(20px,1.9vw,28px);font-weight:700;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}

@media(max-width:900px){
  .sendbar{grid-template-columns:1fr;row-gap:24px}
  .sendbar .cta{justify-self:start}
  .ps textarea{min-height:4.2em}
  .brief__quip{max-width:none;min-height:6em}
  .road{grid-template-columns:1fr}
  .road::before,.road::after{left:8px;top:8px;width:2px;height:auto}
  .road::before{right:auto;bottom:8px}
  .road::after{height:0;background:linear-gradient(180deg,var(--orange),var(--gold));animation-name:roadlinev}
  .road li{padding:0 0 30px 40px}
  /* on a phone the list spans the sentence's width, just under the line the choice sits on */
  .brief__say{position:relative}
  .pick{position:static}
  .pick__list{left:0;right:0;top:auto;min-width:0;margin-top:1.35em}
  .pick:not(.is-open) .pick__list{display:none}
  .pick__list button{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  .road li,.road li.is-done::before{animation:none}
  .road::after{animation:none;width:13%}
  .blank.is-bad,.pick.is-bad .pick__btn{animation:none}
  .brief__quip p.is-typing::after{animation:none}
  .brief.is-sent .thanks{animation:none}
  .brief__in{animation:none;opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce) and (max-width:900px){.road::after{width:2px;height:13%}}

/* ---------- THE SHORT BRIEF: the homepage's closing section (footer handover, 21 Nov 2026) ----------
   The brief's blanks and choice, cut to four and a size smaller, in the closing section's turning
   colours (--fg, --bg, --mut, --rule: .ask in css/style.css), so it stays readable as the page
   turns to night. The fixed words step back so the blanks stand out. The send is the site's
   button (.cta), painted in the same turning colours. */
.sbrief__say{margin-top:clamp(20px,2.4vw,36px);font-size:clamp(25px,3.5vw,54px);font-weight:700;letter-spacing:-.035em;line-height:1.36;color:color-mix(in srgb,var(--fg) 62%,transparent)}
.sbrief .blank{border-bottom-color:color-mix(in srgb,var(--fg) 30%,transparent)}
.sbrief .blank input{color:var(--fg);caret-color:var(--orange)}
.sbrief .blank input::placeholder{color:color-mix(in srgb,var(--fg) 30%,transparent)}
.sbrief .pick__btn{border-bottom-color:color-mix(in srgb,var(--fg) 30%,transparent);color:color-mix(in srgb,var(--fg) 30%,transparent)}
.sbrief .blank:focus-within,.sbrief .pick__btn:hover,.sbrief .pick__btn:focus-visible{border-color:var(--fg)}
.sbrief .pick.is-set .pick__btn{color:var(--fg)}
.sbrief .blank.is-set,.sbrief .pick.is-set .pick__btn{border-color:var(--orange)}
.sbrief .blank.is-bad,.sbrief .pick.is-bad .pick__btn{border-color:var(--seal)}
.sbrief .pick__list{box-shadow:0 0 0 1px var(--rule),0 24px 60px rgba(11,11,13,.28)}
.sbrief__err{min-height:1.4em;margin-top:clamp(16px,2vw,28px);font-size:16px;font-weight:600;color:var(--seal)}
.sbrief__err a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.sbrief__foot{display:flex;flex-wrap:wrap;align-items:center;gap:16px clamp(20px,3vw,48px);margin-top:6px}
.sbrief .cta{background:var(--fg);color:var(--bg)}
.sbrief__fine,.sbrief__next{flex:1 1 320px;max-width:62ch;font-size:clamp(15px,1.2vw,17px);line-height:1.5;color:var(--mut)}
.sbrief__fine a,.sbrief__next a{color:var(--fg);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.sbrief__next{margin-top:clamp(18px,2vw,28px);font-size:clamp(18px,1.6vw,23px);max-width:52ch}
.sbrief__next strong{color:var(--fg)}
/* sent: "Got it, [name]." takes the form's place, at the closing heading's size */
.sbrief .thanks{display:none}
.sbrief.is-sent form{display:none}
.sbrief.is-sent .thanks{display:block;animation:in .9s var(--ease-out) forwards}
.sbrief .thanks__title{font-size:clamp(34px,5.4vw,84px);font-weight:700;letter-spacing:-.04em;line-height:1.04}
@media(max-width:900px){.sbrief__say{position:relative}}
@media(prefers-reduced-motion:reduce){.sbrief.is-sent .thanks{animation:none}}
/* the service line (service and package pages only): one short paragraph under the heading */
.sbrief__intro{max-width:60ch;margin-top:clamp(14px,1.6vw,22px);font-size:clamp(18px,1.6vw,23px);font-weight:500;line-height:1.4;color:var(--mut)}
/* a closing section with art (.ask--art) clips what hangs over its sides, so nothing scrolls
   sideways. Sideways only: the choice list ("We need ___") may hang below the section on a
   tablet, as it does on the plain version, and must never be cut off. */
.ask--art{overflow-x:clip}

/* ---------- SHORT BRIEF WITH ART: the six service pages and two package pages ----------
   From the forms handover (site-v3/altx-forms-handoff/short-brief-art/, 22 Nov 2026). The form on
   the left; on the right a photo with one cover-style element (tools/short-brief.mjs writes only
   the page's own). The element's colours are the section's tone variables, so they stay visible
   through the footer's turn to night. Under a fine pointer the photo, the element behind it and
   the element in front each shift a different few pixels (--ax, --ay, js/sentence-form.js; not
   --mx/--my, which css/home.css registers as percentages). At
   900px and below: one column, the photo first in a 16:11 crop. Still under reduced motion. */
/* padding-top: room under the section's top rule for what rises above the photo (the sun, the
   halftone X), since the section clips sideways only */
.sbrief-duo{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);column-gap:clamp(40px,6vw,112px);align-items:center;padding-top:24px}
.sbrief-duo .ask__title{font-size:clamp(34px,4.6vw,72px);text-wrap:balance}
.sbrief-duo form .ask__title span{font-weight:400}   /* a heading's lighter second half (Company profile); not the thank-you's name */
.sbrief-duo .sbrief__say{font-size:clamp(24px,2.9vw,44px)}
/* the form sits above the art (the orbit's rings reach under the sentence), and the art never takes
   the pointer, so it can't cover a blank; the shift listens on the whole section */
.sbrief-duo > .sbrief{position:relative;z-index:1}
.art{position:relative;margin:0;--ax:0;--ay:0;isolation:isolate;pointer-events:none}
.art__frame{position:relative;z-index:1;display:block;aspect-ratio:4 / 5;border-radius:calc(var(--r-lg) * 1.3);overflow:hidden;box-shadow:0 50px 90px -46px rgba(11,11,13,.55);transition:transform .9s var(--ease-out);transform:translate(calc(var(--ax) * -8px),calc(var(--ay) * -8px))}
.art__frame img{display:block;width:100%;height:100%;object-fit:cover}
/* half: a halftone logo X half behind the photo, an orange X in a dotted ring over its corner */
.art__ht{position:absolute;z-index:0;width:86%;aspect-ratio:1;right:-24%;top:-17%;background:radial-gradient(circle closest-side,color-mix(in srgb,var(--fg) 82%,transparent) 58%,transparent 64%) 0 0 / 3.4% 3.4%;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H9L41 25Q50 31 59 25L91 0H100V9L75 41Q69 50 75 59L100 91V100H91L59 75Q50 69 41 75L9 100H0V91L25 59Q31 50 25 41L0 9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat,linear-gradient(200deg,#000 20%,rgba(0,0,0,.25) 90%);-webkit-mask-composite:source-in;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0H9L41 25Q50 31 59 25L91 0H100V9L75 41Q69 50 75 59L100 91V100H91L59 75Q50 69 41 75L9 100H0V91L25 59Q31 50 25 41L0 9Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat,linear-gradient(200deg,#000 20%,rgba(0,0,0,.25) 90%);mask-composite:intersect;transition:transform 1.1s var(--ease-out);transform:translate(calc(var(--ax) * 22px),calc(var(--ay) * 22px)) rotate(14deg)}
.art__star,.art__ring{position:absolute;z-index:2;left:-9%;bottom:-7%;width:22%;aspect-ratio:1;overflow:visible;transition:transform 1s var(--ease-out)}
.art__star{transform:translate(calc(var(--ax) * 16px),calc(var(--ay) * 16px))}
.art__star path{fill:var(--orange);transform-origin:50px 50px;transform:rotate(45deg);animation:artturn 9s var(--ease-io) infinite}
.art__ring{left:-17%;bottom:-15%;width:38%;transform:translate(calc(var(--ax) * 16px),calc(var(--ay) * 16px))}
.art__ring circle{fill:none;stroke:color-mix(in srgb,var(--fg) 45%,transparent);stroke-width:1px;vector-effect:non-scaling-stroke;stroke-dasharray:1.5 7;transform-origin:50px 50px;animation:artspin 60s linear infinite}
/* orbit: thin rings centred on the photo's lower left corner, small orange X marks travelling them */
.art__orbit{position:absolute;z-index:0;width:150%;left:-75%;bottom:-60%;aspect-ratio:1;overflow:visible;transition:transform 1.1s var(--ease-out);transform:translate(calc(var(--ax) * 20px),calc(var(--ay) * 20px))}
.art__orb{animation:artspin linear infinite}
.art__orb circle{fill:none;stroke:color-mix(in srgb,var(--fg) 26%,transparent);stroke-width:1px;vector-effect:non-scaling-stroke}
.art__orb path{fill:var(--orange)}
/* blue (blueprint): measure lines along two sides, dashed diagonals across two corners, a dotted ring */
.art__plan{position:absolute;z-index:2;inset:0;width:100%;height:100%;overflow:visible;transition:transform 1s var(--ease-out);transform:translate(calc(var(--ax) * 12px),calc(var(--ay) * 12px))}
.art__plan *{fill:none;stroke-width:1px;vector-effect:non-scaling-stroke}
.art__plan .p-ink{stroke:color-mix(in srgb,var(--fg) 55%,transparent)}
.art__plan .p-dash{stroke:var(--orange);stroke-dasharray:8 7;animation:artmarch 1.8s linear infinite}
.art__plan .p-ring{stroke:color-mix(in srgb,var(--fg) 50%,transparent);stroke-dasharray:1.5 6}
.art__plan .p-or{stroke:var(--orange);stroke-width:1.5px}
/* hor (horizon): a half sun in the brand gradient, cut into bars, rising from behind the photo;
   its small X is in the text colour */
.art__sun{position:absolute;z-index:0;width:78%;aspect-ratio:1;right:-26%;top:-19%;border-radius:50%;background:linear-gradient(180deg,var(--gold),var(--orange) 34%,var(--seal) 62%,var(--maroon));-webkit-mask:linear-gradient(180deg,#000 0 22%,transparent 22% 24%,#000 24% 36%,transparent 36% 39%,#000 39% 49%,transparent 49% 53%,#000 53% 100%);mask:linear-gradient(180deg,#000 0 22%,transparent 22% 24%,#000 24% 36%,transparent 36% 39%,#000 39% 49%,transparent 49% 53%,#000 53% 100%);transition:transform 1.1s var(--ease-out);transform:translate(calc(var(--ax) * 20px),calc(var(--ay) * 20px))}
.art--hor .art__star path{fill:var(--fg)}
@keyframes artturn{0%,30%{transform:rotate(45deg)}50%,80%{transform:rotate(135deg)}100%{transform:rotate(225deg)}}
@keyframes artspin{to{transform:rotate(360deg)}}
@keyframes artmarch{to{stroke-dashoffset:-15}}
@media(max-width:900px){
  .sbrief-duo{grid-template-columns:1fr;row-gap:44px;padding-top:clamp(24px,8vw,56px)}
  .art{order:-1;width:min(100%,520px);margin-right:10%}
  .art__frame{aspect-ratio:16 / 11}
  .art__ht{width:70%;right:-16%;top:-22%}
  .art__star{width:16%;left:-4%;bottom:-9%}
  .art__ring{width:28%;left:-10%;bottom:-19%}
  .art__orbit{width:110%;left:-45%;bottom:-70%}
  .art__sun{width:56%;right:-12%;top:-26%}
}
@media(prefers-reduced-motion:reduce){
  .art__frame,.art__ht,.art__star,.art__ring,.art__orbit,.art__plan,.art__sun{transition:none;transform:none}
  .art__ht{transform:rotate(14deg)}
  .art__star path,.art__ring circle,.art__orb,.art__plan .p-dash{animation:none}
}

/* ---------- THE BOTS ON THE FORMS (Navin, 22 Nov 2026): the four robots from About's team section
   turn up where their job fits. Dox files every brief on its thank-you (.botsay: the bot, then a
   bubble, the same dark bubble as a poked bot on About); Tix minds the calendar card on the Contact
   thank-you; Nix's face sits by a missing-field message; Pax's by "That didn't send". In the short
   brief the bubble follows the section's own colours (it turns to night with the footer). ---------- */
.botsay{display:flex;align-items:flex-end;gap:12px;margin-top:clamp(18px,2vw,28px)}
.botsay__bot{flex:none;display:block;width:auto;height:clamp(64px,6vw,84px)}
/* .botsay .botsay__b, two classes: the calendar card styles every span in it (.thanks__cal span) */
.botsay .botsay__b{display:block;position:relative;margin:0 0 clamp(16px,1.8vw,24px);padding:9px 15px 10px;border-radius:16px 16px 16px 6px;
  background:var(--near);color:var(--cream);font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1.25;transform-origin:0 100%}
.ask .botsay .botsay__b{background:var(--fg);color:var(--bg)}
.cthanks > .botsay .botsay__b{background:var(--cream);color:var(--near)}   /* the no-script thank-you page is night */
.is-sent .botsay__bot,.botsay--now .botsay__bot{animation:botup .6s var(--ease-out) .45s both}
.is-sent .botsay__b,.botsay--now .botsay__b{animation:botpop .45s cubic-bezier(.34,1.56,.64,1) .95s both}
@keyframes botup{from{opacity:0;transform:translateY(16px)}}
@keyframes botpop{from{opacity:0;transform:scale(.8)}}
/* Nix by a missing field, Pax by a send that failed: a round face before the message */
.brief__err:not(:empty),.sbrief__err[data-brief-err]:not(:empty),
.brief__senderr:not([hidden]),.sbrief__err[data-brief-senderr]:not([hidden]){display:flex;align-items:center;gap:10px}
.brief__err:not(:empty)::before,.sbrief__err[data-brief-err]:not(:empty)::before,
.brief__senderr:not([hidden])::before,.sbrief__err[data-brief-senderr]:not([hidden])::before{content:"";flex:none;width:34px;height:34px;border-radius:50%;
  background:#EFEADD url(../assets/bots/nix-face.webp) center / cover no-repeat;animation:botpop .35s cubic-bezier(.34,1.56,.64,1) both}
.brief__senderr:not([hidden])::before,.sbrief__err[data-brief-senderr]:not([hidden])::before{background-image:url(../assets/bots/pax-face.webp)}
@media(prefers-reduced-motion:reduce){
  .is-sent .botsay__bot,.is-sent .botsay__b,.botsay--now .botsay__bot,.botsay--now .botsay__b,
  .brief__err::before,.sbrief__err::before,.brief__senderr::before{animation:none}
}
/* Tix on the calendar card: beside the button, pointing at it */
.botsay--cal{margin:0 0 0 auto}
.botsay--cal .botsay__bot{height:clamp(56px,5vw,72px)}
/* Dox catching the zeros that fall off a joke budget (Contact page): rolls in, then bobs as each one lands */
.cdox{position:absolute;z-index:6;width:auto;pointer-events:none;opacity:0;transform:translateX(-28px);transition:opacity .35s ease,transform .55s var(--ease-out)}
.cdox.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.cdox{transition:none}}
/* contact/thanks.html: the same thank-you as a page of its own, clear of the floating nav (22 Nov 2026) */
.brief--page{padding-top:clamp(128px,14vw,190px)}
