/* Case Study Editorial / Sileon — November 2026.
   Intent: let real work, typography and space carry the story.
   Scope: body.cs-editorial only; no changes to shared nav, forms, calculations or other pages. */
body.cs-editorial{--cs-rule:rgba(238,234,228,.20);--cs-ink:#181a20;--cs-paper:#f5f2ed;--cs-muted:#545966;background:#08090d}
body.cs-editorial .cs-intro{padding:42px 0 94px;background:radial-gradient(70% 95% at 85% 85%,rgba(60,91,156,.10),transparent 74%),#0a0b10;color:#eeeae4}
.cs-intro-rail{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--cs-rule);font-size:11px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:#a7aebc}
.cs-intro-rail a{display:inline-flex;align-items:center;min-height:44px;color:#e8ebf2;letter-spacing:.07em;transition:color .2s}
.cs-intro-rail a:hover,.cs-intro-rail a:focus-visible{color:#83afff}
.cs-intro-rail>span span{color:#4f8fff;padding:0 8px}
.cs-heading-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:clamp(36px,5vw,98px);align-items:end;padding-top:74px}
.cs-overline{font-family:"IBM Plex Sans",sans-serif!important;font-size:11px;letter-spacing:.18em!important;text-transform:uppercase;color:#82abf4!important;font-weight:650;line-height:1.5!important}
.cs-overline span{padding:0 7px;color:#8791a3}
.cs-editorial .cs-heading-main h1{font-size:clamp(50px,5.6vw,84px);letter-spacing:-.055em;line-height:.99;max-width:12.2ch;margin:25px 0 0;font-weight:700;text-wrap:balance;color:#f3f1ed}
.cs-heading-aside{border-top:1px solid var(--cs-rule);padding-top:20px;margin-bottom:5px}
.cs-small-head{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#819ad0;margin-bottom:17px}
.cs-heading-aside .cs-intro-text{font-family:"Newsreader","Newsreader Fallback",serif;font-size:clamp(22px,2vw,27px);line-height:1.37;color:#dfdcd6;max-width:32ch;letter-spacing:-.012em}
.cs-live{display:flex;align-items:center;justify-content:space-between;gap:32px;border-top:1px solid var(--cs-rule);border-bottom:1px solid var(--cs-rule);margin-top:32px;padding:17px 0;color:#f0f3fa!important;font-size:14px;font-weight:650;transition:color .2s}
.cs-live span:last-child{font-size:24px;color:#4f8fff;line-height:1;transition:transform .2s ease}
.cs-live:hover span:last-child{transform:translate(3px,-3px)}
.cs-live:hover{color:#83afff!important}
.cs-display{background:#0a0b10;color:#dedbd4;padding:0 0 95px}
.cs-feature{margin:0}
.cs-feature-image{border:1px solid rgba(255,255,255,.22);background:#0b0d14;box-shadow:0 22px 55px -42px #000;overflow:hidden}
.cs-feature-image img{width:100%;height:auto;aspect-ratio:1200/750;object-fit:cover;display:block}
.cs-feature-caption{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(220px,1fr) auto;gap:24px;align-items:center;margin:0;padding:22px 0;border-bottom:1px solid var(--cs-rule);font-size:12.5px;color:#a8b0bf}
.cs-caption-name{font-family:"IBM Plex Sans",sans-serif;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:650;color:#f0f3fa}
.cs-caption-name span{color:#4f8fff;padding:0 8px}
.cs-feature-caption a{font-size:13px;font-weight:650;color:#e4e8f1!important;padding:8px 0}
.cs-feature-caption a:hover{color:#8db3ff!important}
.cs-brief{background:var(--cs-paper);color:var(--cs-ink);padding:118px 0 116px}
.cs-brief-grid{display:grid;grid-template-columns:minmax(150px,.32fr) minmax(0,1fr);gap:clamp(54px,8vw,150px)}
.cs-side-note{display:flex;flex-direction:column;gap:25px;align-items:flex-start;font-size:13px;color:#666b73}
.cs-side-note>span:last-child{max-width:14ch;border-top:1px solid #c8c5bf;padding-top:15px;line-height:1.45}
.cs-section-index{display:block;color:#2d63b9;font-family:"IBM Plex Sans",sans-serif;font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:700}
.cs-editorial .cs-brief h2{font-size:clamp(42px,5vw,78px);letter-spacing:-.05em;max-width:14.5ch;line-height:1.02;text-wrap:balance;font-weight:650}
.cs-editorial .cs-brief p{font-family:"Newsreader","Newsreader Fallback",serif;font-size:clamp(22px,2.1vw,31px);line-height:1.4;max-width:33ch;color:#4d515b;margin-top:32px}
.cs-decisions{padding:104px 0 112px;background:#eae8e3;color:var(--cs-ink)}
.cs-decisions-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.42fr);gap:50px;align-items:end;padding-bottom:48px}
.cs-decisions-head h2{font-size:clamp(36px,4.4vw,62px);margin:20px 0 0;max-width:17ch;line-height:1.04;letter-spacing:-.045em;text-wrap:balance}
.cs-decisions-head>p{font-size:16px;color:#525764;line-height:1.65;max-width:36ch}
.cs-decisions-list{border-top:1px solid #c7c7c5}
.cs-decision{display:grid;grid-template-columns:72px minmax(0,1fr) 170px;gap:36px;padding:36px 0 42px;border-bottom:1px solid #c7c7c5;align-items:start}
.cs-decision-number{font-family:"IBM Plex Sans Condensed","IBM Plex Sans",sans-serif;font-size:30px;font-weight:700;color:#2a63c7;line-height:1}
.cs-decision h3{font-size:clamp(24px,2.65vw,35px);line-height:1.1;font-weight:650;letter-spacing:-.035em}
.cs-decision p{font-size:16px;line-height:1.65;color:#505661;max-width:65ch;margin-top:12px}
.cs-decision-type{justify-self:end;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#6d7280;padding-top:6px;font-weight:650}
.cs-path{padding:114px 0 118px;background:#10131c;color:#f1eee9}
.cs-path-grid{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.79fr);gap:clamp(60px,8vw,160px)}
.cs-path .cs-section-index{color:#88b0fc}
.cs-path-story h2{font-size:clamp(41px,4.4vw,66px);line-height:1.03;letter-spacing:-.048em;margin-top:27px;max-width:14ch;text-wrap:balance}
.cs-path-story p{font-family:"Newsreader","Newsreader Fallback",serif;font-size:clamp(21px,2vw,28px);line-height:1.4;color:#c7cad4;margin-top:30px;max-width:29ch}
.cs-path-steps{border-top:1px solid rgba(235,239,245,.22)}
.cs-path-step{display:grid;grid-template-columns:42px 1fr;gap:22px;padding:23px 0;border-bottom:1px solid rgba(235,239,245,.22)}
.cs-path-step>span{font-family:"IBM Plex Sans Condensed","IBM Plex Sans",sans-serif;font-size:20px;font-weight:700;line-height:1.1;color:#84adff}
.cs-path-step h3{font-size:21px;letter-spacing:-.025em;line-height:1.2;font-weight:650;color:#f2f1ee}
.cs-path-step p{font-size:14px;line-height:1.6;margin-top:8px;color:#acb5c5;max-width:46ch}
.cs-release-note{padding:29px 0;background:#e8e6e1;color:#525662}
.cs-release-note .s2-wrap{display:grid;grid-template-columns:130px 1fr auto;align-items:start;gap:28px}
.cs-release-note span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#2a63c7;padding-top:3px}
.cs-release-note p{font-size:13.5px;line-height:1.55;max-width:85ch}
.cs-release-note a{font-size:13px;color:#1c4d9c!important;font-weight:650;white-space:nowrap}
.cs-end{background:#08090e}
.cs-end h2{max-width:16ch}
.cs-end p{max-width:48ch}
.cs-editorial :is(a,button):focus-visible{outline:2px solid #8bb6ff;outline-offset:5px}
@media(max-width:1050px){.cs-heading-grid{gap:36px}.cs-heading-main h1{font-size:clamp(46px,6vw,70px)}.cs-decision{grid-template-columns:55px 1fr 116px;gap:23px}.cs-decisions-head{gap:28px}}
@media(max-width:900px){.cs-heading-grid,.cs-brief-grid,.cs-path-grid{grid-template-columns:1fr}.cs-editorial .cs-intro{padding:26px 0 62px}.cs-heading-grid{gap:40px;padding-top:46px}.cs-editorial .cs-heading-main h1{max-width:15ch}.cs-heading-aside{max-width:650px}.cs-display{padding-bottom:65px}.cs-brief{padding:76px 0 80px}.cs-side-note{flex-direction:row;gap:30px;align-items:center}.cs-side-note>span:last-child{max-width:none;padding:0 0 0 18px;border-top:0;border-left:1px solid #c8c5bf}.cs-brief-grid{gap:26px}.cs-decisions{padding:77px 0}.cs-path{padding:80px 0}.cs-path-grid{gap:45px}}
@media(max-width:600px){.cs-editorial main .s2-wrap{width:min(100% - 36px,1320px)}.cs-editorial .cs-intro{padding:13px 0 46px}.cs-intro-rail{font-size:10px;padding-bottom:11px}.cs-intro-rail>span{letter-spacing:.08em}.cs-heading-grid{padding-top:42px;gap:27px}.cs-overline{font-size:10px;letter-spacing:.1em!important}.cs-editorial .cs-heading-main h1{font-size:clamp(41px,10.4vw,53px);margin-top:20px;max-width:100%;line-height:1.01;letter-spacing:-.05em}.cs-heading-aside{padding-top:22px}.cs-heading-aside .cs-intro-text{font-size:23px;line-height:1.37}.cs-live{margin-top:22px;padding:14px 0}.cs-display{padding:0 0 48px}.cs-feature-image{margin-left:-18px;margin-right:-18px;border-left:0;border-right:0}.cs-feature-caption{grid-template-columns:1fr auto;gap:7px;padding:15px 0;font-size:12px;align-items:start}.cs-feature-caption>span:nth-child(2){grid-column:1/-1;grid-row:2;font-size:11.5px}.cs-feature-caption a{grid-column:2;grid-row:1;white-space:nowrap;font-size:12px}.cs-brief{padding:69px 0 72px}.cs-side-note{gap:16px;font-size:11px}.cs-editorial .cs-brief h2{font-size:clamp(38px,10vw,48px);line-height:1.04;letter-spacing:-.045em}.cs-editorial .cs-brief p{font-size:23px;margin-top:22px;max-width:none}.cs-decisions{padding:65px 0 70px}.cs-decisions-head{grid-template-columns:1fr;gap:15px;padding-bottom:29px}.cs-decisions-head h2{font-size:36px;margin-top:14px}.cs-decisions-head>p{font-size:14px}.cs-decision{grid-template-columns:35px 1fr;gap:13px;padding:24px 0 30px}.cs-decision-number{font-size:24px}.cs-decision h3{font-size:25px}.cs-decision p{font-size:14.5px;line-height:1.63}.cs-decision-type{grid-column:2;justify-self:start;font-size:10px;padding-top:1px}.cs-path{padding:66px 0 74px}.cs-path-grid{gap:33px}.cs-path-story h2{font-size:clamp(38px,10vw,48px);margin-top:18px}.cs-path-story p{font-size:22px;margin-top:19px}.cs-path-step{grid-template-columns:30px 1fr;gap:12px;padding:20px 0}.cs-path-step h3{font-size:19px}.cs-path-step p{font-size:13.5px}.cs-release-note{padding:24px 0}.cs-release-note .s2-wrap{grid-template-columns:1fr;gap:8px}.cs-release-note a{margin-top:8px}.cs-end{padding:74px 0}}
@media(prefers-reduced-motion:reduce){.cs-editorial .cs-live span,.cs-editorial .cs-intro-rail a{transition:none}}

/* The two case studies keep Sileon's typography and blue navigation, but let the client's visual character influence the presentation. */
.cs-red-barn .cs-display{background:#f4f1eb;color:#23252b}
.cs-red-barn .cs-feature-image{border:1px solid #d8d3cc;box-shadow:0 23px 45px -42px rgba(28,25,20,.5)}
.cs-red-barn .cs-feature-caption{border-color:#c7c4be;color:#62656b}
.cs-red-barn .cs-caption-name{color:#292b31}
.cs-red-barn .cs-feature-caption a{color:#2457b1!important}
.cs-red-barn .cs-feature-caption a:hover{color:#1d4087!important}

/* Claude, Nov 14 (review of Editorial Review J): repairs only, no redesign.
   1. The shared stylesheet's `body.s2 h2,h3{margin:0;line-height:..}` and `body.s2 p{margin:0}` outrank the
      single-class rules above, so the spacing written for these elements never applied: the section label sat
      on the heading and the heading sat on the paragraph. Same values as above, with enough specificity to win.
   2. Two links were under the 24px minimum tap height on phones.
   3. The small labels beside each design decision failed colour contrast (3.9 to 1; the minimum is 4.5). Now 5.1 to 1. */
body.cs-editorial .cs-decisions-head h2{margin:20px 0 0;line-height:1.04}
body.cs-editorial .cs-decision h3{line-height:1.1}
body.cs-editorial .cs-decision p{margin-top:12px}
body.cs-editorial .cs-path-story h2{margin-top:27px;line-height:1.03}
body.cs-editorial .cs-path-story p{margin-top:30px}
body.cs-editorial .cs-path-step h3{line-height:1.2}
body.cs-editorial .cs-path-step p{margin-top:8px}
body.cs-editorial .cs-feature-caption a{display:inline-flex;align-items:center;min-height:44px}
body.cs-editorial .cs-decision-type{color:#5c616d}
@media(max-width:900px){
  body.cs-editorial .cs-release-note a{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:600px){
  body.cs-editorial .cs-decisions-head h2{margin-top:14px}
  body.cs-editorial .cs-path-story h2{margin-top:18px}
  body.cs-editorial .cs-path-story p{margin-top:19px}
  body.cs-editorial .cs-release-note a{margin-top:0}
}


/* Editorial proof pass K: real website pages instead of decorative diagrams.
   Scoped exclusively to the two new case-study pages; does not affect global sections. */
body.cs-editorial .cs-feature-mobile{display:none}
body.cs-editorial .cs-brief-content{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(30px,4.5vw,75px);align-items:center}
body.cs-editorial .cs-brief-copy{min-width:0}
body.cs-editorial .cs-brief-content h2{font-size:clamp(36px,3.5vw,60px);max-width:15ch}
body.cs-editorial .cs-brief-content p{font-size:clamp(20px,1.8vw,27px);max-width:36ch}
body.cs-editorial .cs-proof-figure,body.cs-editorial .cs-path-visual{margin:0;min-width:0}
body.cs-editorial .cs-proof-figure .cs-proof-desktop,body.cs-editorial .cs-path-visual .cs-proof-desktop{background:#e1ded8;border:1px solid #d4d1cb;padding:10px;box-shadow:0 12px 40px -35px #323036}
body.cs-editorial .cs-proof-figure img,body.cs-editorial .cs-path-visual img{display:block;width:100%;height:auto}
body.cs-editorial .cs-proof-phone,body.cs-editorial .cs-path-visual-wide .cs-proof-phone{display:none}
body.cs-editorial .cs-proof-figure figcaption,body.cs-editorial .cs-path-visual figcaption{font-family:'IBM Plex Sans',sans-serif;font-size:12px;letter-spacing:.06em;color:#666b73;padding-top:15px}
body.cs-editorial .cs-proof-figure figcaption span,body.cs-editorial .cs-path-visual figcaption span{padding:0 8px;color:#2a63c7}
body.cs-editorial .cs-path-visual{margin-top:46px}
body.cs-editorial .cs-path-visual-wide .cs-proof-desktop{background:#202534;border:1px solid #414857;padding:7px;box-shadow:none}
body.cs-editorial .cs-path-visual figcaption{color:#a2adbf}
body.cs-editorial .cs-path-visual-portrait{max-width:340px}
body.cs-editorial .cs-path-visual-portrait img{width:min(100%,285px);margin:auto;box-shadow:0 16px 32px -26px #000;border:1px solid #414859}
body.cs-editorial .cs-path-visual-portrait figcaption{text-align:center}
body.cs-editorial .cs-decision{grid-template-columns:72px minmax(0,1fr)}
body.cs-editorial .cs-heading-main h1{max-width:14.5ch}
@media (max-width:1050px){
 body.cs-editorial .cs-brief-content{grid-template-columns:1fr;gap:34px}
 body.cs-editorial .cs-brief-content h2{max-width:20ch}
 body.cs-editorial .cs-brief-content p{max-width:60ch}
 body.cs-editorial .cs-decision{grid-template-columns:55px minmax(0,1fr)}
}
@media (max-width:600px){
 body.cs-editorial .cs-feature-image{border:0;box-shadow:none;background:transparent;overflow:visible;display:flex;justify-content:center;padding:18px 0 6px}
 body.cs-editorial .cs-feature-image>img{display:none}
 body.cs-editorial .cs-feature-mobile{display:block;width:clamp(225px,67vw,286px);border:1px solid rgba(255,255,255,.2);border-radius:10px;overflow:hidden;box-shadow:0 28px 44px -35px #000}
 body.cs-editorial .cs-feature-mobile img{display:block;width:100%;height:auto;aspect-ratio:auto}
 body.cs-red-barn .cs-feature-mobile{border-color:#c8c5c1;box-shadow:0 22px 38px -34px #24201d}
 body.cs-editorial .cs-brief-content{gap:25px}
 body.cs-editorial .cs-brief-content h2{font-size:clamp(37px,9.8vw,46px)}
 body.cs-editorial .cs-brief-content p{font-size:22px}
 body.cs-editorial .cs-proof-desktop{display:none}
 body.cs-editorial .cs-proof-phone{display:block;width:min(74%,270px);margin:0 auto}
 body.cs-editorial .cs-proof-figure{padding:20px 12px 12px;background:#eae6df;border:1px solid #d6d1c9}
 body.cs-editorial .cs-proof-phone img{border:1px solid rgba(22,26,34,.2);box-shadow:0 14px 34px -26px #333}
 body.cs-editorial .cs-path-visual-wide{padding:18px 12px 14px;border:1px solid #374054;background:#171d2c}
 body.cs-editorial .cs-path-visual-wide .cs-proof-phone{display:block}
 body.cs-editorial .cs-path-visual-portrait img{width:min(70%,240px)}
 body.cs-editorial .cs-path-visual{margin-top:28px}
 body.cs-editorial .cs-proof-figure figcaption,body.cs-editorial .cs-path-visual figcaption{font-size:11px;line-height:1.4}
 body.cs-editorial .cs-decision{grid-template-columns:35px minmax(0,1fr)}
}

/* One real customer voice, typeset as editorial proof rather than a star-rating card. */
body.cs-editorial .cs-client-review{background:#f6f3ee;color:#20252e;padding:clamp(64px,7vw,108px) 0;border-top:1px solid #d8d4ce}
body.cs-editorial .cs-client-review-grid{display:grid;grid-template-columns:minmax(180px,.34fr) minmax(0,1fr);gap:clamp(38px,7vw,126px)}
body.cs-editorial .cs-client-review-label{border-top:1px solid #bfc5cb;padding-top:17px}
body.cs-editorial .cs-client-review-label span{font:700 10.5px/1.45 "IBM Plex Sans",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#2a63c7}
body.cs-editorial .cs-client-review-label h2{margin:14px 0 0;font:650 clamp(24px,2.45vw,34px)/1.13 "IBM Plex Sans",sans-serif;letter-spacing:-.035em;max-width:13ch}
body.cs-editorial .cs-client-review-quote{margin:0;border-left:2px solid #2a63c7;padding-left:clamp(18px,3vw,42px)}
body.cs-editorial .cs-client-review-quote blockquote{margin:0;font:400 clamp(26px,2.95vw,42px)/1.28 "Newsreader","Newsreader Fallback",serif;letter-spacing:-.02em;max-width:35ch}
body.cs-editorial .cs-client-review-quote figcaption{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:28px;font:400 13px/1.6 "IBM Plex Sans",sans-serif;color:#616a77}
body.cs-editorial .cs-client-review-quote figcaption strong{color:#262b35;font-weight:700}
@media(max-width:750px){body.cs-editorial .cs-client-review-grid{grid-template-columns:1fr;gap:26px}body.cs-editorial .cs-client-review-label h2{max-width:none}body.cs-editorial .cs-client-review-quote blockquote{font-size:clamp(26px,6.5vw,37px)}body.cs-editorial .cs-client-review-quote{padding-left:18px}}

/* Claude, Nov 14 (Pass K check): on phones the image caption was 4.3 to 1 against the tinted figure background; the minimum is 4.5. Now 5.0 to 1. */
@media (max-width:600px){body.cs-editorial .cs-proof-figure figcaption{color:#5c616d}}



/* OPTIONAL, not applied on the live site. Case-study running text at the site's reading scale on desktop.
   Proposed by Claude, November 16, 2026. Append to assets/case-study-editorial.css and bump ?v=5 to ?v=6
   in case-study-red-barn.html and case-study-excelsior.html. Phones and tablets are untouched. */
@media (min-width:1051px){
  body.cs-editorial .cs-heading-aside .cs-intro-text{font-size:clamp(19px,1.55vw,22px);line-height:1.5;max-width:36ch}
  body.cs-editorial .cs-brief-content h2{font-size:clamp(32px,2.8vw,42px)}
  body.cs-editorial .cs-brief-content p{font-size:clamp(18px,1.45vw,21px);line-height:1.55;max-width:40ch}
  body.cs-editorial .cs-path-story p{font-size:clamp(18px,1.5vw,22px);line-height:1.55;max-width:38ch}
}

