/* The industrial quoting case page's own styles (18 Nov 2026, a proposal for Xavi). It shares the case pages' frame (the
   private equity page's hero, nav, table, questions, closing and sheet) and draws its own figures, so it reads as its own
   case and not as the AGSA, family office or buyers' register page with other numbers: the 600 requests that had no answer
   as 600 tiles in the hero (Xavi, 18 Nov 2026: the requests nobody quoted sell the case, the quotes right out of ten go
   lower down); a request turned into a quote in three steps (read, price, approve); three figures on the Fathom band;
   the four steps of how it works.
   The book's rules hold: the tokens and their pairs, PP Neue Montreal at 400 and 500, figures in Medium, spacing from its
   scale, radius 4, no shadows, no opacity on a brand colour. One Sea Mist per view: the hero's eyebrow; none below it. */

/* ---------- 1. the hero's requests: 600 tiles on a canvas (case.js), one to a request, a Harbor Slate outline while it has no
   answer and white once it's a quote. Above them the count, in Medium at the KPI's size; under them the key ---------- */
.iq-pile{grid-column:8/span 5;min-width:0;margin:0;align-self:end;display:flex;flex-direction:column;gap:16px}
.iq-kpi{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:12px;row-gap:8px;font-size:var(--t-lead);line-height:1.3;color:var(--grey)}
.iq-kpi b{font-size:var(--t-kpi);font-weight:500;line-height:1;letter-spacing:-.02em;color:var(--white);white-space:nowrap}
.iq-field{padding-top:16px;border-top:1px solid var(--slate)}
.iq-grid{display:block;width:100%}
.iq-key{display:flex;gap:24px;font-size:var(--t-detail);font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--grey)}
.iq-key li{display:flex;align-items:center;gap:8px}
.iq-key i{display:block;width:10px;height:10px;border:1px solid var(--slate);border-radius:2px}
.iq-key i.q{background:var(--white);border-color:var(--white)}
.iq-pile figcaption{font-size:var(--t-lead);color:var(--grey)}
html.motion .iq-pile{transition:opacity .9s ease .55s,transform 1s cubic-bezier(.2,.7,.2,1) .55s}
html.motion:not(.revealed) .iq-pile{opacity:0;transform:translateY(10px)}
@media (max-width:900px){.iq-pile{grid-column:1/-1;margin-top:var(--head)}}

/* ---------- 3. from request to quote: the request and its quote side by side, an arrow between, three steps under. Without
   the script the quote stands complete and approved. With it (.iq-live, case.js), every part waits and comes in with a
   short eased move, each part on its own beat: Read lights what the quote needs in the request, word after word, and
   each one travels into its slot in the quote; Price brings in the lines, the two rules and the total, each amount
   counting up; Approve settles the stamp. A rule over each step fills while it's told. Lengths scale with --pace ---------- */
.iq-flow{margin:var(--head) 0 0;position:relative;overflow-x:clip}
.iq-docs{display:grid;grid-template-columns:minmax(0,5fr) 48px minmax(0,6fr);align-items:stretch}
.iq-req,.iq-quote{background:var(--white);border:1px solid var(--grey);border-radius:var(--r);padding:clamp(20px,2vw,32px);display:flex;flex-direction:column;gap:12px}
.iq-from{font-size:15px;color:var(--deep)}
.iq-msg{font-size:var(--t-lead);line-height:1.55;color:var(--fathom);text-wrap:pretty}
.iq-msg mark{color:inherit;border-radius:2px;padding:0 2px;background:linear-gradient(var(--foam),var(--foam)) no-repeat 0 0/100% 100%;text-decoration:underline 2px var(--deep);text-underline-offset:.2em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.iq-arrow{align-self:center;justify-self:center;width:24px;height:2px;background:var(--deep);position:relative}
.iq-arrow::after{content:"";position:absolute;right:-1px;top:-5px;border:6px solid transparent;border-left:8px solid var(--deep);border-right:0}
.iq-head{font-size:15px;color:var(--deep)}
.iq-head div{display:flex;gap:8px}.iq-head dt{font-weight:500}
.iq-lines{width:100%;border-collapse:collapse;font-size:clamp(15px,1vw,18px);line-height:1.35}
.iq-lines th,.iq-lines td{padding:10px 0;border-bottom:1px solid var(--grey);text-align:left;font-weight:400;vertical-align:top}
.iq-lines thead th{font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--deep);border-bottom-color:var(--fathom)}
.iq-lines .num{text-align:right;white-space:nowrap;padding-left:16px;font-variant-numeric:tabular-nums}
.iq-lines small{display:block;font-size:13px;color:var(--deep)}
.iq-r th{color:var(--deep)}
.iq-t th,.iq-t td{font-weight:500;border-bottom:0;padding-top:14px;font-size:clamp(17px,1.2vw,22px)}
.iq-quote [data-f]{border-radius:2px;text-decoration:underline 1px var(--deep);text-underline-offset:.2em}
.iq-ok{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--deep);flex-wrap:wrap}
.iq-tag{display:inline-block;padding:4px 8px;border-radius:var(--r);background:var(--fathom);color:var(--white);font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}

/* the told states: each part waits until it's .on */
.iq-live .iq-arrow{clip-path:inset(-8px -8px -8px -8px);transition:clip-path calc(1.2s*var(--pace)) cubic-bezier(.4,0,.2,1)}
.iq-live .iq-arrow:not(.on){clip-path:inset(-8px 100% -8px -8px)}
.iq-live .iq-msg mark{transition:background-size calc(1s*var(--pace)) cubic-bezier(.4,0,.2,1),text-decoration-color calc(.6s*var(--pace)) ease calc(.6s*var(--pace))}
.iq-live .iq-msg mark:not(.on){background-size:0 100%;text-decoration-color:transparent}
.iq-live .iq-quote [data-f]{transition:color calc(.8s*var(--pace)) ease,background-color calc(.8s*var(--pace)) ease,text-decoration-color calc(.8s*var(--pace)) ease}
.iq-live .iq-quote [data-f]:not(.on){color:transparent;background-color:var(--foam);text-decoration-color:transparent}
.iq-live .iq-quote [data-f].on{background-color:var(--white)}
.iq-live .iq-l .num,.iq-live .iq-l small,.iq-live .iq-r,.iq-live .iq-t{transition:opacity calc(.8s*var(--pace)) ease}
.iq-live .iq-l:not(.on) .num,.iq-live .iq-l:not(.on) small,.iq-live .iq-r:not(.on),.iq-live .iq-t:not(.on){opacity:0}
.iq-live .iq-r th,.iq-live .iq-t th{transition:transform calc(.8s*var(--pace)) cubic-bezier(.2,.7,.2,1)}
.iq-live .iq-r:not(.on) th,.iq-live .iq-t:not(.on) th{transform:translateX(-8px)}
.iq-live .iq-quote{transition:border-color calc(1s*var(--pace)) ease}
.iq-live .iq-quote.on{border-color:var(--fathom)}
.iq-live .iq-tag{transition:transform calc(1s*var(--pace)) cubic-bezier(.2,.7,.2,1),opacity calc(.5s*var(--pace)) ease}
.iq-live .iq-ok:not(.on) .iq-tag{opacity:0;transform:scale(1.2)}
.iq-live .iq-sent{transition:opacity calc(.8s*var(--pace)) ease calc(.7s*var(--pace))}
.iq-live .iq-ok:not(.on) .iq-sent{opacity:0;transition-delay:0s}
/* a word on its way from the request to the quote */
.iq-fly{position:absolute;left:0;top:0;z-index:2;white-space:nowrap;pointer-events:none;transform-origin:0 0;color:var(--deep);background:var(--foam);border-radius:2px;padding:0 2px;line-height:1.55}
/* a step set at once, with no move: the reader's own choice of a step it's past, or the rest */
.iq-snap,.iq-snap *,.iq-snap *::before,.iq-snap *::after{transition:none!important}

.iq-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--gap);margin-top:32px}
.iq-steps li{position:relative;padding-top:16px;border-top:2px solid var(--grey)}
.iq-steps li::before{content:"";position:absolute;left:0;right:0;top:-2px;height:2px;background:var(--fathom);transform:scaleX(0);transform-origin:0 50%}
.iq-steps li.done::before{transform:none}
.iq-steps li.run::before{transform:none;transition:transform var(--d,0s) linear}
.iq-flow:not(.iq-live) .iq-steps li:has([aria-selected="true"])::before{transform:none}
.iq-steps button{display:flex;align-items:center;gap:12px;padding:0;border:0;background:none;font:inherit;font-size:var(--t-h3);color:var(--fathom);cursor:pointer;min-height:44px}
.iq-n{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--fathom);font-size:15px;font-weight:500;transition:background-color .3s ease,color .3s ease}
.iq-steps [aria-selected="true"] .iq-n{background:var(--fathom);color:var(--white)}
.iq-steps p{margin-top:8px;font-size:var(--t-lead);line-height:1.45;color:var(--deep);text-wrap:pretty}
.iq-flow > figcaption{margin-top:24px;color:var(--deep)}
@media (max-width:900px){
  .iq-docs{grid-template-columns:1fr;row-gap:16px}
  .iq-arrow{transform:rotate(90deg)}
  .iq-steps{grid-template-columns:1fr;row-gap:16px;margin-top:24px}
}

/* ---------- 4. the result, on the flat Fathom band: three figures in Medium at the KPI's size ---------- */
.iq-band{background:var(--fathom);color:var(--white)}
.iq-band .detail{color:var(--grey)}
.iq-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--gap);margin-top:var(--head)}
.iq-figs li{border-top:1px solid var(--slate);padding-top:20px;display:flex;flex-direction:column;gap:12px}
.iq-figs b{font-size:var(--t-kpi);font-weight:500;line-height:1;letter-spacing:-.02em}
.iq-figs b small{font-size:var(--t-lead);font-weight:400;letter-spacing:0}
.iq-figs span{font-size:var(--t-lead);line-height:1.35;color:var(--grey)}
@media (max-width:760px){.iq-figs{grid-template-columns:1fr;row-gap:32px}}

/* ---------- 5. how it works: four steps on one rule ---------- */
.iq-howlist{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);margin-top:var(--head)}
.iq-howlist li{padding-top:20px;border-top:1px solid var(--fathom)}
.iq-k{display:block;font-size:clamp(40px,3.6vw,72px);font-weight:500;line-height:1;letter-spacing:-.02em;color:var(--deep)}
.iq-howlist h3{margin:20px 0 8px}
.iq-howlist p{font-size:var(--t-lead);line-height:1.45;color:var(--deep);text-wrap:pretty}
.iq-start{margin-top:var(--head);max-width:60ch;font-size:var(--t-lead);line-height:1.45}
.iq-start a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;white-space:nowrap}
@media (max-width:900px){.iq-howlist{grid-template-columns:1fr 1fr;row-gap:40px}}
@media (max-width:560px){.iq-howlist{grid-template-columns:1fr}}
