/* ============================================================
   PULP FUNCTION — Use Case (detail page)
   A "Previous Order" in full — itemized like a kitchen ticket.
   Pairs with tokens.css + menu.css (shared header / buttons / footer)
   ============================================================ */

/* ---- generic case section rhythm ---- */
.case-sec { padding: clamp(64px,8vw,118px) 0; }
.case-sec.band { background: var(--paper-2); }
.case-sec.tight { padding: clamp(48px,6vw,80px) 0; }

/* =================== BREADCRUMB =================== */
.crumb { background: var(--paper); }
.crumb .wrap { padding-top: 28px; padding-bottom: 16px; }
.crumb .trail { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--muted); }
.crumb a, .crumb span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.crumb .path { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumb .path .sl { color: var(--accent); }
.crumb .path .here { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb .back { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.crumb .back:hover { color: var(--accent); }
.crumb .back .ar { display: inline-flex; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.crumb .back:hover .ar { transform: translateX(-3px); }

/* =================== CASE HERO =================== */
.case-hero { padding: clamp(48px,6vw,84px) 0 0; }
.case-hero .top { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px,5vw,72px); align-items: stretch; }
.spec-col { display: flex; flex-direction: column; }
.case-hero .kick { font-family: var(--tab); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: block; }
.case-hero h1 { margin: 16px 0 0; font-weight: 700; letter-spacing: -0.035em; line-height: 0.92;
  font-size: clamp(52px,8vw,104px); }
.case-hero h1 .pj { display: block; font-style: italic; font-weight: 700; color: var(--accent);
  font-size: clamp(30px,4.4vw,58px); letter-spacing: -0.03em; line-height: 1; margin-top: 12px; }
.case-hero .lede { margin: 26px 0 0; font-size: clamp(17px,1.5vw,21px); line-height: 1.5; max-width: 40ch; color: var(--ink); }

/* meta ticket — itemized spec block */
.ticket { border-top: 3px solid var(--ink); }
.ticket .row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--hair); }
.ticket .row:last-child { border-bottom: none; }
.ticket .row.first-row { padding-top: 40px; }
.ticket .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ticket .v { font-size: clamp(16px,1.4vw,19px); font-weight: 700; letter-spacing: -0.01em; text-align: right; }
.ticket .v.tag { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ink); color: #fff; border-radius: 4px; padding: 5px 11px; }

/* cross-link chip to the sibling case */
.xlink { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; align-self: stretch;
  padding: 14px 24px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; transition: background .25s, color .25s; }
.xlink:hover { background: var(--ink); color: #fff; }
.xlink .xlink-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.xlink .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.xlink:hover .lab { color: #fff; }
.xlink .t { font-size: 15px; font-style: italic; }
.xlink .ar { display: inline-flex; color: var(--accent); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.xlink:hover .ar { transform: translate(3px,-3px); color: #fff; }

/* big cover */
.cover { margin-top: clamp(40px,5vw,68px); border-radius: 6px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink); aspect-ratio: 1440 / 720; width: 100%; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* =================== THE CLIENT + BRIEF =================== */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,72px);
  margin-top: clamp(36px,4vw,56px); align-items: start; }
.split .lead-big, .client-head .lead-big { margin: 0; font-weight: 400; font-size: clamp(24px,2.5vw,34px); line-height: 1.32; letter-spacing: -0.018em; }
.client-head .lead-big { font-size: 20px; }
.split .lead-big em, .client-head .lead-big em { font-style: italic; color: var(--accent); }
.split .col p { margin: 0 0 18px; font-size: clamp(16px,1.25vw,18px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.split .col p:last-child { margin-bottom: 0; }

/* Client section: section title and lead statement share a row, paragraph on the right */
.client-head { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: start; }
.client-right { display: flex; flex-direction: column; gap: clamp(26px,3vw,40px); }
.client-right .needs .field-label { margin-bottom: 9px; }
.client-right .needs p { margin: 0; font-size: clamp(16px,1.25vw,18px); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) {
  .client-head { grid-template-columns: 1fr; gap: 24px; }
}

/* =================== THE METHOD — phases ledger =================== */
.phases { margin-top: clamp(44px,5vw,72px); display: flex; flex-direction: column; }
.phase { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(28px,4vw,64px);
  padding: clamp(34px,4vw,52px) 0; border-top: 2px solid var(--ink); }
.phase:last-child { border-bottom: 2px solid var(--ink); }
.phase .ph-head .pnum { font-family: 'Inconsolata', ui-monospace, monospace; font-weight: 600;
  font-size: clamp(46px,6vw,84px); line-height: 0.9; color: var(--accent); letter-spacing: -0.02em; }
.phase .ph-head .plab { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 8px; }
.phase .ph-head h3 { margin: 14px 0 0; font-weight: 700; font-style: italic; font-size: clamp(26px,2.6vw,36px);
  letter-spacing: -0.02em; line-height: 1.04; max-width: 14ch; }
.phase .ph-head .note { margin: 18px 0 0; font-size: 15px; font-style: italic; line-height: 1.5; color: var(--ink-2); max-width: 36ch;
  padding-left: 16px; border-left: 2px solid var(--accent); }
.phase .ph-items { display: flex; flex-direction: column; }
.work { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.work:first-child { padding-top: 4px; }
.work:last-child { border-bottom: none; }
.work .wk { grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.work .wt { font-weight: 700; font-size: clamp(17px,1.5vw,20px); letter-spacing: -0.01em; }
.work .wd { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 50ch; }

/* --- Method variant A · per-step thumbnail (.phase.steps-img) --- */
.phase.steps-img .work { grid-template-columns: auto 1fr clamp(78px,8vw,112px); }
.work .wimg { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 100%;
  aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ink); }
.work .wimg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Method variant B · one media image beside the phase (.phase.with-media) --- */
.phase.with-media { grid-template-columns: 0.6fr 1fr 0.66fr; }
.ph-media { align-self: start; display: flex; flex-direction: column; gap: 12px; }
.ph-media .pm-frame { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink); }
.ph-media .pm-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-media .pm-cap { font-size: 13px; line-height: 1.45; color: var(--ink-2); }

/* --- Method variant C · stacked cards, image above step text (.phase.steps-stacked) --- */
.phase.steps-stacked .ph-items { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,2.4vw,32px); }
.phase.steps-stacked .work { display: flex; flex-direction: column; gap: 9px; padding: 0; border-bottom: none; }
.phase.steps-stacked .work .wtop { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink); }
.phase.steps-stacked .work .wtop img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phase.steps-stacked .work .wt { font-weight: 700; font-size: clamp(17px,1.5vw,20px); letter-spacing: -0.01em; }
.phase.steps-stacked .work .wd { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: none; }

/* =================== ON THE PLATE — visual payload =================== */
.plate-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.plate-head .note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); max-width: 30ch; text-align: right; }

/* Each "On the Plate" component fills a full viewport height so the blocks
   breathe instead of stacking close together. Only spacing changes — the
   inner parts keep their own sizes; the wrapper centers them and supplies
   the extra room. Per-block margin-top is dropped (the wrapper spaces them
   now), but inner bottom margins like the flow title's are kept. */
.plate-item { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.plate-item > * { margin-top: 0; }

/* before / after */
.ba { margin-top: clamp(40px,4vw,60px); display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px,3vw,40px); align-items: center; }
.ba .side { display: flex; flex-direction: column; gap: 14px; }
.ba .badge { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.ba .badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.ba .badge.before { color: var(--muted); }
.ba .badge.before .dot { background: var(--muted); }
.ba .badge.after { color: var(--accent); }
.ba .badge.after .dot { background: var(--accent); }
.ba .frame { border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ink);
  aspect-ratio: 320 / 392; width: 100%; }
.ba .frame.dim { opacity: 0.86; }
.ba .frame img { width: 100%; height: 100%; object-fit: cover; }
.ba .arrowcol { display: grid; place-items: center; color: var(--accent); }
.ba .arrowcol svg { width: clamp(28px,3vw,42px); height: auto; }
.ba .cap { font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
/* Euro Informatique rebrand: compact, square before/after frames sized to
   roughly the feature image height (a % of the column, so it tracks). The
   two squares hug the centre arrow; spare space sits on the outer edges. */
.case-euro-informatique-rebrand .ba .frame { aspect-ratio: 1 / 1; width: 80%; }
.case-euro-informatique-rebrand .ba .side:first-child { align-items: flex-end; text-align: right; }
.case-euro-informatique-rebrand .ba .side:first-child .badge { align-self: flex-end; }
.case-euro-informatique-rebrand .ba .side:last-child { align-items: flex-start; text-align: left; }
.case-euro-informatique-rebrand .ba .cap { max-width: 38ch; }

/* phone flow grid */
.flows { margin-top: clamp(44px,5vw,72px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.6vw,38px); }
.shot { display: flex; flex-direction: column; gap: 0; }
.shot .pane { border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ink);
  aspect-ratio: 300 / 540; width: 100%; background: var(--paper); }
.shot .pane img { width: 100%; height: 100%; object-fit: cover; }
/* iren app flows: anchor the screenshots to the top of the box (top of the
   screen shows; box size unchanged) */
.case-euro-informatique-iren-mobile .shot .pane img { object-position: top; }
.shot .meta { display: flex; align-items: baseline; gap: 10px; padding: 16px 2px 0; border-top: 2px solid var(--ink); margin-top: 16px; }
.shot .meta .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.shot .meta .name { font-weight: 700; font-style: italic; font-size: clamp(18px,1.6vw,22px); letter-spacing: -0.015em; }
.shot .meta .ph { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-left: auto; white-space: nowrap; }
.shot .sd { margin: 8px 2px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* feature row — large image (2/3) + title & description on the side */
.plate-feature { margin-top: clamp(40px,4.5vw,64px); display: grid; grid-template-columns: 2fr 1fr;
  gap: clamp(24px,3.5vw,56px); align-items: center; }
.plate-feature.flip { grid-template-columns: 1fr 2fr; }
.plate-feature.flip .pf-media { order: 2; }
.plate-feature .pf-media { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.plate-feature .pf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate-feature .pf-copy { display: flex; flex-direction: column; gap: 14px; }
.plate-feature .pf-meta { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.plate-feature .pf-meta .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.plate-feature .pf-meta .ph { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-left: auto; white-space: nowrap; }
.plate-feature .pf-copy h3 { margin: 2px 0 0; font-weight: 700; font-style: italic; font-size: clamp(24px,2.4vw,34px); letter-spacing: -0.02em; line-height: 1.05; }
.plate-feature .pf-copy p { margin: 0; font-size: clamp(15px,1.2vw,17px); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }

/* carousel / filmstrip — horizontal scroller of .shot cards */
.plate-carousel { margin-top: clamp(40px,4.5vw,64px); }
.pc-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(18px,2vw,26px); }
.pc-bar .pc-lab { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pc-bar .pc-lab b { color: var(--accent); font-weight: 400; }
.pc-nav { display: flex; gap: 10px; flex: none; }
.pc-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s, color .2s, opacity .2s; }
.pc-btn:hover { background: var(--ink); color: #fff; }
.pc-btn:disabled { opacity: .28; cursor: default; }
.pc-btn:disabled:hover { background: transparent; color: var(--ink); }
.pc-btn svg { width: 16px; height: 16px; }
.pc-track { display: flex; gap: clamp(16px,2vw,28px); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track > .shot { flex: 0 0 auto; width: clamp(232px, 25vw, 300px); scroll-snap-align: start; }
/* wide variant — landscape feature slides instead of phone shots */
.plate-carousel.wide .pc-track > .shot { width: clamp(300px, 42vw, 540px); }
.plate-carousel.wide .pc-track > .shot .pane { aspect-ratio: 16 / 10; }

/* flow-grid global title — sits above .flows */
.flows-title { display: flex; align-items: baseline; gap: 14px; margin: clamp(34px,4vw,52px) 0 clamp(20px,2.4vw,30px);
  padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.flows-title h3 { margin: 0; font-weight: 700; font-style: italic; letter-spacing: -0.02em; line-height: 1; font-size: clamp(22px,2.4vw,32px); }
.flows-title .ft-note { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }

/* spotlight carousel — one switching image (2/3) + side copy (1/3) */
.plate-spotlight { margin-top: clamp(40px,4.5vw,64px); display: grid; grid-template-columns: 2fr 1fr;
  gap: clamp(24px,3.5vw,56px); align-items: stretch; }
.ps-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.ps-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.ps-slide.is-active { opacity: 1; visibility: visible; }
.ps-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-side { display: flex; flex-direction: column; }
.ps-copy { flex: 1; }
.ps-panel { display: none; flex-direction: column; gap: 12px; }
.ps-panel.is-active { display: flex; }
.ps-panel .ps-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ps-panel h3 { margin: 0; font-weight: 700; font-style: italic; font-size: clamp(24px,2.4vw,34px); letter-spacing: -0.02em; line-height: 1.05; }
.ps-panel p { margin: 0; font-size: clamp(15px,1.2vw,17px); line-height: 1.55; color: var(--ink-2); max-width: 42ch; }
.ps-foot { margin-top: clamp(22px,3vw,32px); padding-top: 18px; border-top: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ps-count { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.ps-count b { color: var(--ink); font-weight: 700; }
.ps-dots { display: flex; gap: 8px; }
.ps-dots .dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--line-2);
  cursor: pointer; transition: background .2s, transform .2s; }
.ps-dots .dot:hover { background: var(--muted); }
.ps-dots .dot.is-active { background: var(--accent); transform: scale(1.25); }

/* =================== THE RESULT — outcome band (accent) =================== */
.result { background: var(--accent-d); color: #fff; padding: clamp(72px,9vw,120px) 0; }
.result ::selection { background: var(--ink); color: #fff; }
.result .kick { font-family: var(--mono); font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; opacity: .85; }
.result h2 { margin: 22px 0 0; font-weight: 400; letter-spacing: -0.026em; line-height: 1.06;
  font-size: clamp(38px,5.2vw,72px); max-width: 18ch; }
.result h2 em { font-style: italic; font-weight: 700; }
.result .sub { margin: 30px 0 0; font-size: clamp(17px,1.5vw,21px); line-height: 1.5; max-width: 52ch; opacity: .95; }
.result .gained { margin: clamp(40px,4vw,56px) 0 0; display: flex; gap: clamp(28px,4vw,56px); flex-wrap: wrap; border-top: 2px solid rgba(255,255,255,.4); padding-top: 30px; }
.result .gained .g { display: flex; flex-direction: column; gap: 6px; }
.result .gained .gk { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: .85; }
.result .gained .gv { font-size: clamp(17px,1.4vw,20px); font-weight: 700; letter-spacing: -0.01em; }

/* =================== QUOTE (night) =================== */
.qband { background: var(--night); color: #fff; padding: clamp(64px,8vw,104px) 0; }
.qband ::selection { background: var(--accent); color: #fff; }
.qband .mk { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.qband blockquote { margin: 26px 0 0; font-weight: 400; font-size: clamp(28px,3.4vw,48px); line-height: 1.22;
  letter-spacing: -0.022em; max-width: 22ch; }
.qband blockquote em { font-style: italic; }
.qband .attr { margin-top: 28px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.qband .placeholder { color: rgba(255,255,255,.45); font-style: italic; }

/* =================== PREVIOUS ORDERS (same category) =================== */
/* tighten the gap to the closing CTA that follows: trim this section's
   bottom padding and the CTA's top padding (only when adjacent, so a
   standalone CTA keeps its normal spacing). */
.related-orders { padding-bottom: clamp(28px,3.4vw,48px); }
.related-orders + .case-cta { padding-top: clamp(28px,3.4vw,48px); }
.related-orders .ro-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: clamp(24px,2.6vw,36px); }
.related-orders .seemore { font-family: 'Chivo Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px; transition: color .25s, border-color .25s; white-space: nowrap; }
.related-orders .seemore:hover { color: var(--accent); border-color: var(--accent); }
.related-orders .seemore .ar { display: inline-flex; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.related-orders .seemore:hover .ar { transform: translate(3px,-3px); }
.related-orders .ledger { border-top: 3px solid var(--ink); }
.related-orders .order-row { display: flex; flex-direction: column; gap: 10px; padding: 26px 0 12px;
  border-bottom: 1px solid var(--ink); transition: padding-left .3s cubic-bezier(.2,.7,.2,1); }
.related-orders .order-row:hover { padding-left: 12px; }
.related-orders .or-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.related-orders .or-id { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.related-orders .nm { font-weight: 700; font-size: clamp(20px,1.7vw,24px); letter-spacing: -0.01em; white-space: nowrap; }
.related-orders .pj { font-style: italic; font-size: clamp(15px,1.2vw,17px); color: var(--muted); }
.related-orders .ctag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.related-orders .or-bot { display: flex; justify-content: flex-end; }
.related-orders .order-row .ar { color: var(--accent); display: inline-flex; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.related-orders .order-row:hover .or-bot .ar { transform: translate(3px,3px); }

/* =================== CLOSING CTA =================== */
.case-cta { padding: clamp(72px,9vw,118px) 0; }
.case-cta .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,5vw,64px); align-items: center; }
.case-cta .kick { font-family: var(--tab); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.case-cta h2 { margin: 16px 0 0; font-style: italic; font-weight: 700; font-size: clamp(40px,5.4vw,72px);
  line-height: 0.98; letter-spacing: -0.03em; }
.case-cta h2 .hot { color: var(--accent); }
.method-intro { margin-top: 22px; max-width: 60ch; font-size: clamp(16px,1.3vw,18px); line-height: 1.55; color: var(--ink-2); }
.case-cta .acts { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
/* button hugs its content and right-aligns to the wrap edge, lining up with
   the end of the Previous Orders block above */
.case-cta .acts .seemore { font-family: 'Chivo Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.case-cta .acts .seemore:hover { color: var(--accent); border-color: var(--accent); }
.case-cta .acts .seemore .ar { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.case-cta .acts .seemore:hover .ar { transform: translateX(4px); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .flows { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .case-hero .top { grid-template-columns: 1fr; align-items: start; gap: 36px; }
  .split { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 24px; }
  .phase.with-media { grid-template-columns: 1fr; }
  .phase .ph-head .note { max-width: none; }
  .ba { grid-template-columns: 1fr; }
  .ba .arrowcol { transform: rotate(90deg); padding: 6px 0; }
  /* rebrand: stacked on mobile — centre the square frames instead of hugging */
  .case-euro-informatique-rebrand .ba .side:first-child,
  .case-euro-informatique-rebrand .ba .side:last-child { align-items: center; text-align: center; }
  .case-euro-informatique-rebrand .ba .badge { align-self: center; }
  .case-cta .wrap { grid-template-columns: 1fr; }
  .case-cta .acts { align-self: stretch; }
  .plate-feature, .plate-feature.flip { grid-template-columns: 1fr; gap: 22px; }
  .plate-feature.flip .pf-media { order: 0; }
  .plate-spotlight { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 700px) {
  /* match the homepage mobile ledger: stack name / project / category with
     the arrow pinned top-right. These rows are plain links to the case —
     they don't expand into project cards like the homepage accordion. */
  .related-orders .order-row { position: relative; padding: 22px 34px 18px 0; }
  .related-orders .order-row:hover { padding-left: 0; }
  .related-orders .or-top { flex-direction: column; align-items: flex-start; gap: 7px; }
  .related-orders .or-id { flex-direction: column; align-items: flex-start; gap: 3px; }
  .related-orders .nm { white-space: normal; overflow-wrap: anywhere; font-size: 19px; line-height: 1.12; }
  .related-orders .pj { font-size: 14.5px; }
  .related-orders .ctag { font-size: 10.5px; }
  .related-orders .or-bot { position: absolute; top: 20px; right: 0; }
}
@media (max-width: 640px) {
  .phase.steps-stacked .ph-items { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .flows { grid-template-columns: 1fr; }
  .crumb .path .here { display: none; }
  .ticket .v.tag { padding: 4px 9px; }
}
