/* How we work. One idea: one pen line. It starts as today's tangle in the hero, runs through the
   four glass cards on their rail (DEC-096) as the visitor scrolls, then the set-up steps play on one dark stage. Line and states
   are added by page-how-we-work.js; with no script or reduced motion every picture stands finished. */

.hww { overflow-x: clip; }
.hww-grey { color: var(--ink-2); }
.kit-h2 .hww-grey, .kit-h1 .hww-grey { display: block; }

/* a round pen tip shows as a stray dot at the start of an undrawn line: the dash starts just off the line instead */
@media (prefers-reduced-motion: no-preference) {
  .hww .kit-draw.kit-armed [pathLength], .hww .kit-scribble.kit-armed [pathLength] { stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; }
}

/* ---------------------------------------------------------------- hero */
.hww-hero { padding-top: 72px; padding-bottom: 56px; }
.hww-hero .kit-h1 .hww-grey { margin-top: .1em; }
.hww-hero .kit-scribble > svg { bottom: .15em; height: .14em; }
.hww-hero .kit-scribble.kit-armed.is-in path { animation-delay: .9s; }
.hww-hero-stage { margin-top: 44px; aspect-ratio: 1200 / 420; }
.hww-hero .kit-hero-wash { inset: 0; height: auto; background: none; }
.hww-hero .kit-hero-wash::before, .hww-hero .kit-hero-wash::after { content: ""; position: absolute; top: 50%; aspect-ratio: 3 / 2; transform: translateY(-50%); }
.hww-hero .kit-hero-wash::before { left: 46%; width: 66%; background: radial-gradient(closest-side, color-mix(in srgb, var(--kit-accent) 24%, transparent), transparent); }
.hww-hero .kit-hero-wash::after { left: -12%; width: 52%; background: radial-gradient(closest-side, rgb(255 90 54 / 7%), transparent); }
.hww-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hww-art--tall { display: none; }
.hww-pen { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hww-ring { fill: #fff; stroke: var(--kit-accent); stroke-width: 2; }
.hww-dot { fill: var(--kit-accent); }
.hww-label { font: italic 400 22px/1 var(--font-display); fill: var(--ink); }
.hww-node { transform-box: fill-box; transform-origin: center; }

.hww-glass { position: absolute; left: 71%; top: 9%; width: 29%; height: 82%; }
.hww-glass-ring { position: absolute; left: -11px; top: calc(50% - 11px); width: 22px; height: 22px; border-radius: 50%; z-index: 2; background: var(--kit-accent);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px color-mix(in srgb, var(--kit-accent) 45%, transparent); }
.hww-glass-screen { height: 100%; display: flex; flex-direction: column; background: rgb(255 255 255 / 58%);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.hww-glass-screen .kit-screen-bar { background: rgb(255 255 255 / 40%); flex: none; }
.hww-glass-screen .kit-screen-bar { gap: 6px; }
.hww-glass-screen .kit-screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(16 24 40 / 16%); }
.hww-glass-label { position: absolute; left: 2px; top: -34px; font: italic 400 22px/1 var(--font-display); color: var(--ink); }
.hww-glass-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 26% 1fr; }
.hww-glass-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px; border-right: 1px solid var(--kit-line); }
.hww-glass-side i { display: block; height: 7px; border-radius: 9px; background: rgb(16 24 40 / 11%); }
.hww-glass-side i:first-child { background: var(--kit-accent); }
.hww-glass-side i:nth-child(2) { width: 76%; } .hww-glass-side i:nth-child(4) { width: 60%; }
.hww-glass-rows { display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0; }
.hww-glass-rows div { flex: 1; min-height: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; background: rgb(255 255 255 / 66%); box-shadow: inset 0 0 0 1px var(--kit-line); }
.hww-glass-rows u { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgb(16 24 40 / 10%); }
.hww-glass-rows i { flex: 1; height: 7px; border-radius: 9px; background: rgb(16 24 40 / 12%); }
.hww-glass-rows s { flex: none; width: 34px; height: 16px; border-radius: 9px; background: color-mix(in srgb, var(--kit-accent) 16%, #fff); }
.hww-glass-rows .is-lit { background: color-mix(in srgb, var(--kit-accent) 10%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kit-accent) 36%, transparent); }
.hww-glass-rows .is-lit u, .hww-glass-rows .is-lit s { background: var(--kit-accent); }

@media (prefers-reduced-motion: no-preference) {
  .hww-hero-stage { --T: 3.8s; }
  .hww-hero-stage.is-armed .hww-pen { stroke-dasharray: 1 1.02; stroke-dashoffset: 1.01; }
  .hww-hero-stage.is-armed.is-play .hww-pen { animation: hww-draw var(--T) linear .5s forwards; }
  @keyframes hww-draw { to { stroke-dashoffset: 0; } }
  .hww-hero-stage.is-armed .hww-node { opacity: 0; transform: scale(.4); }
  .hww-hero-stage.is-armed.is-play .hww-node { opacity: 1; transform: none; transition: opacity .45s var(--kit-ease-soft), transform .8s var(--kit-ease); transition-delay: calc(.5s + var(--at) * var(--T)); }
  .hww-hero-stage.is-armed .hww-glass { opacity: 0; transform: translateX(22px) scale(.97); }
  .hww-hero-stage.is-armed.is-play .hww-glass { opacity: 1; transform: none; transition: opacity .8s var(--kit-ease-soft), transform 1.2s var(--kit-ease); transition-delay: calc(.5s + .86 * var(--T)); }
  .hww-hero-stage.is-armed .hww-glass-rows div { opacity: 0; transform: translateY(10px); }
  .hww-hero-stage.is-armed.is-play .hww-glass-rows div { opacity: 1; transform: none; transition: opacity .5s var(--kit-ease-soft), transform .8s var(--kit-ease); transition-delay: calc(.9s + .86 * var(--T)); }
  .hww-hero-stage.is-armed.is-play .hww-glass-rows div:nth-child(2) { transition-delay: calc(1.04s + .86 * var(--T)); }
  .hww-hero-stage.is-armed.is-play .hww-glass-rows div:nth-child(3) { transition-delay: calc(1.18s + .86 * var(--T)); }
  .hww-hero-stage.is-armed.is-play .hww-glass-rows div:nth-child(4) { transition-delay: calc(1.32s + .86 * var(--T)); }
}

/* ---------------------------------------------------------------- the four glass cards on their rail, one drawn line through them */
.hww-steps { padding-bottom: 120px; }
.hww-rail { position: relative; }
.hww-rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line-strong); }   /* the line before the script draws it */
.hww-rail.has-line::before { display: none; }
.hww-rail-line { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.hww-rail-ghost, .hww-rail-ink { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hww-rail-ghost { stroke: var(--line-strong); stroke-width: 1; opacity: .6; }
.hww-rail-ink { stroke: var(--ink); stroke-width: 2; }
.hww-rail-tip { fill: var(--ink); opacity: 0; transition: opacity .3s; }
.hww-rail.is-drawing .hww-rail-tip { opacity: 1; }
.hww-rail-note { font: italic 400 21px/1 var(--font-display); fill: var(--ink); opacity: 0; transition: opacity .6s var(--kit-ease-soft); }
.hww-rail-note.is-on { opacity: 1; }
.hww-cards { list-style: none; margin: 0; padding: 0; position: relative; }
.hww-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.hww-step + .hww-step { margin-top: 12px; }
.hww-step .hww-ring { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 2px rgb(var(--tone)); }
.hww-step .hww-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgb(var(--tone)); }
.hww-step .hww-ring::before { content: ""; position: absolute; top: 50%; height: 2px; width: 38px; background: rgb(var(--tone)); transform-origin: right center; right: 100%; }
.hww-card-wrap { grid-row: 1; position: relative; }
.hww-step:nth-child(odd) .hww-card-wrap { grid-column: 1; }
.hww-step:nth-child(even) .hww-card-wrap { grid-column: 3; }
.hww-step:nth-child(even) .hww-ring::before { right: auto; left: 100%; transform-origin: left center; }
.hww-bloom { position: absolute; inset: -14% -12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--tone) / 24%), rgb(var(--tone) / 9%) 56%, transparent 80%); }
.hww-card { display: block; padding: 30px 32px 30px; color: inherit; text-decoration: none; --kit-accent: rgb(var(--tone)); background: rgb(255 255 255 / 56%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--kit-line), 0 24px 56px -32px rgb(20 28 38 / 34%);
  transition: transform .6s var(--kit-ease), box-shadow .6s var(--kit-ease); }
.hww-card:focus-visible, .hww-belief:focus-visible, .hww-trade-tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hww-card-art { display: block; width: 100%; height: auto; margin-bottom: 22px; overflow: visible; }
.hww-card .kit-h3 { font-size: 30px; line-height: 36px; }
.hww-go, .hww-belief::after { position: absolute; top: 26px; right: 26px; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / 80%); box-shadow: inset 0 0 0 1px var(--kit-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231d1d1f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8h9M8.8 4.2 12.6 8l-3.8 3.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px; transition: transform .5s var(--kit-ease); }
.hww-belief::after { content: ""; }
@media (hover: hover) and (pointer: fine) {
  .hww-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--kit-line), 0 34px 70px -32px rgb(20 28 38 / 42%); }
  .hww-card:hover .hww-go, .hww-belief:hover::after { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hww-rail.has-line .hww-step:not(.is-on) .hww-ring { box-shadow: inset 0 0 0 2px var(--line-strong); }
  .hww-step .hww-ring { transition: box-shadow .4s var(--kit-ease-soft), transform .7s var(--kit-ease); }
  .hww-step.is-on .hww-ring { animation: hww-pop .7s var(--kit-ease); }
  @keyframes hww-pop { 0% { transform: scale(.8); } 45% { transform: scale(1.22); } 100% { transform: none; } }
  .hww-step .hww-ring::after { transition: transform .5s var(--kit-ease); }
  .hww-rail.has-line .hww-step:not(.is-on) .hww-ring::after { transform: scale(0); }
  .hww-step .hww-ring::before { transition: transform .5s var(--kit-ease-soft); }
  .hww-rail.has-line .hww-step:not(.is-on) .hww-ring::before { transform: scaleX(0); }
}

/* ---------------------------------------------------------------- set-up: the one dark stage */
.hww-setup { background: #000; --kit-line: rgb(255 255 255 / 11%); }
.hww-setup .kit-pin-stage { background: #000; }
.hww-setup-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 36px; align-items: start; }
.hww-setup-head { grid-column: 1; grid-row: 1; align-self: end; }
.hww-setup-list { grid-column: 1; grid-row: 2; list-style: none; margin: 0; padding: 0; position: relative; }
.hww-setup-list::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 26px; width: 1px; background: rgb(255 255 255 / 18%); }
.hww-setup-list::after { content: ""; position: absolute; left: 6px; top: 12px; bottom: 26px; width: 1px; background: #fff; transform-origin: top; transform: scaleY(var(--p, 1)); }
.hww-setup-list li { position: relative; padding: 0 0 18px 32px; }
.hww-setup-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 40%); z-index: 1; transition: background .4s, box-shadow .4s; }
.hww-setup-list b { display: block; font: 400 21px/26px var(--font-display); color: var(--ink); }
.hww-setup-list span { display: block; font: 400 15px/22px var(--font-text); color: var(--ink-2); }
.kit-pin[data-step] .hww-setup-list li:not(.is-on) { opacity: .42; }
.hww-setup-list li.is-on::before, .hww-setup:not([data-step]) .hww-setup-list li::before { background: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgb(69 123 250 / 28%); }
.hww-stage { grid-column: 2; grid-row: 1 / span 2; position: relative; aspect-ratio: 3 / 2; align-self: center; }
.hww-stage-glow { position: absolute; inset: -14% -10%; pointer-events: none; background: radial-gradient(50% 54% at 56% 54%, rgb(62 92 255 / 34%), transparent 72%); }
.hww-sheet { position: absolute; left: 0; bottom: 2%; width: 50%; height: 62%; border-radius: 10px; background: #f6f7f8; overflow: hidden; transform: rotate(-5deg); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 70%); }
.hww-sheet-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: #e9ecef; }
.hww-sheet-bar i { display: block; width: 44%; height: 7px; border-radius: 9px; background: rgb(0 0 0 / 14%); }
.hww-sheet-grid { position: absolute; inset: 30px 0 0; background:
  repeating-linear-gradient(to right, rgb(0 0 0 / 11%) 0 1px, transparent 1px 25%),
  repeating-linear-gradient(to bottom, rgb(0 0 0 / 11%) 0 1px, transparent 1px 28px); }
.hww-screen { position: absolute; left: 13%; right: 0; top: 4%; bottom: 8%; display: flex; flex-direction: column; background: #101115; container-type: inline-size;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 12%), 0 40px 90px -30px rgb(0 0 0 / 90%); }
.hww-screen .kit-screen-bar { background: rgb(255 255 255 / 4%); flex: none; }
.hww-screen .kit-sample { background: transparent; color: rgb(255 255 255 / 66%); }
.hww-screen .hww-live { margin-left: auto; padding: 4px 9px; border-radius: 99px; font: 500 13px/1 var(--font-text); color: #fff; background: #2e7d32; box-shadow: 0 0 0 4px rgb(46 125 50 / 26%); }
.hww-screen .hww-live + .kit-sample { margin-left: 0; }
.hww-body { position: relative; flex: 1; min-height: 0; }
.hww-l { position: absolute; inset: 0; transition: opacity .5s var(--kit-ease-soft), transform .8s var(--kit-ease); }
.hww-l svg.kit-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; --kit-accent: rgb(255 255 255 / 55%); }

.hww-l-people, .hww-l-chan { opacity: 0; transform: translateY(10px); pointer-events: none; }
.hww-person { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 14px/18px var(--font-text); color: rgb(255 255 255 / 80%); white-space: nowrap; }
.hww-person i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font: 400 24px/1 var(--font-display); color: #fff; background: #1b1d24; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 24%); }
.hww-l-people svg.kit-draw { height: 100%; }
.hww-tile { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; background: #1b1d24; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%); font: 500 14px/18px var(--font-text); color: #fff; white-space: nowrap; z-index: 1; }
.hww-tile img, .hww-tile svg { width: 26px; height: 26px; flex: none; }
.hww-crest { position: absolute; left: 76%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgb(69 123 250 / 22%); color: #111; z-index: 1; }
.hww-crest svg { width: 44px; height: 44px; }

.hww-l-rows { display: flex; flex-direction: column; padding: 18px 20px 20px; gap: 14px; }
.hww-tools { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.hww-tools > b { font: 400 21px/26px var(--font-display); color: #fff; white-space: nowrap; }
.hww-chips { position: relative; display: flex; gap: 6px; transition: opacity .45s var(--kit-ease-soft) .55s; opacity: 0; }
.hww-chips i { padding: 5px 9px; border-radius: 8px; font: 500 13px/1 var(--font-text); font-style: normal; color: rgb(255 255 255 / 66%); background: rgb(255 255 255 / 8%); white-space: nowrap; }
.hww-strike { position: absolute; left: -4px; right: -4px; top: 50%; width: calc(100% + 8px); height: 12px; margin-top: -6px; overflow: visible; opacity: 0; transform: scaleX(0); transform-origin: left center; }
.hww-strike path { fill: none; stroke: #ff6a4d; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hww-team { display: flex; margin-left: auto; }
.hww-team i { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border-radius: 50%; font: 400 13px/1 var(--font-text); font-style: normal; color: #fff; background: #23262f; box-shadow: 0 0 0 2px #101115; }
.hww-rows { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.hww-rows li { flex: 1; min-height: 0; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 12px; background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 7%); }
.hww-rows img, .hww-form-ic { width: 26px; height: 26px; flex: none; }
.hww-form-ic { color: rgb(255 255 255 / 76%); } .hww-form-ic svg { width: 100%; height: 100%; display: block; }
.hww-rows div { min-width: 0; margin-right: auto; }
.hww-rows b { display: block; font: 500 15px/20px var(--font-text); color: #fff; white-space: nowrap; }
.hww-rows div span { display: block; font: 400 13px/18px var(--font-text); color: rgb(255 255 255 / 58%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hww-rows .kit-pill { flex: none; color: #cfd9ff; background: rgb(69 123 250 / 22%); }
.hww-rows li:last-child .kit-pill { color: rgb(255 255 255 / 76%); background: rgb(255 255 255 / 10%); }
@container (max-width: 520px) { .is-row i:nth-child(n+2), .hww-tools .hww-chips i:nth-child(n+3) { display: none; } .hww-rows li { padding: 0 12px; gap: 10px; } .hww-tools > b { font-size: 19px; } }

/* the steps: the finished picture is the default, each earlier step takes things back */
@media (prefers-reduced-motion: no-preference) {
  .hww-sheet { transition: opacity .6s var(--kit-ease-soft), transform 1s var(--kit-ease-soft); opacity: 0; transform: translateY(90px) rotate(-14deg); }
  .hww-setup[data-step="0"] .hww-sheet, .hww-setup[data-step="1"] .hww-sheet, .hww-setup[data-step="2"] .hww-sheet, .hww-setup[data-step="3"] .hww-sheet { opacity: 1; transform: rotate(-5deg); }
  .hww-live { transition: opacity .4s var(--kit-ease-soft), transform .6s var(--kit-ease); }
  .hww-setup[data-step="0"] .hww-live, .hww-setup[data-step="1"] .hww-live, .hww-setup[data-step="2"] .hww-live, .hww-setup[data-step="3"] .hww-live { opacity: 0; transform: scale(.8); }
  .hww-setup[data-step="0"] .hww-l-people { opacity: 1; transform: none; }
  .hww-setup[data-step="1"] .hww-l-chan { opacity: 1; transform: none; }
  .hww-setup[data-step="0"] .hww-l-rows, .hww-setup[data-step="1"] .hww-l-rows { opacity: 0; transform: translateY(14px); }
  .hww-setup[data-step="2"] .hww-chips { opacity: 1; transition-delay: 0s; }
  .hww-setup[data-step="3"] .hww-strike { opacity: 1; transform: none; transition: transform .5s cubic-bezier(.45,.05,.3,1); }
  .hww-setup[data-step="2"] .hww-rows li, .hww-setup[data-step="3"] .hww-rows li, .hww-setup[data-step="4"] .hww-rows li { animation: hww-row .7s var(--kit-ease) both; }
  .hww-setup[data-step="2"] .hww-rows li:nth-child(2) { animation-delay: .1s; } .hww-setup[data-step="2"] .hww-rows li:nth-child(3) { animation-delay: .2s; }
  @keyframes hww-row { from { opacity: .0; transform: translateY(8px); } }
  .hww-setup[data-step="3"] .hww-rows li, .hww-setup[data-step="4"] .hww-rows li { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .hww-sheet { display: none; } .hww-setup { padding-block: 96px; } .hww-setup .kit-pin-stage { background: none; } }

/* ---------------------------------------------------------------- industries */
.hww-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.hww-head-row .kit-head { margin-bottom: 0; }
.hww-trades { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.hww-trade-tile { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; background: #e9e9ee; }
.hww-trade-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--kit-ease); }
.hww-trade-tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgb(0 0 0 / 72%), transparent); }
.hww-trade-tile span { position: absolute; left: 14px; right: 12px; bottom: 14px; z-index: 1; font: 400 21px/25px var(--font-display); text-wrap: balance; }
@media (hover: hover) and (pointer: fine) { .hww-trade-tile:hover img { transform: scale(1.05); } }

/* ---------------------------------------------------------------- beliefs */
.hww-believe { padding-top: 0; }
.hww-beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hww-beliefs li { grid-column: span 2; }
.hww-beliefs li.is-wide { grid-column: span 3; }
.hww-belief { position: relative; display: block; height: 100%; padding: 28px 28px 30px; border-radius: 24px; color: inherit; text-decoration: none; --kit-accent: rgb(var(--tone));
  background: radial-gradient(90% 90% at 92% 0%, rgb(var(--tone) / 12%), transparent 70%), #f6f6f8; }
.hww-belief-art { display: block; width: min(100%, 360px); height: auto; margin: 0 auto 18px; overflow: visible; }
.hww-belief .kit-h3 { padding-right: 8px; }

/* ---------------------------------------------------------------- two ways to build */
.hww-builds { padding-top: 0; }
.hww-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hww-track { padding: 0 40px; }
.hww-track + .hww-track { border-left: 1px solid var(--line); }
.hww-track:first-child { padding-left: 0; }
.hww-track:last-child { padding-right: 0; }
.hww-track svg { display: block; width: 100%; height: auto; margin-bottom: 18px; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  /* one is sketched in a moment, the other takes its time: the picture is the point */
  .hww-track.is-quick .kit-draw.kit-armed.is-in [pathLength] { animation-duration: .35s; animation-delay: calc(var(--dl, 0) * .18ms); }
  .hww-track.is-strong .kit-draw.kit-armed.is-in [pathLength] { animation-duration: .9s; animation-delay: calc(var(--dl, 0) * .55ms); }
}
.hww-more { display: inline-flex; margin-top: 28px; }

/* ---------------------------------------------------------------- the free analysis */
.hww-free-band { padding-bottom: 112px; }
.hww-free { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 64px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 120% at 100% 100%, color-mix(in srgb, var(--kit-accent) 20%, transparent), transparent 70%), radial-gradient(60% 90% at 0% 0%, rgb(79 157 45 / 10%), transparent 70%), #f6f6f8; }
.hww-free-words .link-arrow { display: inline-flex; margin-top: 20px; }
.hww-free-words .kit-p { font-size: 19px; line-height: 28px; }
.hww-note { position: relative; padding: 34px 34px 22px; border-radius: 6px; background: #fff; box-shadow: var(--kit-shadow); transform: rotate(1.4deg); }
.hww-note.kit-armed.is-in { transform: rotate(1.4deg); }
.hww-note-rule { display: block; width: 46%; height: 8px; margin-bottom: 26px; border-radius: 9px; background: rgb(16 24 40 / 10%); }
.hww-note ol { list-style: none; margin: 0; padding: 0; }
.hww-note li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font: 400 24px/30px var(--font-display); color: var(--ink); }
.hww-note svg { flex: none; width: 28px; height: 28px; overflow: visible; }

/* ---------------------------------------------------------------- closing */
.hww-close-band { padding-bottom: 96px; }
.hww-close { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 64px 32px; border-radius: 24px; background: var(--grey); }
.hww-close .kit-p { font-size: 19px; line-height: 28px; text-wrap: balance; }
.hww-close .kit-hero-actions { margin-top: 28px; justify-content: flex-start; }
.hww-close .small { max-width: 560px; margin: 24px 0 0; color: var(--ink-2); text-wrap: pretty; }

/* ---------------------------------------------------------------- narrower */
@media (max-width: 1160px) {
  .hww-trades { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hww-trade-tile { aspect-ratio: 4 / 3.4; }
  .hww-setup-grid { column-gap: 40px; }
}
@media (max-width: 1023px) {
  .hww-free { padding: 48px; gap: 36px; }
  .hww-setup-list b { font-size: 19px; line-height: 24px; }
  .hww-setup-list li { padding-bottom: 14px; }
  .hww-setup-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 28px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* tablets: the picture gets the width, the five steps sit under it in two columns */
  .hww-setup-grid { display: flex; flex-direction: column; gap: 24px; }
  .hww-setup-head { align-self: stretch; }
  .hww-stage { order: 1; flex: none; width: 100%; height: 44vh; aspect-ratio: auto; }
  .hww-setup-list { order: 2; columns: 2; column-gap: 32px; }
  .hww-setup-list::before, .hww-setup-list::after { display: none; }
  .hww-setup-list li { break-inside: avoid; }
}
@media (max-width: 959px) {
  .hww-step { grid-template-columns: 34px minmax(0, 1fr); align-items: start; }
  .hww-step + .hww-step { margin-top: 36px; }
  .hww-step .hww-ring { grid-column: 1; justify-self: start; margin: 34px 0 0 5px; }
  .hww-step .hww-ring::before { display: none; }
  .hww-step:nth-child(n) .hww-card-wrap { grid-column: 2; }
  .hww-rail::before { left: 16px; }
  .hww-beliefs li, .hww-beliefs li.is-wide { grid-column: span 3; }
  .hww-beliefs li:last-child { grid-column: span 6; }
  .hww-free { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hww-hero { padding-top: 48px; }
  .hww-hero-stage { aspect-ratio: 360 / 700; margin-top: 32px; }
  .hww-art--wide { display: none; }
  .hww-art--tall { display: block; }
  .hww-glass { left: 4%; right: 4%; width: auto; top: 75.5%; height: 24.5%; }
  .hww-glass-ring { left: calc(62% - 11px); top: -11px; }
  .hww-hero .kit-hero-wash::before { top: auto; bottom: -6%; left: -14%; width: 128%; aspect-ratio: 5 / 4; transform: none; }
  .hww-hero .kit-hero-wash::after { top: 0; left: -20%; width: 120%; transform: none; }
  .hww-label { font-size: 21px; }
  .hww-card { padding: 22px 22px 24px; }
  .hww-card .kit-h3 { font-size: 26px; line-height: 32px; }
  .hww-go { top: 16px; right: 16px; }

  /* the phone keeps the screen in view while the five steps scroll under it */
  .hww-setup { padding-block: 72px 40px; }
  .hww-setup-grid { display: flex; flex-direction: column; }
  .hww-setup-head { align-self: stretch; }
  .hww-setup-head { margin-bottom: 24px; }
  .hww-stage { order: 1; flex: none; width: 100%; position: sticky; top: 60px; z-index: 41; aspect-ratio: 4 / 3.2; margin: 0 -4px; background: #000; }
  .hww-screen { left: 0; right: 0; top: 2%; bottom: 11%; }
  .hww-sheet { left: 7%; width: 84%; height: 44%; bottom: 1%; }
  .hww-setup-list { order: 2; margin-top: 28px; }
  .hww-setup-list li { min-height: 26vh; }
  .hww-setup-list b { font-size: 24px; line-height: 30px; }
  .hww-setup-list span { font-size: 17px; line-height: 25px; }
  .hww-setup-list li:last-child { min-height: 18vh; }
  .hww-setup-list::before, .hww-setup-list::after { bottom: 18vh; }
  .hww-person i { width: 48px; height: 48px; font-size: 20px; }
  .hww-person { font-size: 13px; }
  .hww-tile { font-size: 13px; padding: 6px 10px 6px 8px; gap: 8px; }
  .hww-tile img, .hww-tile svg { width: 22px; height: 22px; }
  .hww-tile { --x: 22% !important; }
  .hww-crest { width: 58px; height: 58px; left: 80%; box-shadow: 0 0 0 6px rgb(69 123 250 / 22%); }
  .hww-crest svg { width: 34px; height: 34px; }
  .hww-l-rows { padding: 12px 12px 12px; gap: 8px; }
  .hww-rows { gap: 6px; }

  .hww-head-row { margin-bottom: 32px; }
  .hww-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hww-trade-tile { aspect-ratio: 1 / 1.08; }
  .hww-trade-tile span { font-size: 19px; line-height: 23px; left: 12px; bottom: 12px; }
  .hww-beliefs { grid-template-columns: 1fr; }
  .hww-beliefs li:nth-child(n) { grid-column: auto; }
  .hww-belief { padding: 22px 22px 24px; }
  .hww-tracks { grid-template-columns: 1fr; }
  .hww-track:nth-child(n) { padding: 0; border-left: 0; }
  .hww-track + .hww-track { margin-top: 40px; }
  .hww-free { padding: 32px 22px; }
  .hww-note { padding: 24px 20px 12px; }
  .hww-note li { font-size: 21px; line-height: 27px; gap: 12px; }
  .hww-free-band { padding-bottom: 72px; }
  .hww-close { padding: 48px 20px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .hww-stage { position: relative; top: auto; }
  .hww-setup-list li { min-height: 0; }
}
