
#hp .pg-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:var(--sp-m);font-size:14px;line-height:20px;font-weight:600}
#hp .pg-crumbs a{color:rgba(255,255,255,.88)}
#hp .pg-crumbs a:hover{color:var(--white);text-decoration:underline}
#hp .pg-crumbs span{color:rgba(255,255,255,.6)}
#hp .pg-crumbs span[aria-current]{color:var(--white)}
/* ORIVAL Case Studies list - loaded after orival-home.css and orival-contact.css (page header,
   breadcrumb, shared design tokens). */
.cs-top{padding:var(--sp-2xl) 0 var(--sp-l)}
.cs-tabs{display:inline-flex;gap:4px;background:var(--g100);border-radius:999px;padding:4px;margin:0 0 var(--sp-xl)}
#hp .cs-tabs a{padding:10px 24px;border-radius:999px;font-weight:600;font-size:14px;color:var(--g900);text-decoration:none}#hp .cs-tabs a[aria-current]{background:var(--red);color:#fff}
.cs-search{position:relative;max-width:720px}
.cs-search svg{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:var(--g500);pointer-events:none}
#hp .cs-input{width:100%;height:56px;border:1px solid var(--g300);border-radius:999px;padding:0 56px 0 52px;font:500 16px var(--font);color:var(--g900);background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
#hp .cs-input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(196,2,3,.15)}
.cs-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:0;background:var(--g100);color:var(--g700);cursor:pointer;font:600 18px/1 var(--font)}.cs-clear:hover{background:var(--g200)}
.cs-meta{display:flex;flex-wrap:wrap;gap:var(--sp-s);align-items:center;margin:var(--sp-m) 0 0;min-height:32px}
.cs-count{color:var(--g500);font-size:14px;margin-right:var(--sp-s)}
.cs-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--red);color:var(--red);background:#fff;border-radius:999px;padding:4px 8px 4px 12px;font:600 13px var(--font);cursor:pointer}.cs-pill i{font-style:normal;font-size:18px;line-height:1;font-weight:600;padding:0 4px 1px 0}
.cs-list{list-style:none;margin:var(--sp-xl) 0 0;padding:0;display:grid;gap:var(--sp-m)}
.cs-row{position:relative;display:grid;grid-template-columns:240px 1fr;gap:var(--sp-xl);align-items:stretch;padding:var(--sp-m);border:1px solid var(--g200);border-radius:var(--r-m);background:#fff;transition:box-shadow .2s,border-color .2s,transform .2s}
.cs-row:hover,.cs-row:focus-within{box-shadow:0 8px 24px rgba(10,10,10,.10);transform:translateY(-2px)}
/* Hover: a red band sweeps once around the card border from top-left to bottom-right, then the border is grey again */
.cs-row::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:2px;pointer-events:none;background:linear-gradient(135deg,var(--g200) 0%,var(--g200) 34%,var(--red) 44%,var(--red) 56%,var(--g200) 66%,var(--g200) 100%);background-size:300% 300%;background-position:100% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;transition:opacity .15s}
.cs-row:hover::before,.cs-row:focus-within::before{opacity:1;animation:cs-sweep 1.8s ease-in-out 1 both}
@keyframes cs-sweep{from{background-position:100% 100%}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.cs-row:hover::before,.cs-row:focus-within::before{animation:none;opacity:0}}
.cs-row[hidden]{display:none}
.cs-row-main{display:flex;flex-direction:column;gap:var(--sp-s);align-items:flex-start;padding:var(--sp-xs) var(--sp-s) var(--sp-xs) 0}
.cs-row h3{margin:0;font-size:22px;line-height:30px;font-weight:700}#hp .cs-row h3 a{color:var(--g900);text-decoration:none;transition:color .2s}#hp .cs-row h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}#hp .cs-row:hover h3 a{color:var(--red)}
.cs-snip{margin:0;color:var(--g700);font-size:14px;line-height:22px;max-width:760px}.cs-snip[hidden]{display:none}
mark{background:#FDE3E3;color:var(--g900);border-radius:3px;padding:0 2px}
.cs-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;position:relative;z-index:2}.cs-tags li[hidden]{display:none}
.cs-tag{font:600 12px/16px var(--font);padding:4px 10px;border-radius:999px;border:1px solid transparent;background:var(--g100);color:var(--g700);cursor:pointer;transition:.15s}.cs-tag:hover{border-color:var(--red);color:var(--red);background:#fff}
.cs-tag-p{background:var(--soft-red);border-color:transparent;color:#8E0102}.cs-tag-p:hover{background:var(--red);border-color:transparent;color:#fff}
#hp .cs-tag-p:hover,#hp .cs-tag-p:focus-visible{background:var(--red);border-color:transparent;color:#fff}
.cs-more{background:var(--g200);color:var(--g700)}.cs-more:hover{background:var(--g300);border-color:transparent;color:var(--g900)}
.cs-foot{margin-top:auto;padding-top:var(--sp-m);width:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:var(--sp-m)}.cs-foot .cs-tags{flex:1}
.cs-link{margin:0 0 0 auto;flex:none;display:inline-flex;gap:8px;align-items:center;font-weight:600;font-size:14px;color:var(--red)}.cs-link svg{transition:transform .2s}.cs-row:hover .cs-link svg{transform:translateX(4px)}
.cs-whole{background:#fff;border:1px solid var(--g200)}.cs-whole img{object-fit:contain!important}
.cs-row-img{display:block;aspect-ratio:4/3;border-radius:var(--r-m);overflow:hidden;background:var(--g100)}.cs-row-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.cs-row:hover .cs-row-img img{transform:scale(1.04)}
.cs-empty{padding:var(--sp-3xl) 0;text-align:center;color:var(--g500)}.cs-empty[hidden]{display:none}.cs-empty b{display:block;color:var(--g900);font-size:20px;margin-bottom:8px}
.cs-wrap{padding-bottom:var(--sp-4xl)}
/* a card taller than its photo (many tags open): the photo grows in height only, never over the text (22 Nov) */
@media(min-width:640px){.cs-row-img{aspect-ratio:auto;min-height:180px}}
@media(max-width:639px){.cs-row{grid-template-columns:1fr;gap:var(--sp-m);align-items:start}.cs-row-img{aspect-ratio:16/9}.cs-foot{padding-top:var(--sp-s)}.cs-row h3{font-size:18px;line-height:26px}.cs-link{display:none}}

/* ---------- One case study page (19 Nov 2026): the site's red page header, then as in the ORIVAL
   case study brochure: the Project Summary table and all the pictures in a right column that the
   text wraps around, red section headings, quote boxes. One text size. ---------- */
#hp.csp .pg-head h1{font-size:clamp(30px,3.4vw,46px);line-height:1.12;max-width:960px}
/* long titles: smaller, across the full width, so the header stays two lines high */
#hp.csp .pg-head h1.csp-long{font-size:clamp(26px,2.5vw,36px);max-width:none}
#hp.csp .csp-info{font-size:16px;line-height:24px;font-weight:600;max-width:none;opacity:.92}
/* body: the side column floats right, the text wraps around it and then runs the full width */
#hp .csp-main{padding:var(--sp-3xl) 0 0}
#hp .csp-flow::after{content:"";display:block;clear:both}
#hp .csp-side{float:right;width:min(42%,460px);margin:0 0 var(--sp-xl) var(--sp-2xl);display:grid;gap:var(--sp-l)}
#hp .csp-h{margin:0 0 calc(var(--sp-s) - var(--sp-l));font-size:18px;line-height:24px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:var(--red)}
#hp .csp-sum{width:100%;border-collapse:collapse;border:1px solid var(--g300);font-size:15px;line-height:22px}
#hp .csp-sum th,#hp .csp-sum td{padding:var(--sp-m);border:1px solid var(--g300);vertical-align:middle;text-align:left}
#hp .csp-sum th{width:38%;font-weight:700;color:var(--g900)}
#hp .csp-sum td{font-weight:500;color:var(--g700)}
#hp .csp-sum tr:nth-child(even) th,#hp .csp-sum tr:nth-child(even) td{background:var(--g100)}
#hp .csp-sum a{color:var(--red);font-weight:700}
#hp .csp-sum a:hover{text-decoration:underline}
#hp .csp-fig{margin:0}
/* a picture placed in the text, beside the section it explains (same width as the side column) */
#hp .csp-fig-in{float:right;clear:right;width:min(42%,460px);margin:var(--sp-xs) 0 var(--sp-l) var(--sp-2xl)}
/* a drawing across the text under its heading; beside the side column it takes the room left */
#hp .csp-fig-wide{display:flow-root;max-width:calc(100% - min(42%,460px) - var(--sp-2xl));margin:var(--sp-s) 0 var(--sp-l)}
#hp .csp-fig a{display:block;border-radius:var(--r-s);overflow:hidden;border:var(--b-subtle);background:var(--white)}
#hp .csp-fig img{display:block;width:100%;height:auto;transition:transform .4s ease;background:#fff} /* drawings with see-through backgrounds stay on white (29 Nov) */
#hp .csp-fig a:hover img{transform:scale(1.03)}
#hp .csp-fig figcaption{margin-top:var(--sp-s);font-size:14px;line-height:21px;color:var(--g500)}
#hp .csp-body{color:var(--g700);font-size:clamp(17px,1.5vw,19px);line-height:1.7}
#hp .csp-body p{margin:0 0 var(--sp-m);font-size:inherit;line-height:inherit}
#hp .csp-body a{color:var(--red);font-weight:600}
#hp .csp-body strong{color:var(--g900)}
/* section headings of the text: red capitals, as in the brochure */
#hp .csp-body h1,#hp .csp-body h2,#hp .csp-body h3,#hp .csp-body h4{margin:var(--sp-xl) 0 var(--sp-s);color:var(--red);font-weight:800;font-size:18px;line-height:24px;letter-spacing:.02em;text-transform:uppercase}
/* a heading's subtitle in brackets: its own line, same size, not bold, black, normal capitals */
#hp .csp-body .csp-hsub{color:var(--black);font-weight:400;text-transform:none}
#hp .csp-body>h1:first-child,#hp .csp-body>h2:first-child,#hp .csp-body>h3:first-child,#hp .csp-body>h4:first-child{margin-top:0}
#hp .csp-body ul,#hp .csp-body ol{margin:0 0 var(--sp-m);padding-left:1.2em}
/* pull quotes: a red bar on the left (no fade, Inbar 19 Nov), same text size */
#hp .csp-body blockquote{overflow:hidden;margin:var(--sp-l) 0;padding:var(--sp-s) var(--sp-l);border-left:6px solid var(--red);background:none;color:var(--g900);font-size:inherit;line-height:inherit;font-weight:700}
#hp .csp-body blockquote p{margin:0}
/* key sentences: the light red marker of the Customization Options tab; it draws in once and stays */
#hp .csp-mark{background:linear-gradient(var(--soft-red),var(--soft-red)) no-repeat left center/0% 100%;color:inherit;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:2px 0;transition:background-size 1.4s ease-in-out}
#hp .csp-mark.is-on{background-size:100% 100%}
@media (prefers-reduced-motion:reduce){#hp .csp-mark{transition:none;background-size:100% 100%}}
#hp .csp-dl{margin:0}
#hp .csp-actions{clear:both;display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-l);padding-top:var(--sp-xl)}
#hp .csp-pdf{display:inline-flex;align-items:center;gap:var(--sp-s);padding:12px 20px;border-radius:var(--r-s);background:var(--red);color:var(--white);font-weight:700;font-size:15px;line-height:22px;text-decoration:none;transition:background-color .2s}
#hp .csp-pdf:hover{background:var(--black);color:var(--white)}
#hp .csp-back{display:inline-flex;align-items:center;gap:6px;color:var(--red);font-weight:700;font-size:15px;text-decoration:none}
#hp .csp-back:hover{text-decoration:underline}
#hp.csp .md-cta{padding-bottom:var(--sp-3xl)}
/* tablets and half screens keep the side column (the pictures stay small); phones: the summary,
   the PDF and the pictures first, then the text */
@media (max-width:1023px){#hp .csp-side,#hp .csp-fig-in{width:44%;margin-left:var(--sp-xl)}}
@media (max-width:1023px){#hp .csp-fig-wide{max-width:calc(56% - var(--sp-xl))}}
@media (max-width:767px){#hp .csp-side{float:none;width:auto;margin:0 0 var(--sp-xl)}}
@media (max-width:767px){#hp .csp-fig-in{float:none;width:auto;margin:0 0 var(--sp-l)}#hp .csp-fig-wide{max-width:none}}
@media (max-width:767px){
#hp .csp-main{padding-top:var(--sp-xl)}
#hp .csp-sum th,#hp .csp-sum td{padding:var(--sp-s) var(--sp-m)}
}

/* Customers page (22 Nov 2026): the same cards as the case studies (no search), a carousel of
   customer quotes at the top, and the customers as tags (same size as the case study tags, which
   take the page font through "#hp button") that do nothing when clicked */
#hp .cu-intro{color:var(--g700);margin:0}
.cu-say{padding:var(--sp-l) 0 var(--sp-3xl)}
#hp .cu-say-head{margin-bottom:var(--sp-xl)}
#hp .cu-car .slide{flex-basis:calc((100% - var(--gutter))/2)}
@media (max-width:1023px){#hp .cu-car .slide{flex-basis:calc((100% - var(--gutter))/1.4)}}
@media (max-width:767px){#hp .cu-car .slide{flex-basis:88%}}
#hp .cu-card{flex-direction:row}
#hp .cu-card .card-media{flex:0 0 40%;aspect-ratio:auto;min-height:300px;background:var(--g100)}
#hp .cu-card .card-body{gap:var(--sp-m)}
@media (max-width:767px){#hp .cu-card{flex-direction:column}#hp .cu-card .card-media{flex:none;aspect-ratio:16/10;min-height:0}}
#hp .cu-q{margin:0;padding:0 0 0 var(--sp-m);border-left:6px solid var(--red);font-size:17px;line-height:1.55;font-weight:700;color:var(--g900)}
#hp .cu-q p{margin:0}
#hp .cu-who{margin:0;font-size:14px;line-height:1.5;color:var(--g700)}
#hp .cu-link{margin-top:auto;padding-top:var(--sp-s)}
#hp .cu-link svg{transition:transform .18s}#hp .cu-link:hover svg{transform:translateX(4px)}
#hp .cu-tags{margin-top:var(--sp-xs)}
#hp .cu-tag{font:inherit;cursor:default}
#hp .cu-tag:hover{border-color:transparent;color:var(--g700);background:var(--g100)}
#hp .cu-intro a{color:var(--red);font-weight:600;text-decoration:underline;text-underline-offset:3px}
#hp.cu .md-cta{padding-top:0;padding-bottom:var(--sp-3xl)}
#hp.cu .cs-wrap{padding-bottom:var(--sp-2xl)}
