/*
 * Ved landing page, design "04 Ved".
 * Lead reference: the Inferact study (visible grid, hairlines, zero radius, flat).
 * Own system: the D-002 logo. Prompt sign, three bars, square dot, and its 53 degree angle.
 * Notes: DESIGN-NOTES.md
 */

:root {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --white: #ffffff;
  --ink: #0a0a0b;
  --ink-2: #4b4b50;
  --line: rgba(10, 10, 11, .12);
  --line-inv: rgba(251, 250, 246, .18);
  --blue: #0f3cc0;   /* the blue of the hero field. Meetings */
  --pine: #0c3a2d;   /* dark green. Messages, and every dark surface */
  --mint: #8fe8c6;   /* mint. Files, and every call to action */

  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gut: clamp(20px, 4vw, 48px);
  --max: 1200px;
  --edge: max(var(--gut), calc(50% - var(--max) / 2));

  /* Hatch at the angle of the logo's sign (53.13 degrees). */
  --hatch: repeating-linear-gradient(53.13deg, rgba(10, 10, 11, .1) 0 1px, transparent 1px 7px);
  --hatch-inv: repeating-linear-gradient(53.13deg, rgba(255, 255, 255, .13) 0 1px, transparent 1px 7px);
  --grain: none;
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Crect width='2' height='2' fill='%23fbfaf6' opacity='.28'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #ffffff; color-scheme: only light; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--white); }

h1, h2, h3 { font-family: var(--head); font-stretch: 106%; font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.04; }

.c { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--white); }
.skip:focus { top: 12px; }

/* The drawn grid: two column guides at the edges of the container. */
body::after {
  content: ""; position: fixed; top: 0; bottom: 0; left: calc(var(--edge) - 24px); right: calc(var(--edge) - 24px);
  border-inline: 1px solid var(--line); pointer-events: none; z-index: 4;
}

/* The three bars as a guide. They run down the left margin as the page scrolls. */
.rail { position: fixed; top: 0; bottom: 0; left: calc(50% - var(--max) / 2 - 24px - 22px); width: 13px; display: none; gap: 2px; pointer-events: none; z-index: 5; }
.rail i { flex: 1; transform-origin: top; }
.rail i:nth-child(1) { background: var(--blue); }
.rail i:nth-child(2) { background: var(--pine); }
.rail i:nth-child(3) { background: var(--mint); }
@media (min-width: 1330px) { .rail { display: flex; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .rail i { animation: rail linear both; animation-timeline: scroll(root); }
    .rail i:nth-child(2) { animation-timing-function: cubic-bezier(.35, 0, .9, .75); }
    .rail i:nth-child(3) { animation-timing-function: cubic-bezier(.6, 0, 1, .6); }
  }
}
@keyframes rail { from { transform: scaleY(.04); } to { transform: scaleY(1); } }

/* Small parts of the logo */
.dot { display: inline-block; width: .5em; height: .5em; background: var(--ink); flex: none; }
.dot--live { background: var(--act); animation: blink 1.6s steps(1) infinite; }
.cursor { display: inline-block; width: .5em; height: .5em; margin-left: -.2em; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.label { display: flex; align-items: center; gap: 10px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.label__chev { width: .6em; height: 1em; fill: var(--pine); flex: none; }
.label--inv { color: rgba(251, 250, 246, .72); }

/* Button: one look on the whole page. On hover the sign becomes the full logo. */
.btn {
  --face: var(--act); --base: var(--act-base);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 20px 0 22px;
  border-radius: 10px; border: 2px solid rgba(255, 255, 255, .55); border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .28) 100%), var(--face);
  box-shadow: 0 3px 0 var(--base), 0 4px 2px rgba(0, 0, 0, .08);
  color: var(--ink); font: 600 .875rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 5px 0 var(--base), 0 14px 12px rgba(0, 0, 0, .1), 0 6px 4px rgba(0, 0, 0, .05); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--base); }
.btn__sign { display: block; width: 9px; height: 15px; overflow: hidden; transition: width .22s cubic-bezier(.2, .7, .2, 1); }
.btn__sign svg { width: 20.26px; height: 15px; fill: var(--ink); }
.btn:hover .btn__sign, .btn:focus-visible .btn__sign { width: 20.26px; }
.btn--sm { height: 42px; padding: 0 14px 0 16px; font-size: .8rem; gap: 10px; }
.btn--sm .btn__sign { width: 7.2px; height: 12px; }
.btn--sm .btn__sign svg { width: 16.2px; height: 12px; }
.btn--sm:hover .btn__sign, .btn--sm:focus-visible .btn__sign { width: 16.2px; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link::after { content: ""; width: .48em; height: .8em; background: currentColor; clip-path: polygon(0 0, 37.5% 0, 100% 50%, 37.5% 100%, 0 100%, 62.5% 50%); transform: rotate(90deg); transition: transform .2s ease; }
.link:hover::after { transform: rotate(90deg) translateX(3px); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: var(--paper) var(--grain); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand__name { font: 700 1.3rem/1 var(--head); font-stretch: 108%; letter-spacing: -.03em; }
.brand__tag { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); font: 400 .75rem/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nav__links { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.nav__links a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 2px no-repeat; transition: background-size .2s ease; }
.nav__links a:hover { background-size: 100% 2px; }

/* Hero */
.hero { padding-block: clamp(64px, 13vh, 150px) clamp(64px, 12vh, 140px); text-align: center; }
.hero__in { display: block; }
.hero .label { justify-content: center; }
.hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 7.3vw, 6.5rem); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.per { display: inline-block; }
.par { display: inline-block; font-style: normal; font-weight: 500; color: var(--pine); }
.par:first-child { margin-right: .035em; }
.par:last-child { margin-left: .01em; }
.hero__lede { margin: 30px auto 0; max-width: 24em; text-wrap: balance; font: 500 clamp(1.25rem, 1.9vw, 1.6rem)/1.2 var(--head); font-stretch: 104%; letter-spacing: -.02em; color: var(--ink); }
.hero__act { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 30px; }
.hero__note { margin-top: 26px; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.hero__note .dot { background: var(--pine); animation: blink 1.6s steps(1) infinite; }

/* The product scene. The three sources are the three bars of the logo. */
.ask { position: relative; }
.win { position: relative; background: var(--white); border: 1px solid var(--ink); }
.win::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--hatch); border: 1px solid var(--line); z-index: -1; }
.win__body { padding: 26px 22px 20px; }
.ask__q { display: flex; align-items: baseline; gap: 12px; min-height: 2.5em; font: 600 1.2rem/1.25 var(--head); font-stretch: 104%; letter-spacing: -.015em; }
.ask__chev { width: .58em; height: .96em; fill: var(--pine); flex: none; transform: translateY(.1em); }
.ask__qt { min-width: 0; }
.ask__q .cursor { flex: none; }
.ask__a { margin-top: 12px; min-height: 4.5em; max-width: 30em; color: var(--ink); transition: opacity .35s ease, transform .35s ease; }
.src { --h: 38px; --cut: calc(var(--h) * .75); margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
.src__bar { height: var(--h); display: flex; align-items: center; gap: 14px; min-width: 0; padding-right: 14px; transform-origin: left center; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.src__bar--1 { grid-column: 1 / -1; background: var(--blue); color: #fff; padding-left: calc(var(--cut) + 14px); clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%); }
.src__bar--2 { grid-column: 1 / -1; margin-left: var(--cut); background: var(--pine); padding-left: 14px; }
.src__bar--3 { background: var(--mint); padding-left: calc(var(--cut) + 14px); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.src__dot { width: var(--h); height: var(--h); margin-left: calc(var(--h) * .557); background: var(--ink); transition: transform .3s ease .1s, opacity .2s ease .1s; }
.src__kind { flex: none; width: 5.6em; font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.src__name { min-width: 0; font-size: .92rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font: 400 .72rem/1.3 var(--mono); letter-spacing: .04em; color: var(--ink-2); }

.ask.is-typing .ask__a { opacity: 0; transform: translateY(6px); }
.ask.is-typing .src__bar { transform: scaleX(0); opacity: 0; }
.ask.is-typing .src__dot { transform: scale(0); opacity: 0; }
.ask.is-answer .src__bar--2 { transition-delay: .12s; }
.ask.is-answer .src__bar--3 { transition-delay: .24s; }
.ask.is-answer .src__dot { transition-delay: .5s; }

.ask__tabs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ask__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font: 500 .74rem/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 2px no-repeat; transition: background-size .25s ease, color .2s ease; }
.ask__tabs button::before { content: ""; width: .45em; height: .75em; background: currentColor; clip-path: polygon(0 0, 37.5% 0, 100% 50%, 37.5% 100%, 0 100%, 62.5% 50%); }
.ask__tabs button:hover { color: var(--ink); }
.ask__tabs button[aria-pressed="true"] { color: var(--ink); background-size: 100% 2px; }

/* Planned connections */
.tools { border-block: 1px solid var(--line); }
.tools__in { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; padding-block: 18px; }
.tools__list { width: 100%; justify-content: space-between; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; font-weight: 500; }
.tools__list li { display: flex; align-items: center; gap: 8px; }
.tools__list img { width: 17px; height: 17px; opacity: .78; }

/* Statement */
.say { padding-block: clamp(110px, 18vh, 200px); }

/* Ruled spacer band, as in the Inferact study: a rule, an empty strip, a rule. */
.spacer { height: clamp(42px, 5.7vw, 82px); border-block: 1px solid var(--line); }
.say__text { max-width: 21em; font: 500 clamp(1.65rem, 3.3vw, 2.95rem)/1.16 var(--head); font-stretch: 104%; letter-spacing: -.028em; text-wrap: pretty; }
.mk { background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .2em; white-space: nowrap; }
.mk--1 { background-image: linear-gradient(var(--blue), var(--blue)); }
.mk--2 { background-image: linear-gradient(var(--pine), var(--pine)); }
.mk--3 { background-image: linear-gradient(var(--mint), var(--mint)); }
.mk--0 { background-image: repeating-linear-gradient(53.13deg, var(--ink) 0 1.5px, transparent 1.5px 5px); background-size: 100% .2em; }
.say__then { margin-top: 30px; max-width: 30em; font-size: 1.2rem; color: var(--ink-2); }

/* Section heads */
.sec-head { padding-bottom: clamp(40px, 6vh, 64px); }
.sec-head p { color: var(--ink-2); max-width: 26em; }

/* A week on a project */
.week { --band: var(--dark); background: var(--band); color: var(--white); }
.week > .c { padding-block: clamp(72px, 13vh, 140px); }
.week .spacer { border-color: var(--line-inv); }
.week :focus-visible { outline-color: var(--white); }
.week .mo :focus-visible { outline-color: var(--ink); }
.week__grid { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.week__cols, .mo { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 4fr) minmax(0, 4fr); }
.week__col { display: flex; align-items: center; gap: 10px; padding: 12px 26px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.week__col--today { background: var(--paper-2) var(--hatch); color: var(--ink-2); }
.week__col--ved { background: var(--ink); color: var(--white); }
.week__col--ved svg { width: 21.6px; height: 16px; fill: var(--white); }
.mo { border-top: 1px solid var(--line); position: relative; }
.mo::before, .mo::after { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat; }
.mo::before { left: -5px; } .mo::after { right: -5px; }
.mo__sit { padding: 40px 26px 44px 0; }
.mo__day { font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mo__sit h3 { margin-top: 12px; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.12; letter-spacing: -.02em; }
.mo__today, .mo__ved { padding: 38px 30px 42px; font-size: .98rem; }
.mo__ved { display: flex; flex-direction: column; }
.mo__ved .mini { order: 1; margin: 0 0 auto; }
.mo__ved > p:not(.mo__state):not(.mo__ask) { order: 2; }
.mo__ved .mo__gain { order: 3; }
.mo__today { background: var(--paper-2) var(--hatch); color: var(--ink-2); overflow: hidden; }
.frag { transition: margin .45s cubic-bezier(.2, .7, .2, 1), rotate .45s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
.mo:hover .frag--a { margin: -8px 0 0 -6px; rotate: -5deg; }
.mo:hover .frag--b { margin: 2px 0 0 34px; rotate: 6deg; box-shadow: 3px 3px 0 rgba(20, 19, 15, .25); }
.mo:hover .frag--c { margin: 10px 0 0 -4px; rotate: -4deg; }
.mo__ved { transition: box-shadow .3s ease; }
.mo:hover .mo__ved { box-shadow: inset 0 0 0 2px var(--ink); }
.mo__ved { background: var(--white); border-inline: 1px solid var(--ink); }
.mo__state { display: none; margin-bottom: 14px; font: 500 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.mess { position: relative; height: 96px; margin-bottom: 10px; }
.frag { position: absolute; max-width: 92%; padding: 6px 10px; background: var(--white); border: 1px solid rgba(20, 19, 15, .45); color: var(--ink); font: 400 .72rem/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frag--a { left: 0; top: 4px; transform: rotate(-3deg); }
.frag--b { left: 18%; top: 34px; transform: rotate(2.2deg); }
.frag--c { left: 6%; top: 64px; transform: rotate(-1.2deg); border-style: dashed; }
.mo:nth-of-type(even) .frag--a { left: 12%; transform: rotate(2.5deg); }
.mo:nth-of-type(even) .frag--b { left: 0; transform: rotate(-2.4deg); }
.mo:nth-of-type(even) .frag--c { left: 22%; transform: rotate(1.4deg); }
.mo__ask { display: flex; align-items: baseline; gap: 10px; padding: 13px 14px; border: 1px solid var(--ink); font: 600 1.08rem/1.25 var(--head); font-stretch: 104%; letter-spacing: -.012em; margin-bottom: 14px; }
.mo__ask .cursor { align-self: center; margin-left: -.1em; display: none; }
.mo.is-asking .mo__ask .cursor { display: inline-block; }
.mo__ask svg { width: .58em; height: .96em; fill: var(--pine); flex: none; transform: translateY(.1em); }
.mini { --h: 8px; display: flex; align-items: center; gap: 6px; }
.mini li { height: var(--h); transform-origin: left; }
.mini--1 { flex: 3; background: var(--blue); }
.mini--2 { flex: 3; background: var(--pine); }
.mini--3 { flex: 2; margin-right: 4px; background: var(--mint); }
.mini--d { flex: none; width: var(--h); background: var(--ink); }
.mo__gain::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .55em; background: var(--blue); }
.mo:nth-of-type(2) .mo__gain::before { background: var(--pine); }
.mo:nth-of-type(3) .mo__gain::before { background: var(--mint); }
.mo:nth-of-type(4) .mo__gain::before { background: var(--ink); }

/* Each day has its own scene. */
.mess--calls { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.call { padding: 7px 9px; background: var(--ink); color: var(--white); font: 500 .68rem/1 var(--mono); }
.call--todo { background: var(--white); color: var(--ink-2); border: 1px dashed rgba(10, 10, 11, .5); }
.deck { flex-basis: 100%; width: max-content; max-width: 100%; flex-grow: 0; margin-top: 8px; padding: 6px 10px; background: var(--white); border: 1px solid rgba(10, 10, 11, .45); font: 400 .72rem/1.3 var(--mono); color: var(--ink); text-decoration: line-through; rotate: -1.5deg; align-self: flex-start; }
.mess--calls .deck { flex: 0 0 auto; }
.mess--calls::after { content: ""; flex-basis: 100%; order: 1; height: 0; }
.mess--calls .deck { order: 2; }
.mess--chats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-content: start; }
.chat { padding: 6px 8px; background: var(--white); border: 1px solid rgba(10, 10, 11, .45); font: 500 .74rem/1.2 var(--body); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat b { display: block; margin-bottom: 3px; font: 400 .6rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.chat:nth-child(odd) { rotate: -1.6deg; } .chat:nth-child(even) { rotate: 1.4deg; }
.chat:nth-child(1) { border-bottom: 3px solid var(--blue); } .chat:nth-child(2), .chat:nth-child(5) { border-bottom: 3px solid var(--pine); } .chat:nth-child(3) { border-bottom: 3px dashed var(--blue); } .chat:nth-child(4) { border-bottom: 3px solid var(--mint); }
.mess--gone { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.gone { flex-basis: 100%; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; width: max-content; font: 400 .7rem/1.3 var(--mono); color: var(--ink-2); }
.gone i { grid-row: span 2; width: 30px; height: 30px; border: 1px dashed var(--ink); background: var(--hatch); }
.gone b { font: 600 .88rem/1.1 var(--head); color: var(--ink); }
.lost { padding: 5px 9px; background: var(--white); border: 1px dashed rgba(10, 10, 11, .5); font: 400 .72rem/1.3 var(--mono); color: var(--ink-2); text-decoration: line-through; }

.v { margin: 2px 0 auto; }
.v--src { display: grid; gap: 6px; }
.v-src { height: 30px; display: flex; align-items: center; gap: 12px; padding-right: 10px; font-size: .84rem; font-weight: 500; white-space: nowrap; overflow: hidden; }
.v-src span { flex: none; width: 5.4em; font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.v-src--1 { background: var(--blue); color: #fff; padding-left: 34px; clip-path: polygon(0 0, 100% 0, 100% 100%, 22.5px 100%); }
.v-src--2 { background: var(--pine); margin-left: 22.5px; padding-left: 12px; }
.v--brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.v--brief li { padding: 10px 10px 9px; font: 500 .68rem/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.v--brief b { display: block; margin-bottom: 6px; font: 600 1.9rem/.9 var(--head); font-stretch: 106%; letter-spacing: -.04em; }
.v--brief li:nth-child(1) { background: var(--blue); color: #fff; } .v--brief li:nth-child(2) { background: var(--pine); } .v--brief li:nth-child(3) { background: var(--mint); }
.v--one { display: flex; align-items: center; gap: 14px; }
.v-people { display: flex; gap: 5px; }
.v-people i { width: 22px; height: 22px; background: var(--ink); }
.v-people i:nth-child(2) { background: var(--blue); } .v-people i:nth-child(4) { background: var(--pine); }
.v--one svg { width: 13px; height: 22px; fill: var(--ink); flex: none; }
.v-ans { padding: 0 14px; height: 34px; display: inline-flex; align-items: center; background: var(--mint); font: 600 .95rem/1 var(--head); }
.v--kept { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.v--kept li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 500; }
.v--kept span { flex: none; width: 5.6em; font: 500 .62rem/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.v--kept .v-next { border-bottom: 0; padding-top: 9px; font: 500 .68rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.v--kept .v-next::before { content: ""; width: .45em; height: .75em; margin-right: -4px; background: currentColor; clip-path: polygon(0 0, 37.5% 0, 100% 50%, 37.5% 100%, 0 100%, 62.5% 50%); }
.mo__gain { margin-top: 26px; font: 600 1.05rem/1.2 var(--head); font-stretch: 104%; letter-spacing: -.012em; }
.week__close { margin-top: clamp(48px, 8vh, 80px); max-width: 18em; font: 600 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--head); font-stretch: 106%; letter-spacing: -.025em; }

/* Outcomes: the logo at the size of a section */
.out { padding-block: clamp(96px, 16vh, 180px) clamp(96px, 16vh, 180px); }
.big { --u: clamp(58px, 6.4vw, 86px); position: relative; margin-top: 16px; padding-left: calc(var(--u) * 3.141); min-height: calc(var(--u) * 5.557); }
.big__chev { position: absolute; left: 0; top: 0; width: calc(var(--u) * 3.336); height: calc(var(--u) * 5.557); fill: var(--ink); }
.big__bars { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: calc(var(--u) * 1.278); }
.big__bar { position: relative; height: var(--u); display: flex; align-items: center; gap: 22px; padding-right: 24px; overflow: hidden; }
.big__bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(22%, 180px); background: repeating-linear-gradient(53.13deg, rgba(20, 19, 15, .3) 0 1px, transparent 1px 7px); -webkit-mask-image: linear-gradient(to left, #000, transparent); mask-image: linear-gradient(to left, #000, transparent); }
.big__bar--1 { grid-column: 1 / -1; background: var(--blue); color: #fff; padding-left: calc(var(--u) * .75 + 26px); clip-path: polygon(0 0, 100% 0, 100% 100%, calc(var(--u) * .75) 100%); }
.big__bar--1::after { background: repeating-linear-gradient(53.13deg, rgba(255, 255, 255, .4) 0 1px, transparent 1px 7px); }
.big__bar--2 { grid-column: 1 / -1; margin-left: calc(var(--u) * .75); background: var(--pine); padding-left: 26px; }
.big__bar--3 { background: var(--mint); padding-left: calc(var(--u) * .75 + 26px); clip-path: polygon(calc(var(--u) * .75) 0, 100% 0, 100% 100%, 0 100%); }
.big__dot { width: var(--u); height: var(--u); margin-left: calc(var(--u) * .557); background: var(--ink); }
.big__k { flex: none; width: 5em; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.big__bar strong { position: relative; z-index: 1; font: 600 clamp(1.1rem, 2.15vw, 1.8rem)/1.08 var(--head); font-stretch: 106%; letter-spacing: -.025em; }

/* Build it with us: the one dark block, raised above the page */
.build { padding-block: clamp(96px, 16vh, 180px); }
.build__card { position: relative; background: var(--dark); color: var(--white); padding: clamp(32px, 5vw, 72px); }
.build__card::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--hatch); border: 1px solid var(--line); z-index: -1; }
.build__card::after { content: ""; position: absolute; inset: 0; background: var(--dots); -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000); mask-image: linear-gradient(100deg, transparent 45%, #000); pointer-events: none; }
.build__card > * { position: relative; z-index: 1; }
.build h2 { margin-top: 22px; max-width: 13em; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: .98; letter-spacing: -.035em; }
.build__lede { margin-top: 26px; max-width: 30em; font-size: 1.2rem; color: rgba(251, 250, 246, .78); }
.steps { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-inv); }
.steps li { padding: 26px 26px 6px 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line-inv); }
.steps__n { display: flex; flex-direction: column; gap: 5px; height: 28px; justify-content: flex-end; }
.steps__n i { display: block; width: 34px; height: 6px; background: var(--white); }
.steps__n--1 i { background: var(--blue); filter: brightness(1.6); }
.steps__n--2 i:nth-child(1), .steps__n--3 i:nth-child(1) { background: var(--blue); filter: brightness(1.6); }
.steps__n--2 i:nth-child(2), .steps__n--3 i:nth-child(2) { background: var(--rib2); }
.steps__n--3 i:nth-child(3) { background: var(--act); width: 22px; }
.steps h3 { margin-top: 18px; font-size: 1.3rem; letter-spacing: -.02em; }
.steps p { margin-top: 6px; color: rgba(251, 250, 246, .72); }
.build__act { margin-top: 44px; }
.build .btn { border-color: rgba(255, 255, 255, .4); }
.end .btn { --face: var(--white); --base: rgba(10, 10, 11, .45); border-color: #fff; }
.build :focus-visible { outline-color: var(--white); }

/* Team */
.team { padding-block: clamp(96px, 16vh, 180px) clamp(120px, 20vh, 220px); }
.team__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.team__head p { margin-top: 20px; max-width: 22em; color: var(--ink-2); font-size: 1.125rem; }
.team__head .team__hint { max-width: none; display: flex; align-items: center; gap: 10px; margin-top: 30px; font: 400 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.team__hint svg { width: .6em; height: 1em; fill: var(--pine); }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tc--2 { margin-top: 44px; } .tc--3 { margin-top: 88px; }
.tc__btn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); border: 1px solid var(--ink); }
.tc__btn::after { content: ""; position: absolute; right: 0; top: 0; width: 14px; height: 14px; z-index: 2; }
.tc--1 .tc__btn::after { background: var(--blue); } .tc--2 .tc__btn::after { background: var(--pine); } .tc--3 .tc__btn::after { background: var(--mint); }
.tc__logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18%; transition: opacity .3s ease; }
.tc__logo img { max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1) brightness(0); }
.tc__logo--db img { width: 30px; }
.tc__logo strong { font: 700 1.35rem/1 var(--head); letter-spacing: -.04em; }
.tc__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: grayscale(1) contrast(1.06); transition: opacity .35s ease; }
.tc--3 .tc__face { transform: scale(1.5); transform-origin: 50% 0; }
.tc__btn:is(:hover, :focus-visible, [aria-pressed="true"]) .tc__face { opacity: 1; }
.tc__btn:is(:hover, :focus-visible, [aria-pressed="true"]) .tc__logo { opacity: 0; }

/* Closing call to action: a full yellow field */
.end { position: relative; background: var(--mint); border-block: 1px solid var(--ink); overflow: hidden; }
.end::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 42%; background: repeating-linear-gradient(53.13deg, rgba(20, 19, 15, .28) 0 1px, transparent 1px 8px); clip-path: polygon(calc(75% * .6) 0, 100% 0, 100% 100%, 0 100%); -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.end__in { position: relative; z-index: 1; padding-block: clamp(72px, 12vh, 130px); }
.end h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: .98; letter-spacing: -.035em; max-width: 12em; }
.end p { margin: 22px 0 36px; font-size: 1.2rem; max-width: 26em; }

/* Footer: the top of the sign, cut by the edge of the page */
.foot { overflow: hidden; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: end; padding-top: 64px; }
.foot__meta { padding-bottom: 40px; }
.brand--foot { margin: 0; display: inline-flex; }
.foot__line { margin-top: 22px; font: 600 1.5rem/1.1 var(--head); font-stretch: 106%; letter-spacing: -.025em; }
.foot__small { margin-top: 14px; max-width: 30em; font-size: .82rem; color: var(--ink-2); }
.foot__sign { width: 100%; height: auto; }
.foot__sign .f0 { fill: var(--ink); } .foot__sign .f1 { fill: var(--blue); } .foot__sign .f2 { fill: var(--pine); }

/* Motion. Content stays visible without JavaScript and with reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } }
@keyframes per-in { from { opacity: 0; transform: translateX(-.25em); } }
@keyframes win-in { from { opacity: 0; transform: translate(-10px, -10px); } }
@keyframes drift { 25% { translate: 3px -4px; } 60% { translate: -3px 2px; } }
@keyframes drop { from { opacity: 0; translate: 0 -46px; rotate: 14deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes nudge { 0%, 10%, 100% { translate: 0 0; } 4% { translate: 12px 0; } }
@keyframes echo { 0%, 10%, 100% { translate: 0 0; } 4% { translate: 10px 0; } }
@keyframes hop { 0%, 8%, 100% { translate: 0 0; rotate: 0deg; } 4% { translate: 0 -12px; rotate: 90deg; } }
@keyframes wait { 50% { opacity: .35; } }
@keyframes fade { 50% { opacity: .15; } }
@keyframes wobble { 50% { transform: translateY(-3px); } }
@keyframes march { to { background-position: 8.75px 0; } }
@keyframes sign-pulse { 0%, 80%, 100% { translate: 0 0; } 88% { translate: 3px 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .label, .hero h1, .hero__lede, .hero__act, .hero__note { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 { animation-delay: .08s; } .hero__lede { animation-delay: .2s; } .hero__act { animation-delay: .3s; } .hero__note { animation-delay: .4s; }
  .per { display: inline-block; animation: per-in .6s cubic-bezier(.2, .7, .2, 1) .95s both; }
  .ask { animation: win-in .7s cubic-bezier(.2, .7, .2, 1) .25s both; }
  .tc__btn { transition: translate .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
  .tc__btn:is(:hover, :focus-visible) { translate: -3px -3px; box-shadow: 6px 6px 0 var(--ink); }
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  /* The week: fragments drop in and keep moving. The question types itself, then the bars and the result arrive. */
  .js .mo .frag { opacity: 0; }
  .js .mo .mo__today > p:not(.mo__state) { opacity: 0; transition: opacity .5s ease .7s; }
  .js .mo .t-item { opacity: 0; translate: 0 -26px; transition: opacity .35s ease, translate .55s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--i) * 90ms + 100ms); }
  .js .mo .v-item { opacity: 0; translate: -14px 0; transition: opacity .35s ease, translate .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 110ms + 80ms); }
  .js .mo.answered .v-item { opacity: 1; translate: 0 0; }
  .js .mo.in .call--todo { animation: wait 1.8s steps(1) infinite; }
  .js .mo.in .gone i { animation: fade 3.2s ease-in-out infinite; }
  .js .mo.in .chat { animation: wobble 5s ease-in-out infinite; animation-delay: calc(var(--i) * -900ms); }
  .js .mo .mini li { transform: scaleX(0); transition: transform .55s cubic-bezier(.2, .7, .2, 1) .05s; }
  .js .mo .mini li:nth-child(2) { transition-delay: .17s; }
  .js .mo .mini li:nth-child(3) { transition-delay: .29s; }
  .js .mo .mini li:nth-child(4) { transform: scale(0); transform-origin: center; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1) .62s; }
  .js .mo.answered .mini li { transform: none; }
  .js .mo .mo__gain { opacity: 0; translate: 0 10px; transition: opacity .45s ease .7s, translate .5s cubic-bezier(.2, .7, .2, 1) .7s; }
  .js .mo.answered .mo__gain { opacity: 1; translate: 0 0; }
  .week__col--ved svg { animation: sign-pulse 4s ease-in-out infinite; }

  /* Outcomes: the sign moves in, the bars shoot out of it, the dot lands. Then the logo keeps a slow pulse. */
  .js .big .big__chev { opacity: 0; transform: translateX(-70px); transition: opacity .4s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .js .big.in .big__chev { opacity: 1; transform: none; animation: nudge 5s cubic-bezier(.3, 0, .2, 1) 2.4s infinite; }
  .js .big .big__bar { transform: scaleX(0); transform-origin: left center; transition: transform .8s cubic-bezier(.16, .84, .24, 1); }
  .js .big .big__bar--1 { transition-delay: .35s; } .js .big .big__bar--2 { transition-delay: .5s; } .js .big .big__bar--3 { transition-delay: .65s; }
  .js .big.in .big__bar { transform: none; animation: echo 5s cubic-bezier(.3, 0, .2, 1) 2.4s infinite; }
  .js .big.in .big__bar--1 { animation-delay: 2.5s; } .js .big.in .big__bar--2 { animation-delay: 2.58s; } .js .big.in .big__bar--3 { animation-delay: 2.66s; }
  .js .big .big__bar > * { opacity: 0; translate: -14px 0; transition: opacity .45s ease, translate .5s cubic-bezier(.2, .7, .2, 1); }
  .js .big .big__bar--1 > * { transition-delay: .85s; } .js .big .big__bar--2 > * { transition-delay: 1s; } .js .big .big__bar--3 > * { transition-delay: 1.15s; }
  .js .big.in .big__bar > * { opacity: 1; translate: 0 0; }
  .js .big .big__dot { scale: 0; transition: scale .35s cubic-bezier(.3, 1.9, .5, 1) 1.5s; }
  .js .big.in .big__dot { scale: 1; animation: hop 5s cubic-bezier(.3, 0, .2, 1) 2.9s infinite; }
  .big__bar::after { animation: march 1.1s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Medium screens */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .hero__in { grid-template-columns: 1fr; }
  .ask { margin-right: 14px; }
  .sec-head { grid-template-columns: 1fr; }
  .team__in { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 760px) {
  body::after { display: none; }
  .brand__tag { display: none; }
  .nav__in { height: 58px; gap: 12px; }
  .hero h1 { font-size: clamp(2.6rem, 13.5vw, 3.6rem); white-space: normal; line-height: .98; }
  .win__body { padding: 20px 14px 16px; }
  .ask__a { min-height: 6em; }
  .src { --h: 34px; }
  .src__kind { width: 4.9em; }
  .ask__tabs { gap: 2px 18px; }

  .week__cols { display: none; }
  .mo { grid-template-columns: 1fr; }
  .mo::before, .mo::after { display: none; }
  .mo__sit { padding: 26px 0 18px; }
  .mo__today, .mo__ved { padding: 20px 16px 22px; }
  .mo__ved { border: 1px solid var(--ink); margin-bottom: 26px; }
  .mo__state { display: block; }
  .mess { height: 92px; }

  .big { padding-left: 0; min-height: 0; }
  .big__chev { display: none; }
  .big__bars { row-gap: 12px; }
  .big__bar { height: auto; min-height: 84px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 16px 18px 16px 44px; }
  .big__bar--1 { clip-path: polygon(0 0, 100% 0, 100% 100%, 28px 100%); }
  .big__bar--2 { margin-left: 28px; padding-left: 18px; }
  .big__bar--3 { clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
  .big__dot { width: 44px; height: auto; margin-left: 12px; }
  .big__bar strong { font-size: 1.2rem; }

  .build__card { margin-right: 10px; }
  .build__card::before { inset: 10px -10px -10px 10px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line-inv); }

  .team__grid { gap: 10px; }
  .tc--2 { margin-top: 22px; } .tc--3 { margin-top: 44px; }
  .tc__logo { padding: 12%; }
  .tc__logo--db { flex-direction: column; }
  .tc__logo strong { font-size: .95rem; }
  .end::after { width: 60%; opacity: .6; }
  .foot__in { grid-template-columns: 1fr; gap: 8px; padding-top: 48px; }
  .foot__meta { padding-bottom: 28px; }
}

/* ---------- Hero on a blue pixel field (own drawing; the idea of a dithered blue field comes from the Trident study) ---------- */
.hero { --tear: 56px; position: relative; overflow: hidden; padding-bottom: calc(clamp(64px, 12vh, 140px) + var(--tear)); background: linear-gradient(#0f3cc0 calc(100% - var(--tear) - 16px), transparent 0); color: #fff; }
.js .hero { background: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.hero__in { position: relative; z-index: 1; }
.hero .label { color: rgba(255, 255, 255, .86); }
.hero .label__chev { fill: var(--act); }
.hero .par { color: var(--act); }
.hero__lede { color: #fff; }
.hero .btn { border-color: rgba(255, 255, 255, .6); box-shadow: 0 3px 0 var(--base), 0 10px 24px rgba(3, 14, 60, .45); }
.hero :focus-visible { outline-color: #fff; }
.tools { border-top: 0; }

/* ---------- The week as pills, with the three ribbons as the guide (the device comes from the GetModern study) ---------- */
.week__cols { display: none; }
.week__grid { position: relative; display: grid; gap: 150px; padding-block: 100px 150px; border: 0; }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ribbon path { fill: none; stroke-width: 10; stroke-linecap: butt; }
.ribbon .r1 { stroke: var(--rib1); } .ribbon .r2 { stroke: var(--rib2); } .ribbon .r3 { stroke: var(--act); }
.ribbon rect { fill: var(--act); }
.ribbon rect { fill: var(--white); transition: scale .3s cubic-bezier(.3, 1.8, .5, 1); transform-box: fill-box; transform-origin: center; }
.ribbon rect.off { scale: 0; }
.mo { z-index: 1; width: 86%; grid-template-columns: minmax(0, 3.1fr) minmax(0, 4fr) minmax(0, 4fr); gap: 12px; padding: 12px; border: 0; border-radius: 36px; background: var(--white); color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 2px 0 rgba(255, 255, 255, .5) inset; }
.mo:nth-of-type(even) { margin-left: auto; }
.mo::before, .mo::after { display: none; }
.mo__sit { padding: 26px 12px 26px 22px; }
.mo__day { display: inline-block; padding: 8px 13px 7px; border-radius: 99px; background: var(--blue); color: #fff; }
.mo:nth-of-type(2) .mo__day { background: var(--pine); color: var(--on-c2); }
.mo:nth-of-type(3) .mo__day { background: var(--mint); color: var(--ink); }
.mo:nth-of-type(4) .mo__day { background: var(--ink); }
.mo__sit h3 { margin-top: 18px; }
.mo__today, .mo__ved { padding: 24px 24px 26px; border-radius: 26px; }
.mo__today { background: #f1f1f4 var(--hatch); }
.mo__ved { border: 1.5px solid var(--ink); }
.week .mo + .mo .mo__ved { border-top: 1.5px solid var(--ink); margin-top: 0; }
.mo__state { display: block; color: var(--ink-2); }
.mo__ved .mo__state { color: var(--ink); }
.mo__ask { border-radius: 99px; padding: 12px 18px; }
.mo:hover .mo__ved { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .mo { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), translate .3s cubic-bezier(.2, .7, .2, 1); }
  .mo:hover { translate: 0 -4px; }
}
@media (max-width: 1000px) { .mo { width: 100%; } .week__grid { gap: 110px; } }
@media (max-width: 760px) {
  .week__grid { gap: 72px; padding-block: 64px 96px; }
  .mo { grid-template-columns: 1fr; border-radius: 28px; padding: 10px; }
  .mo__sit { padding: 18px 12px 10px 14px; }
  .mo__today, .mo__ved { padding: 18px 16px 20px; border-radius: 20px; }
  .mo__ved { margin-bottom: 0; }
  .ribbon path { stroke-width: 7; }
}
.mess--calls, .mess--chats, .mess--gone { height: auto; min-height: 96px; margin-bottom: 16px; }

/* Palette of 2026-11-15: hero blue, mint, dark green. Text on the dark green is white. */
.big__bar--2, .v-src--2, .v--brief li:nth-child(2), .src__bar--2 { color: var(--on-c2); }
.big__bar--2::after { background: repeating-linear-gradient(53.13deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 7px); }
.label__chev, .mo__ask svg, .team__hint svg { fill: var(--mark); }
.hero .label__chev { fill: var(--act); }
.par { color: var(--mark); }
.hero .par { color: var(--act); }
.week .mo__today { background: #f1f3f2 var(--hatch); }

/* ---------- Palette variations for review: the strong colours. The hero blue stays. Choose with the panel or with ?palette=0..5 ----------
   --dark: dark surfaces. --pine: the second bar (name kept from an earlier palette). --mint: the third bar and the light field.
   --act: the button and the brackets in the hero. --mark: prompt signs on white. --rib1, --rib2: ribbons on the dark band. */
:root {                         /* 0 Original: blue, red, yellow on charcoal */
  --dark: #23252b; --pine: #f0522b; --on-c2: #0a0a0b; --mint: #f5c531; --act: #f5c531; --act-base: #c2940c; --mark: #f0522b; --rib1: #3f63ff; --rib2: #f0522b;
}
html[data-palette="1"] {        /* 1 Red button: the same three, but red is the action colour */
  --dark: #0a0a0b; --act: #f0522b; --act-base: #b93a18; --mark: #0f3cc0; --rib2: #f5c531;
}
html[data-palette="2"] {        /* 2 Navy: the dark surfaces turn deep blue, so the page is blue, red and yellow only */
  --dark: #0a1440; --pine: #ff4a26; --mint: #ffcf24; --act: #ffcf24; --act-base: #c99a00; --mark: #ff4a26; --rib2: #ff4a26;
}
html[data-palette="3"] {        /* 3 Blue band: the week sits on the hero blue. The loudest version */
  --dark: #0f3cc0; --pine: #ff4a26; --mint: #ffcf24; --act: #ffcf24; --act-base: #c99a00; --mark: #ff4a26; --rib1: #ffffff; --rib2: #ff4a26;
}
html[data-palette="4"] {        /* 4 Magenta: hot pink takes the place of red */
  --dark: #17131f; --pine: #ff3e8a; --mint: #ffd42a; --act: #ffd42a; --act-base: #c79f00; --mark: #ff3e8a; --rib2: #ff3e8a;
}
html[data-palette="5"] {        /* 5 Emerald: a strong green takes the place of red */
  --dark: #10201a; --pine: #12b76a; --mint: #ffd42a; --act: #ffd42a; --act-base: #c79f00; --mark: #0e9b59; --rib2: #12b76a;
}
.pal { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 6px; background: #fff; color: #0a0a0b; border: 1px solid #0a0a0b; box-shadow: 4px 4px 0 #0a0a0b; font: 500 .7rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.pal span { padding: 0 8px 0 6px; }
.pal button { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid transparent; }
.pal button[aria-pressed="true"] { border-color: #0a0a0b; background: #f1f3f2; }
.pal i { display: flex; } .pal i b { width: 9px; height: 14px; }
.pal em { font-style: normal; }
@media (max-width: 760px) { .pal { left: 8px; right: 8px; bottom: 8px; flex-wrap: wrap; } .pal button em { display: none; } }

/* ---------- Week v3: each day is a short product run ----------
   Mechanism studied on default.com (ved-site-lab guide, components-and-motion 1.1 to 1.7):
   the scroll picks one day, the other days dim but stay readable, and the picked day plays
   its run once. JavaScript only changes attributes. CSS makes every motion. */
.mo { --day: var(--blue); --on-day: #fff; --run-ease: cubic-bezier(.22, 1, .36, 1); grid-template-columns: minmax(0, 2.9fr) minmax(0, 3.4fr) minmax(0, 4.7fr); }
.mo:nth-of-type(2) { --day: var(--pine); --on-day: var(--on-c2); }
.mo:nth-of-type(3) { --day: var(--mint); --on-day: var(--ink); }
.mo:nth-of-type(4) { --day: var(--ink); --on-day: #fff; }
.run__bar { display: flex; align-items: center; gap: 10px; min-height: 26px; margin-bottom: 14px; }
.run__bar .mo__state { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 0; }
.run__bar .mo__state svg { width: 17.5px; height: 13px; fill: var(--ink); }
.run__status { display: inline-flex; align-items: center; gap: 7px; font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.run__status::before { content: ""; width: 8px; height: 8px; background: var(--day); }
.mo:nth-of-type(3) .run__status::before { box-shadow: inset 0 0 0 1px var(--ink); }
.run__replay { display: none; width: 26px; height: 26px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: none; color: var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease, rotate .4s var(--run-ease); }
.run__replay svg { display: block; width: 100%; height: 100%; }
.run__replay:hover { background: var(--ink); color: var(--white); rotate: -90deg; }
.js .run__replay { display: block; }
.run__steps { display: grid; margin-bottom: 14px; border-top: 1px solid var(--line); }
.run__step { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 500; transition: opacity .26s ease-out; }
.run__kind { flex: none; width: 6.4em; font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.run__what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { position: relative; flex: none; width: 14px; height: 14px; background: var(--day); transition: background .26s ease-out; }
.st::after { content: ""; position: absolute; left: 4.6px; top: 1.6px; width: 3.4px; height: 7px; border: solid var(--on-day); border-width: 0 1.8px 1.8px 0; rotate: 45deg; transition: opacity .2s ease-out .08s; }
.run__step[data-status="pending"] { opacity: .42; }
.run__step[data-status="pending"] .st { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.run__step[data-status="active"] .st { background: transparent; border: 2px solid var(--line); border-top-color: var(--blue); animation: st-walk .7s steps(4) infinite; }
.run__step[data-status="pending"] .st::after, .run__step[data-status="active"] .st::after { opacity: 0; transition: none; }
@keyframes st-walk { to { rotate: 360deg; } }
.run__steps--people { display: flex; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.run__steps--people .run__step { padding: 0; border: 0; }
.run__steps--people .st { width: 28px; height: 28px; }
.run__steps--people .st::after { left: 10px; top: 5px; width: 6px; height: 12px; border-width: 0 2.4px 2.4px 0; }
.run__note { margin-left: auto; font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.run__ans { padding-left: 12px; border-left: 4px solid var(--day); font-size: .98rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.run__one { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.run__one svg { flex: none; width: 11px; height: 18px; fill: var(--ink); }
.run__one span { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; background: var(--day); color: var(--on-day); font: 600 1rem/1 var(--head); }
.run__next { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--day); color: var(--on-day); font: 500 .7rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.run__next::before { content: ""; width: .5em; height: .85em; background: currentColor; clip-path: polygon(0 0, 37.5% 0, 100% 50%, 37.5% 100%, 0 100%, 62.5% 50%); }
.mo__ask .ghost { opacity: 0; }
.mo__ask .cursor { margin-left: 0; }
.mo__ved .mo__gain { margin-top: 20px; }
/* A day out of focus gets a veil in the colour of the band. The pill stays opaque, so the ribbons do not show through it. */
.week .mo::after { content: ""; display: block; position: absolute; inset: 0; top: 0; left: 0; right: 0; width: auto; height: auto; z-index: 3; border-radius: inherit; background: var(--band); opacity: 0; pointer-events: none; transition: opacity .45s ease-out; }
.js .mo.in[data-active="false"]::after { opacity: .5; }
.js .mo.in[data-active="false"] { scale: .975; }
.js .mo.in[data-active="true"] { box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: no-preference) {
  .mo { transition: opacity .45s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1), translate .3s cubic-bezier(.2, .7, .2, 1), scale .6s var(--run-ease), box-shadow .45s ease-out; }
  .js .mo .run__out { transition: opacity .42s var(--run-ease), translate .42s var(--run-ease); }
  .js .mo:not(.answered) .run__out { opacity: 0; translate: 0 8px; }
  .js .mo .mo__gain { transition-delay: .35s; }
}
@media (prefers-reduced-motion: reduce) { .js .run__replay { display: none; } }
@media (max-width: 760px) { .mo { grid-template-columns: 1fr; } .js .mo.in[data-active="false"] { scale: 1; } .js .mo.in[data-active="false"]::after { opacity: .4; } }

/* ---------- Today scenes: each scattered box names its tool with a small app tile ----------
   Slack, Teams and Drive use the marks in assets/connectors (inlined, because a mask cannot load a file from file://).
   Email, messages, slides, documents, calls, AI chat and search are generic glyphs, not brand marks. */
.app { display: inline-block; flex: none; width: 16px; height: 16px; margin-right: 7px; border-radius: 4.5px; background: var(--app, var(--ink)); vertical-align: -3.5px; position: relative; text-decoration: none; }
.app::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--glyph) center / 62% no-repeat; mask: var(--glyph) center / 62% no-repeat; }
.app--mail { --app: #2f6fed; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 6h18v12H3z'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.app--msg { --app: #34c759; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath fill='black' d='M4 5h16v11h-9l-5 4v-4H4z'/%3E%3C/svg%3E"); }
.app--slides { --app: #e8622c; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 5h18v11H3z'/%3E%3Cpath d='M12 16v4M8 20h8'/%3E%3C/svg%3E"); }
.app--doc { --app: #2b579a; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.app--video { --app: #0f9d8a; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath fill='black' d='M3 7h11v10H3z'/%3E%3Cpath fill='black' d='M15 11l6-3v8l-6-3z'/%3E%3C/svg%3E"); }
.app--ai { --app: #0a0a0b; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath fill='black' d='M12 3l2.2 6.8L21 12l-6.8 2.2L12 21l-2.2-6.800L3 12l6.800-2.200z'/%3E%3C/svg%3E"); }
.app--search { --app: #6b6b72; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='10.500' cy='10.500' r='6'/%3E%3Cpath d='M15 15l5.500 5.500'/%3E%3C/svg%3E"); }
.app--slack { --app: #4a154b; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E"); }
.app--teams { --app: #5059c9; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.625 8.127q-.55 0-1.025-.205-.475-.205-.832-.563-.358-.357-.563-.832Q18 6.053 18 5.502q0-.54.205-1.02t.563-.837q.357-.358.832-.563.474-.205 1.025-.205.54 0 1.02.205t.837.563q.358.357.563.837.205.48.205 1.02 0 .55-.205 1.025-.205.475-.563.832-.357.358-.837.563-.48.205-1.02.205zm0-3.75q-.469 0-.797.328-.328.328-.328.797 0 .469.328.797.328.328.797.328.469 0 .797-.328.328-.328.328-.797 0-.469-.328-.797-.328-.328-.797-.328zM24 10.002v5.578q0 .774-.293 1.46-.293.685-.803 1.194-.51.51-1.195.803-.686.293-1.459.293-.445 0-.908-.105-.463-.106-.85-.329-.293.95-.855 1.729-.563.78-1.319 1.336-.756.557-1.67.861-.914.305-1.898.305-1.148 0-2.162-.398-1.014-.399-1.805-1.102-.79-.703-1.312-1.664t-.674-2.086h-5.8q-.411 0-.704-.293T0 16.881V6.873q0-.41.293-.703t.703-.293h8.59q-.34-.715-.34-1.5 0-.727.275-1.365.276-.639.75-1.114.475-.474 1.114-.75.638-.275 1.365-.275t1.365.275q.639.276 1.114.75.474.475.75 1.114.275.638.275 1.365t-.275 1.365q-.276.639-.75 1.113-.475.475-1.114.75-.638.276-1.365.276-.188 0-.375-.024-.188-.023-.375-.058v1.078h10.875q.469 0 .797.328.328.328.328.797zM12.75 2.373q-.41 0-.78.158-.368.158-.638.434-.27.275-.428.639-.158.363-.158.773 0 .41.158.78.159.368.428.638.27.27.639.428.369.158.779.158.41 0 .773-.158.364-.159.64-.428.274-.27.433-.639.158-.369.158-.779 0-.41-.158-.773-.159-.364-.434-.64-.275-.275-.639-.433-.363-.158-.773-.158zM6.937 9.814h2.25V7.94H2.814v1.875h2.25v6h1.875zm10.313 7.313v-6.75H12v6.504q0 .41-.293.703t-.703.293H8.309q.152.809.556 1.5.405.691.985 1.19.58.497 1.318.779.738.281 1.582.281.926 0 1.746-.352.82-.351 1.436-.966.615-.616.966-1.43.352-.815.352-1.752zm5.25-1.547v-5.203h-3.75v6.855q.305.305.691.452.387.146.809.146.469 0 .879-.176.41-.175.715-.48.304-.305.48-.715t.176-.879Z'/%3E%3C/svg%3E"); }
.app--drive { --app: #1a73e8; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.01 1.485c-2.082 0-3.754.02-3.743.047.01.02 1.708 3.001 3.774 6.62l3.76 6.574h3.76c2.081 0 3.753-.02 3.742-.047-.005-.02-1.708-3.001-3.775-6.62l-3.76-6.574zm-4.76 1.73a789.828 789.861 0 0 0-3.63 6.319L0 15.868l1.89 3.298 1.885 3.297 3.62-6.335 3.618-6.33-1.88-3.287C8.1 4.704 7.255 3.22 7.25 3.214zm2.259 12.653-.203.348c-.114.198-.96 1.672-1.88 3.287a423.93 423.948 0 0 1-1.698 2.97c-.01.026 3.24.042 7.222.042h7.244l1.796-3.157c.992-1.734 1.85-3.23 1.906-3.323l.104-.167h-7.249z'/%3E%3C/svg%3E"); }
.chat b { display: flex; align-items: center; margin-bottom: 5px; }
.chat b .app { width: 14px; height: 14px; margin-right: 6px; border-radius: 4px; }
.call { display: inline-flex; align-items: center; padding: 5px 9px 5px 6px; }
.call--todo .app { opacity: .45; }
.lost { text-decoration: none; } .lost s, .deck s { text-decoration: line-through; }
.deck { text-decoration: none; }

/* ---------- Softer arrivals: no overshoot, shorter travel, longer fade ---------- */
@keyframes drop { from { opacity: 0; translate: 0 -14px; rotate: 4deg; filter: blur(3px); } to { opacity: 1; translate: 0 0; rotate: 0deg; filter: blur(0); } }
@keyframes st-done { from { scale: .6; } to { scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .js .mo .frag { opacity: 0; animation: none; }
  .js .mo.lit .frag { opacity: 1; animation: drop .9s cubic-bezier(.22, 1, .36, 1) both, drift 6s ease-in-out .9s infinite; }
  .js .mo.lit .frag--b { animation-delay: .16s, 1.06s; animation-duration: .9s, 7.5s; }
  .js .mo.lit .frag--c { animation-delay: .32s, 1.22s; animation-duration: .9s, 9s; }
  .js .mo .mo__today > p:not(.mo__state) { opacity: 0; transition: opacity .7s ease .8s; }
  .js .mo.lit .mo__today > p { opacity: 1; }
  .js .mo .t-item { opacity: 0; translate: 0 -10px; filter: blur(3px); transition: opacity .7s ease, translate .8s cubic-bezier(.22, 1, .36, 1), filter .7s ease; transition-delay: calc(var(--i) * 110ms + 100ms); }
  .js .mo.lit .t-item { opacity: 1; translate: 0 0; filter: blur(0); }
  .js .mo .v-item { translate: 0 8px; transition: opacity .6s ease, translate .7s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i) * 120ms + 80ms); }
  .js .mo .run__out { transition: opacity .7s ease, translate .8s cubic-bezier(.22, 1, .36, 1), filter .7s ease; }
  .js .mo:not(.answered) .run__out { opacity: 0; translate: 0 8px; filter: blur(4px); }
  .run__step { transition: opacity .5s ease; }
  .st { transition: background .4s ease, box-shadow .4s ease; }
  .st::after { transition: opacity .35s ease .1s; }
  .run__step[data-status="done"] .st { animation: st-done .5s cubic-bezier(.22, 1, .36, 1); }
  .mo, .week .mo::after { transition-duration: .8s; }
  .mo { transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .8s ease, translate .3s cubic-bezier(.2, .7, .2, 1), scale .9s cubic-bezier(.22, 1, .36, 1), box-shadow .8s ease; }
  .ribbon rect { transition: scale .6s cubic-bezier(.22, 1, .36, 1); }
}
.chat b { letter-spacing: .02em; }

/* Zoom and Google Meet tiles. Meet uses the simple-icons mark (copy in assets/connectors). The simple-icons Zoom mark is the wordmark, which nobody can read at 16 px, so the Zoom tile is Zoom blue with a camera glyph. */
.app--zoom { --app: #0b5cff; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath fill='black' d='M3 7h11v10H3z'/%3E%3Cpath fill='black' d='M15 11l6-3v8l-6-3z'/%3E%3C/svg%3E"); }
.app--meet { --app: #00897b; --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.53 2.13 0 7.75h5.53zm.398 0v5.62h7.608v3.65l5.47-4.45c-.014-1.22.031-2.25-.025-3.46-.148-1.09-1.287-1.47-2.236-1.36zM23.1 4.32c-.802.295-1.358.995-2.047 1.49-2.506 2.05-4.982 4.12-7.468 6.19 3.025 2.59 6.04 5.18 9.065 7.76 1.218.671 1.428-.814 1.328-1.64v-13a.828.828 0 0 0-.877-.825zM.038 8.15v7.7h5.53v-7.7zm13.577 8.1H6.008v5.62c3.864-.006 7.737.011 11.58-.009 1.02-.07 1.618-1.12 1.468-2.07v-2.51l-5.47-4.68v3.65zm-13.577 0c.02 1.44-.041 2.88.033 4.31.162.948 1.158 1.43 2.047 1.31h3.464v-5.62z'/%3E%3C/svg%3E"); }

/* ---------- Calm focus: the picked pill comes forward slowly ----------
   Fault found by measurement: `.js [data-reveal]` outranked `.mo`, so `scale` and `box-shadow` had no transition and the pill jumped.
   The pill no longer fades or moves on entry. One slow change of size, veil and shadow does the work. */
.js .week .mo[data-reveal] { opacity: 1; transform: none; translate: none; scale: 1; transition: scale 1.2s cubic-bezier(.45, .05, .25, 1), box-shadow 1.2s ease; will-change: scale; }
.js .week .mo[data-reveal][data-active="false"] { scale: .955; }
.js .week .mo[data-reveal]::after { transition: opacity 1.2s cubic-bezier(.45, .05, .25, 1); }
.js .week .mo[data-reveal][data-active="false"]::after { opacity: .5; }
.js .week .mo[data-reveal][data-active="true"] { box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.week .mo:hover { translate: none; }
@media (max-width: 760px) { .js .week .mo[data-reveal][data-active="false"] { scale: 1; } .js .week .mo[data-reveal][data-active="false"]::after { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .js .week .mo[data-reveal], .js .week .mo[data-reveal]::after { transition: none; } }

/* ---------- Build it with us, simple version: the message and three points, nothing more (copy from the draft of 2026-11-14) ---------- */
.build { padding-block: clamp(88px, 14vh, 160px); }
.build h2 { margin-top: 0; max-width: none; color: var(--ink); }
.build h2 span { display: block; }
.build .steps { border-top: 1px solid var(--ink); }
.build .steps li + li { border-left-color: var(--line); }
.build .steps__n i { filter: none; }
.build .steps__n--1 i, .build .steps__n--2 i:nth-child(1), .build .steps__n--3 i:nth-child(1) { background: var(--blue); }
.build .steps__n--2 i:nth-child(2), .build .steps__n--3 i:nth-child(2) { background: var(--pine); }
.build .steps__n--3 i:nth-child(3) { background: var(--mint); }
.build .steps h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.build .steps p { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 760px) { .build .steps li + li { border-top-color: var(--line); } }

/* ---------- Build it with us on a field of the second colour, so three white sections do not follow each other ---------- */
.build { position: relative; overflow: hidden; background: var(--pine); color: var(--on-c2); border-block: 1px solid var(--ink); }
.build::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 34%; background: repeating-linear-gradient(53.13deg, rgba(10, 10, 11, .22) 0 1px, transparent 1px 8px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.build > .c { position: relative; z-index: 1; }
.build h2 { color: inherit; }
.build .steps { border-top-color: currentColor; }
.build .steps li + li { border-left-color: rgba(10, 10, 11, .3); }
.build .steps p { color: inherit; opacity: .82; }
.build .steps__n--1 i, .build .steps__n--2 i:nth-child(1), .build .steps__n--3 i:nth-child(1) { background: var(--ink); }
.build .steps__n--2 i:nth-child(2), .build .steps__n--3 i:nth-child(2) { background: var(--white); }
.build .steps__n--3 i:nth-child(3) { background: var(--mint); }
.build :focus-visible { outline-color: var(--ink); }
@media (max-width: 760px) { .build .steps li + li { border-top-color: rgba(10, 10, 11, .3); } }


/* Offer stripes: the labels are longer than the old one-word labels. */
.big__k { width: 13em; line-height: 1.3; }
@media (max-width: 760px) { .big__k { width: auto; } }

/* ---------- The week starts at the logo: it turns until the arrow points down, its bars light up, the ribbons leave them ---------- */
.week__grid { padding-top: 176px; }
.ribbon path { stroke-width: 10; }
.rsign polygon { fill: var(--white); }
.rsign__turn { transform-box: fill-box; transform-origin: center; }
.ribbon.on .rsign__bar--1 { fill: var(--rib1); }
.ribbon.on .rsign__bar--2 { fill: var(--rib2); }
.ribbon.on .rsign__bar--3 { fill: var(--act); }
.ribbon .pix rect, .ribbon rect { fill: var(--white); scale: 1; transition: opacity .3s ease; }
.ribbon .pix.off rect { opacity: 0; scale: 1; transition-delay: 0s !important; }
@media (prefers-reduced-motion: no-preference) {
  .js .ribbon:not(.on) .rsign__turn { rotate: -90deg; }
  .rsign__turn { transition: rotate 1s cubic-bezier(.6, 0, .2, 1); }
  .rsign__bar { transition: fill .45s ease; }
  .ribbon.on .rsign__bar--1 { transition-delay: .95s; }
  .ribbon.on .rsign__bar--2 { transition-delay: 1.1s; }
  .ribbon.on .rsign__bar--3 { transition-delay: 1.25s; }
  .ribbon.lit .rsign__bar { animation: bar-glow .7s ease-out; }
  .ribbon path { transition: stroke-dashoffset .5s cubic-bezier(.22, 1, .36, 1); }
}
@keyframes bar-glow { 0% { filter: brightness(1.9); } 100% { filter: brightness(1); } }
@media (max-width: 760px) { .week__grid { padding-top: 104px; } .ribbon path { stroke-width: 7; } }

/* ---------- The logo lifts, falls and hits. The hit lights the bars and shoots the ribbons. Hit at 1120 ms (IMPACT in script.js). ---------- */
.boom rect { fill: var(--white); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rsign__turn { transition: none; }
  .ribbon.on .rsign__turn { animation: slam 1.6s both; }
  .ribbon.on .rsign__bar--1, .ribbon.on .rsign__bar--2, .ribbon.on .rsign__bar--3 { transition: fill .08s linear 1.12s; }
  .ribbon.lit .rsign__bar { animation: bar-glow .9s ease-out; }
  .ribbon path { transition: stroke-dashoffset .7s cubic-bezier(.16, 1, .3, 1); }
  .ribbon.on .boom__bit { animation: bit .7s cubic-bezier(.2, .7, .3, 1) forwards; }
  .ribbon.on .boom__line { transform-box: fill-box; transform-origin: center; animation: shock .5s cubic-bezier(.16, 1, .3, 1) 1.12s forwards; }
}
@keyframes slam {
  0% { rotate: -90deg; translate: 0 0; scale: 1 1; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  46% { rotate: 0deg; translate: 0 -54px; scale: 1 1; animation-timing-function: ease-in-out; }
  56% { rotate: 0deg; translate: 0 -58px; scale: 1 1; animation-timing-function: cubic-bezier(.7, 0, 1, .5); }
  70% { rotate: 0deg; translate: 0 7px; scale: 1.14 .8; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  82% { rotate: 0deg; translate: 0 -5px; scale: .97 1.05; animation-timing-function: ease-in-out; }
  100% { rotate: 0deg; translate: 0 0; scale: 1 1; }
}
@keyframes bit { 0% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: var(--dx) var(--dy); rotate: 90deg; } }
@keyframes shock { 0% { opacity: .9; scale: .1 1; } 100% { opacity: 0; scale: 1 1; } }
@keyframes bar-glow { 0% { filter: brightness(2.4); } 100% { filter: brightness(1); } }

/* ---------- The logo stands on the line of the heading. Scroll back reverses the sequence. ---------- */
.week__grid--line { padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon.back .rsign__turn { animation: unslam .9s both; }
  .ribbon:not(.lit) path { transition: stroke-dashoffset .4s cubic-bezier(.5, 0, .8, .4); }
  .ribbon:not(.on) .rsign__bar { transition: fill .3s ease; }
}
@keyframes unslam {
  0% { rotate: 0deg; translate: 0 0; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  45% { rotate: 0deg; translate: 0 -40px; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  100% { rotate: -90deg; translate: 0 0; }
}

/* Room for the first crossing of the ribbons, between the heading and the first pill. */
.week__grid--line { padding-top: 150px; }

/* Every button opens its sign the same way: the text stays where it is and the button grows to the right.
   A negative right margin of the same size takes the growth, so nothing beside the button moves. */
.btn { transition: transform .15s ease-out, box-shadow .15s ease-out, margin-right .22s cubic-bezier(.2, .7, .2, 1); }
.btn:hover, .btn:focus-visible { margin-right: -11.26px; }
.btn--sm:hover, .btn--sm:focus-visible { margin-right: -9px; }

/* ---------- The word "Ved." becomes the logo by a true morph of its outlines (script.js draws each frame).
   While the logo stands in the heading, the word is hidden but keeps its place. ---------- */
.vedword { display: inline-block; white-space: nowrap; }
.is-logo .vedword { visibility: hidden; }
.morph { display: none; }
.ribbon.morphing .morph { display: block; }
.morph path { fill: var(--white); fill-rule: evenodd; }
/* Word mode: script.js sets the pose of the logo from the scroll. The hit adds the class "hit". */
.ribbon.hit .rsign__bar--1 { fill: var(--rib1); }
.ribbon.hit .rsign__bar--2 { fill: var(--rib2); }
.ribbon.hit .rsign__bar--3 { fill: var(--act); }
@media (prefers-reduced-motion: no-preference) {
  .ribbon.hit .rsign__bar { transition: fill .08s linear; }
  .ribbon.hit .boom__bit { animation: bit .7s cubic-bezier(.2, .7, .3, 1) forwards; }
  .ribbon.hit .boom__line { transform-box: fill-box; transform-origin: center; animation: shock .5s cubic-bezier(.16, 1, .3, 1) forwards; }
}

/* ---------- The logo in the nav and in the footer: black tile, white arrow, and the three bars in the ribbon colours. ---------- */
.brand__mark { display: block; width: 34px; height: 34px; flex: none; transition: scale .12s ease-out; }
.bm-tile { fill: #14130f; }
.bm-sign { fill: #fbfaf6; }
.bm-bar--1 { fill: var(--rib1); }
.bm-bar--2 { fill: var(--rib2); }
.bm-bar--3 { fill: var(--act); }
html[data-palette="3"] .bm-bar--1 { fill: #3f63ff; }
.brand:active .brand__mark { scale: .92; }
