
  body { font-variant-numeric: tabular-nums; }
  /* the client's own logo, as supplied (white and gold, for dark grounds) */
  .av-logo, .nav__logo .av-logo { display: block; height: 36px; width: auto; flex: none; }
  @media (max-width: 639px) { .nav__logo .av-logo { height: 30px; } }
  .footer .av-logo { height: 44px; }

  /* HERO: the audit report's window on the silk ground, one fact card on its lower left */
  .av-win { position: absolute; left: var(--s-7); right: var(--s-7); top: var(--s-7); background: #111113; color: #edeae3; border-radius: 12px; overflow: hidden;
    font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(255 255 255 / .09), 0 30px 70px -30px rgb(0 0 0 / .9); }
  .av-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 13px; color: #a3a09a; }
  .av-win__dots { display: flex; gap: 6px; } .av-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #36363d; }
  .av-win__body { padding: 20px 22px 26px; display: grid; gap: 18px; }
  .av-kpis { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .av-kpi small { display: block; font-size: 13px; color: #a3a09a; margin-bottom: 6px; }
  .av-kpi b { display: block; font: 600 44px/1 var(--font-display); letter-spacing: -0.03em; color: #f0605a; }
  .av-kpi b span { font-size: 16px; font-weight: 500; color: #a3a09a; letter-spacing: 0; margin-left: 4px; }
  .av-kpi--nota b { font-size: 28px; color: #edeae3; }
  .av-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
  .av-chip::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
  .av-chip--mid { background: rgb(227 161 75 / .14); color: #e3a14b; } .av-chip--mid::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
  .av-chip--bad { background: rgb(240 96 90 / .14); color: #f0605a; }
  .av-chip--ok { background: rgb(111 191 142 / .14); color: #6fbf8e; } .av-chip--ok::before { border-radius: 50%; }
  .av-chip--gold { background: rgb(179 141 50 / .14); color: #c8a44c; } .av-chip--gold::before { transform: rotate(45deg) scale(.8); }
  .av-stage { display: grid; grid-template-columns: 96px minmax(0, 1fr) 84px; align-items: center; gap: 14px; padding: 9px 0; font-size: 13px; }
  .av-stage > span:first-child b { display: block; font-weight: 600; color: #edeae3; }
  .av-stage > span:first-child small { color: #a3a09a; font-size: 12px; }
  .av-stage__bar { position: relative; height: 26px; border-radius: 5px; background: rgb(255 255 255 / .05); }
  .av-stage__bar i { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 5px; background: #cfcbc3; }
  .av-stage__bar em { position: absolute; top: -4px; bottom: -4px; left: var(--ref); width: 2px; background: #b38d32; border-radius: 2px; }
  .av-stage__eur { justify-self: end; font-weight: 600; color: #f0605a; white-space: nowrap; }
  .av-stage__eur.is-flat { color: #a3a09a; font-weight: 500; }
  .av-legend { display: flex; gap: 18px; font-size: 12px; color: #a3a09a; }
  .av-legend i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; background: #cfcbc3; margin-right: 6px; }
  .av-legend i.is-ref { width: 2px; height: 12px; background: #b38d32; vertical-align: -2px; }
  .hero__media .ly-float { z-index: 2; }
  /* the second button keeps a hairline on the black ground */
  .btn--secondary { box-shadow: inset 0 0 0 1px rgb(237 234 227 / .3); }
  @media (max-width: 1279px) { .av-win .av-kv, .av-win .av-legend { display: none; } }
  @media (max-width: 639px) { .hero__media .ly-float, .av-win .av-stage:nth-of-type(1), .av-win .av-stage:nth-of-type(4) { display: none; } }
  @media (max-width: 1023px) { .av-win { left: var(--s-5); right: var(--s-5); top: var(--s-5); } }
  @media (max-width: 639px) { .av-win { left: var(--s-4); right: var(--s-4); top: var(--s-4); } .av-win__bar { height: 32px; } .av-win__body { padding: 14px 14px 18px; gap: 12px; }
    .av-kpi b { font-size: 32px; } .av-kpi--nota b { font-size: 22px; } .av-kpis { padding-bottom: 12px; } .av-stage { grid-template-columns: 84px minmax(0, 1fr) 72px; gap: 10px; } .av-legend { display: none; } }

  /* APP-FRAME: the whole recipe (sections-library.md, app-frame) */
  .app.ui { --fx-bg: #111113; --fx-surface: #18181b; --fx-ink: #edeae3; --fx-muted: #a3a09a; --fx-accent: #c8a44c; --fx-accent-ink: #09090a;
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
  .app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
  .app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
  .app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
  @media (max-width: 1023px) {
    .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .app > .app__pane--list { max-height: 252px; }
    .app > .app__pane--list::after { display: none; }
    .app .ui-win__side { display: none; }
    .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
    .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
  }
  @media (max-width: 639px) {
    .app.ui { grid-template-rows: minmax(0, 1fr); }
    .app > .app__pane--list { display: none; }
    .app > .app__pane + .app__pane { border-top: 0; }
  }
  /* the open item: one stage of the funnel as the report shows it (the loss, why, what to do) */
  .av-open { padding: 18px 22px 0; display: grid; gap: 16px; align-content: start; background: var(--u-bg); }
  .av-open__head { display: flex; align-items: center; gap: 10px; }
  .av-open__name { font-size: 15px; font-weight: 600; line-height: 20px; }
  .av-open__h { font-size: 12px; line-height: 16px; color: var(--u-muted); margin-bottom: 6px; }
  .av-open__fig { display: flex; align-items: baseline; gap: 10px; }
  .av-open__fig b { font: 600 34px/1 var(--font-display); letter-spacing: -0.03em; color: #f0605a; }
  .av-open__fig span { font-size: 13px; color: var(--u-muted); }
  .av-kv { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 6px 12px; font-size: 13px; line-height: 20px; }
  .av-kv > span:nth-child(odd) { color: var(--u-muted); }
  .av-kv > span:nth-child(even) { color: var(--u-ink); }
  .av-log { display: grid; gap: 0; font-size: 13px; line-height: 20px; }
  .av-log > div { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--u-line); }
  .av-log i { font-style: normal; font-weight: 600; font-size: 12px; color: #c8a44c; }
  .av-log time { color: var(--u-muted); font-size: 12px; white-space: nowrap; }
  .av-open__chart { display: block; width: 100%; height: auto; }
  .av-open__chart text { font: 500 12px var(--font-text); fill: #a3a09a; }
  .av-open__chart text.is-num { font-weight: 600; fill: #edeae3; text-anchor: end; }

  /* PAGE GROUND: three slow pools of gold and one grain tile behind every base section; transforms only, still under reduced motion */
  .av-ground { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #09090a; }
  .av-ground i { position: absolute; width: 78vmax; height: 78vmax; border-radius: 50%; will-change: transform; }
  .av-ground i:nth-child(1) { left: -26vmax; top: -34vmax; background: radial-gradient(closest-side, rgb(179 141 50 / .30), rgb(179 141 50 / .12) 42%, rgb(179 141 50 / .03) 68%, transparent 80%); animation: av-g1 22s ease-in-out infinite alternate; }
  .av-ground i:nth-child(2) { right: -34vmax; top: 8vh; background: radial-gradient(closest-side, rgb(168 121 42 / .26), rgb(140 112 28 / .10) 45%, rgb(140 112 28 / .03) 68%, transparent 80%); animation: av-g2 29s ease-in-out infinite alternate; }
  .av-ground i:nth-child(3) { left: 12vw; bottom: -52vmax; background: radial-gradient(closest-side, rgb(237 234 227 / .10), rgb(179 141 50 / .06) 46%, transparent 76%); animation: av-g3 25s ease-in-out infinite alternate; }
  .av-ground b { position: absolute; inset: -30% -60%; background: linear-gradient(112deg, transparent 44%, rgb(200 164 76 / .07) 49%, rgb(237 234 227 / .05) 50%, rgb(200 164 76 / .07) 51%, transparent 56%); animation: av-sheen 17s linear infinite; will-change: transform; }
  .av-ground::after { content: ""; position: absolute; inset: 0; opacity: .55; mix-blend-mode: overlay;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 240px 240px; }
  @keyframes av-g1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(22vw, 18vh, 0) scale(1.18); } }
  @keyframes av-g2 { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-26vw, 22vh, 0) scale(.9); } }
  @keyframes av-g3 { from { transform: translate3d(-10vw, 0, 0) scale(.95); } to { transform: translate3d(24vw, -20vh, 0) scale(1.15); } }
  @keyframes av-sheen { from { transform: translate3d(-45%, 0, 0); } to { transform: translate3d(45%, 0, 0); } }
  @media (prefers-reduced-motion: reduce) { .av-ground i, .av-ground b { animation: none; } }

  /* FUGAS: the funnel as one pipe that narrows; under each joint, what falls out and what it costs */
  .av-leak { --nh: 96px; --gap: 72px; --k: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; row-gap: var(--gap); margin-top: var(--s-8); }
  .av-leak__node { grid-row: 1; height: var(--nh); min-width: 144px; padding: 0 22px; display: grid; align-content: center; justify-items: start; gap: 2px; background: #111113; border-radius: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
  .av-leak__node b { font: 600 36px/1 var(--font-display); letter-spacing: -0.03em; color: #edeae3; }
  .av-leak__node span { font-size: 14px; line-height: 18px; color: #a3a09a; }
  .av-leak__node--end { box-shadow: 0 0 0 1px rgb(179 141 50 / .7), 0 0 40px -8px rgb(179 141 50 / .5); }
  .av-leak__node--end b { color: #c8a44c; }
  .av-leak__link { grid-row: 1; position: relative; height: calc(var(--a) * var(--k)); overflow: hidden; background: linear-gradient(90deg, #b38d32, #c8a44c);
    clip-path: polygon(0 0, 100% calc(50% - var(--b) * var(--k) / 2), 100% calc(50% + var(--b) * var(--k) / 2), 0 100%); transform-origin: 0 50%; }
  .av-leak__link::after { content: ""; position: absolute; inset: 0 0 0 -44px; background: repeating-linear-gradient(90deg, transparent 0 26px, rgb(255 255 255 / .4) 35px, transparent 44px); animation: av-flow 1.1s linear infinite; }
  .av-leak__drop { grid-row: 2; grid-column: var(--c) / span 3; justify-self: center; position: relative; width: min(100%, 280px); display: grid; justify-items: center; gap: 8px; text-align: center; }
  .av-leak__drop::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 10px); width: 2px; margin-left: -1px; height: calc(var(--nh) / 2 + var(--gap) - 14px);
    background: repeating-linear-gradient(180deg, #f0605a 0 5px, transparent 5px 10px); opacity: .7; }
  .av-leak__drop::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 10px + var(--nh) / 2 + var(--gap) - 22px); width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #f0605a;
    box-shadow: 0 0 12px 2px rgb(240 96 90 / .7); animation: av-drip 1.7s cubic-bezier(.5, 0, .9, .6) infinite; animation-delay: var(--dd, 0s); }
  .av-leak__drop b { font: 600 88px/1 var(--font-display); letter-spacing: -0.04em; color: #f0605a; }
  .av-leak__drop span { font-size: 18px; line-height: 24px; font-weight: 500; color: #edeae3; }
  .av-leak__drop em { font-style: normal; height: 28px; padding: 0 12px; font-size: 13px; }
  @keyframes av-flow { to { transform: translate3d(44px, 0, 0); } }
  @keyframes av-drip { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate3d(0, calc(var(--nh) / 2 + var(--gap) - 22px), 0) scale(1); opacity: 0; } }
  /* the entrance: left to right, once, when the funnel is on screen (script at the foot adds is-in; without script it stands) */
  html.av-js .av-leak :is(.av-leak__node, .av-leak__drop) { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s ease var(--d, 0s), transform .5s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
  html.av-js .av-leak .av-leak__link { transform: scaleX(0); transition: transform .55s cubic-bezier(.3, .7, .2, 1) var(--d, 0s); }
  html.av-js .av-leak.is-in :is(.av-leak__node, .av-leak__drop) { opacity: 1; transform: none; }
  html.av-js .av-leak.is-in .av-leak__link { transform: none; }
  @media (max-width: 1023px) { .av-leak { --nh: 64px; --gap: 44px; --k: .6; } .av-leak__node { min-width: 88px; padding: 0 12px; } .av-leak__node b { font-size: 22px; } .av-leak__node span { font-size: 13px; line-height: 16px; } .av-leak__drop b { font-size: 44px; } .av-leak__drop span { font-size: 14px; line-height: 20px; } .av-leak__drop em { height: 24px; padding: 0 9px; font-size: 12px; } }
  @media (max-width: 639px) {
    /* a phone turns the pipe upright: the stages down the left, each loss beside its joint */
    .av-leak { --nh: 52px; --k: .7; grid-template-columns: 138px minmax(0, 1fr); row-gap: 0; column-gap: 20px; margin-top: var(--s-6); }
    .av-leak__node { grid-column: 1; grid-row: var(--r); min-width: 0; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; }
    .av-leak__node b { font-size: 20px; } .av-leak__node span { font-size: 12px; }
    .av-leak__link { grid-column: 1; grid-row: var(--r); justify-self: center; width: calc(var(--a) * var(--k)); height: 72px; background: linear-gradient(180deg, #b38d32, #c8a44c);
      clip-path: polygon(0 0, 100% 0, calc(50% + var(--b) * var(--k) / 2) 100%, calc(50% - var(--b) * var(--k) / 2) 100%); transform-origin: 50% 0; }
    .av-leak__link::after { inset: -44px 0 0 0; background: repeating-linear-gradient(180deg, transparent 0 26px, rgb(255 255 255 / .4) 35px, transparent 44px); animation-name: av-flow-y; }
    html.av-js .av-leak .av-leak__link { transform: scaleY(0); }
    .av-leak__drop { grid-column: 2; grid-row: var(--r); justify-self: start; width: auto; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 10px; row-gap: 4px; text-align: left; }
    .av-leak__drop b { font-size: 34px; } .av-leak__drop span { font-size: 14px; line-height: 18px; } .av-leak__drop em { grid-column: 1 / -1; }
    .av-leak__drop::before { left: auto; right: calc(100% + 6px); bottom: auto; top: 50%; margin: -1px 0 0; width: 76px; height: 2px; background: repeating-linear-gradient(90deg, #f0605a 0 5px, transparent 5px 10px); }
    .av-leak__drop::after { left: auto; right: calc(100% + 74px); bottom: auto; top: 50%; margin: -4px 0 0; animation-name: av-drip-x; }
  }
  @keyframes av-flow-y { to { transform: translate3d(0, 44px, 0); } }
  @keyframes av-drip-x { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate3d(68px, 0, 0) scale(1); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .av-leak__link::after, .av-leak__drop::after { animation: none; } .av-leak__drop::after { display: none; }
    html.av-js .av-leak :is(.av-leak__node, .av-leak__drop, .av-leak__link) { opacity: 1; transform: none; transition: none; } }

  /* HERO: the logo at the container's width. Its proportions are the client's file's: the symbol 2.7em tall, .445em of air,
     the name in two lines of capitals 7.86em wide, so the whole is 9.97em and the size follows the container (cqw).
     On load the symbol's halves close on the diamond and each letter rises out of its line's mask, 28ms apart. Held and
     released by the kit's own entrance classes; still without script or with reduced motion */
  .av-hero .hero__in { container-type: inline-size; }
  .hero--word h1.av-name { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .445em; margin: 0;
    font-size: 8.5vw; font-size: min(9.8cqw, 125px); line-height: .88; letter-spacing: -0.012em; opacity: 1 !important; }
  .av-name__mark { display: block; height: 2.7em; width: auto; overflow: visible; }
  .av-name__mark path { transform-box: fill-box; transform-origin: 50% 50%; }
  .av-name__words { display: grid; }
  .av-name__line { display: block; white-space: nowrap; overflow: clip; padding-block: .03em; margin-block: -.03em; }
  .av-w, .av-l { display: inline-block; white-space: nowrap; }
  .av-hero .hero__lead strong { font-weight: 600; color: var(--ink); }
  .hero--word .hero__foot { margin-top: var(--s-7); }
  .hero--word .hero__foot .av-hero__act .btn-row { margin-top: 0; }
  /* the total, last on the screen */
  .av-hero__count { margin: var(--s-7) 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-4); }
  .av-hero__count b { font: 600 clamp(40px, 6.4cqw, 84px)/1 var(--font-display); letter-spacing: -0.035em; white-space: nowrap; color: #c8a44c; }
  .av-hero__count span { font-size: var(--t-lead); color: var(--muted); }
  @media (max-width: 1023px) { .hero--word .hero__foot .av-hero__act { margin-top: var(--s-5); } }
  @media (max-width: 639px) {
    .hero--word h1.av-name { grid-template-columns: minmax(0, 1fr); row-gap: .5em; font-size: 12.3cqw; }
    /* a phone shows the total right under the logo: last on the screen it would sit under the cookie notice on a first visit */
    .av-hero .hero__in > h1 { order: 0; } .av-hero .hero__in > .av-hero__count { order: 1; margin-top: var(--s-5); } .av-hero .hero__in > .hero__foot { order: 2; margin-top: var(--s-5); }
    /* while the cookie notice is open (a first visit) the block starts at the top, so the button stays above the notice */
    body:has(.av-cookie:not([hidden])) .av-hero .hero__in { justify-content: flex-start; padding-top: var(--s-5); }
    .av-name__mark { height: 2.1em; }
    .av-hero__count { margin-top: var(--s-6); } .av-hero__count b { font-size: 11.6cqw; } .av-hero__count span { font-size: var(--t-body); }
  }
  @media screen and (prefers-reduced-motion: no-preference) {
    /* held only in the kit's own window (until its script starts the entrance or its 700ms mark passes) */
    html.m-enter:not(.m-enter-done, [data-motion="off"]) .av-hero:not(.is-entering, .is-entered) .av-l { transform: translate3d(0, 114%, 0); }
    html.m-enter:not(.m-enter-done, [data-motion="off"]) .av-hero:not(.is-entering, .is-entered) .av-name__mark path { opacity: 0; }
    html.m-enter:not([data-motion="off"]) .av-hero:is(.is-entering, .is-entered):not(.is-still) .av-l,
    html.m-enter.m-enter-done:not([data-motion="off"]) .av-hero:not(.is-still) .av-l { animation: av-rise .9s cubic-bezier(.16, 1, .3, 1) calc(.18s + var(--i) * 28ms) backwards; }
    html.m-enter:not([data-motion="off"]) .av-hero:is(.is-entering, .is-entered):not(.is-still) .av-mark__a,
    html.m-enter.m-enter-done:not([data-motion="off"]) .av-hero:not(.is-still) .av-mark__a { animation: av-mark-a .95s cubic-bezier(.16, 1, .3, 1) backwards; }
    html.m-enter:not([data-motion="off"]) .av-hero:is(.is-entering, .is-entered):not(.is-still) .av-mark__v,
    html.m-enter.m-enter-done:not([data-motion="off"]) .av-hero:not(.is-still) .av-mark__v { animation: av-mark-v .95s cubic-bezier(.16, 1, .3, 1) .08s backwards; }
    html.m-enter:not([data-motion="off"]) .av-hero:is(.is-entering, .is-entered):not(.is-still) .av-mark__d,
    html.m-enter.m-enter-done:not([data-motion="off"]) .av-hero:not(.is-still) .av-mark__d { animation: av-mark-d .7s cubic-bezier(.34, 1.4, .64, 1) .5s backwards; }
  }
  /* the pointer leaves a trail on the name: a letter lifts and takes the logo's gold at once, and settles slowly */
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .av-name .av-l { transition: color .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
    .av-name .av-l:hover { color: #d4b55c; transform: translate3d(0, -.03em, 0); transition-duration: .12s; }
  }
  @keyframes av-rise { from { transform: translate3d(0, 114%, 0); } }
  @keyframes av-mark-a { from { opacity: 0; transform: translate3d(0, -42%, 0); } }
  @keyframes av-mark-v { from { opacity: 0; transform: translate3d(0, 42%, 0); } }
  @keyframes av-mark-d { from { opacity: 0; transform: scale(.2) rotate(90deg); } }

  /* AUDITORIA: the link keeps its own width in the column; the three figures on the frame's bottom line (desktop) */
  .split-col > .link { align-self: flex-start; }
  .av-facts { padding-top: var(--s-5); border-top: 1px solid var(--line); }
  .av-facts dt { font-size: var(--t-small); color: var(--muted); max-width: 16ch; }
  .av-facts .t-stat { color: #c8a44c; }
  @media (max-width: 1279px) { .av-facts { display: none; } .av-kpi b { font-size: 34px; } }
  .av-kpi b { white-space: nowrap; }
  /* five words and the button do not fit a 1024 header: the last word waits for a wider one (it is in the footer too) */
  @media (min-width: 1024px) and (max-width: 1199px) { .nav__links .nav__item:last-child { display: none; } }

  /* AUDITORIA: the report's frame runs to the section's foot beside the words (.frame--fill); stacked, it takes what the screen leaves */
  .av-report { min-height: 420px; }
  @media (max-width: 1023px) { .av-report { min-height: 280px; } }

  /* RESULTADOS: five totals on one line between hairlines (the money first, in gold), then the customers' faces */
  .av-nums { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-5); margin: var(--s-8) 0 0; }
  .av-nums > div { grid-column: auto / span 2; position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-2); }
  .av-nums > div:first-child { grid-column: auto / span 4; }
  .av-nums > div + div::before { content: ""; position: absolute; left: calc(var(--gutter) / -2); top: 4px; bottom: 4px; width: 1px; background: var(--line); }
  .av-nums dt { font-size: var(--t-small); color: var(--muted); }
  .av-nums dd { margin: 0; font: 600 clamp(30px, 3.1vw, 46px)/1 var(--font-display); letter-spacing: -0.035em; white-space: nowrap; color: var(--ink); }
  .av-nums > div:first-child dd { color: #c8a44c; }
  .av-clients__label { margin-top: var(--s-8); }
  .av-clients { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-4); }
  .av-clients li { display: grid; gap: 2px; align-content: start; min-width: 0; }
  .av-clients img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md, 12px); margin-bottom: 10px; background: var(--surface); }
  .av-clients b { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .av-clients span { font-size: 13px; line-height: 18px; color: var(--muted); }
  @media (max-width: 1023px) {
    .av-nums > div { grid-column: auto / span 6; } .av-nums > div:first-child { grid-column: 1 / -1; }
    .av-nums > div:nth-child(even)::before { display: none; }
    .av-clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (max-width: 639px) {
    .av-nums { margin-top: var(--s-6); } .av-nums dd { font-size: 30px; } .av-nums > div:first-child dd { font-size: 36px; }
    .av-clients__label { margin-top: var(--s-6); }
    .av-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--gutter); }
    .av-clients b { font-size: 14px; } .av-clients span { font-size: 12px; line-height: 16px; }
  }

  /* CASOS: the customer's photograph flush on the card's top, then who, the result and what they say */
  .av-case { padding: 0 0 var(--c-pad); }
  .av-case > :not(.av-case__photo) { margin-inline: var(--c-pad); }
  .av-case__photo { flex: none; overflow: clip; background: var(--surface); }
  .av-case__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 22%; }
  .card.av-case > .av-case__who { margin-top: 20px; display: grid; gap: 2px; max-width: none; }
  .av-case__who b { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .av-case__who span { font-size: 13px; line-height: 18px; color: var(--muted); }
  .card.av-case > h3 { margin-top: 14px; font: 600 22px/28px var(--font-display); letter-spacing: -0.02em; text-wrap: balance; hyphens: manual; }
  .av-case blockquote { margin-block: 12px 0; font-size: 15px; line-height: 23px; color: var(--c-text); text-wrap: pretty; }
  @media (max-width: 1279px) { .card.av-case > h3 { font-size: 20px; line-height: 26px; } }
  @media (max-width: 639px) { .card.av-case > h3 { font-size: 18px; line-height: 26px; } .av-case__photo img { aspect-ratio: 16 / 9; } .card.av-case > .av-case__who { margin-top: 16px; } }
  @media (min-width: 640px) and (max-width: 1023px) { .av-case { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-content: center; padding: 0; }
    .av-case__photo { grid-row: 1 / span 3; height: 100%; min-height: 200px; } .av-case__photo img { height: 100%; aspect-ratio: auto; } .card.av-case > .av-case__who { margin-top: 24px; } .av-case blockquote { margin-bottom: 24px; } }

  /* one panel height per card group */
  #dias .panel { --p-h: 320px; }
  @media (max-width: 639px) { #dias .panel { --p-h: 230px; } }
  @media (min-width: 640px) and (max-width: 1279px) {
    #dias { --h: 2 !important; }
    #dias .grid { flex: 1 1 auto; grid-auto-rows: 1fr; }
    #dias .grid > .card { grid-column: 1 / -1; }
  }
  /* five questions and the «no es para ti» box are taller than one desktop screen: the section grows instead of spilling its last answer over the footer */
  @media (min-width: 1280px) { #preguntas { height: auto; min-height: 100svh; } }
  @media (min-width: 1024px) { #equipo .frame--split { --ratio: 96%; } }
  @media (min-width: 640px) and (max-width: 1023px) { #equipo .frame--split { --ratio: 46%; } }
  @media (max-width: 639px) { #fugas .mo-wh__text { font-size: 26px; }
    /* a phone keeps the team's section on one screen: the three phases stay in the diagram's words */
    #equipo .rows { display: none; }
    /* a phone's footer keeps the audit and the contact columns */
    .closing__links .footer__col:nth-child(3), .closing__links .footer__col:nth-child(4) { display: none; } }
  @media (max-width: 359px) { .closing .btn--xl { font-size: 17px; padding-inline: 20px; } }
  /* the calendar's frame: the lit sand ground, the window in the page's own dark */
  .av-plan .ui { --fx-bg: #111113; --fx-surface: #18181b; --fx-ink: #edeae3; --fx-muted: #a3a09a; --fx-accent: #c8a44c; --fx-accent-ink: #09090a; }
  @media (min-width: 640px) { .av-plan { --ratio: 74%; } }
  /* the plan's dates read as dates, not as buttons */
  .av-plan .ui-cal__date, .av-plan .ui-cal__ev.is-now .ui-cal__date { background: none; box-shadow: none; }
  .av-plan .ui-cal__ev.is-now .ui-cal__date b { color: var(--u-ink); }
  .av-plan .ui-cal__ev.is-now .ui-cal__date i { color: var(--u-muted); }
