/* Case-study pages (case-study-*.html), 2026-11-13.

   Founder's rules these pages exist under, so a later edit does not undo them:
   - The business is never named and its location is never stated: no
     country, city, language, script or currency, in copy, alt text, file
     names or metadata. Industry label only.
   - Real screenshots are cropped to the part that carries no name.
   - No card grids or boxed tiles: open editorial layout, hairline rules,
     big type. Pastel accents next to the OTW green; never orange or amber.
   Numbers on these pages were read from production on the date each page
   states. Do not restate one without re-reading it. */

:root {
  --cs-deep: #163A0A;
  --cs-cream: #F4F1E8;
  --cs-cream-muted: rgba(244,241,232,.7);
  --cs-ink: #1C2A18;
  --cs-body: #2F3F2A;
  --cs-rule: rgba(22,58,10,.14);
  --cs-mint: #CFEBD9;
  --cs-teal: #9CCFCB;
  --cs-lav: #CFC7EE;
  --cs-sky: #C5DDF2;
  --cs-you: #48A319;
}

main.cs > section { min-height: 0; padding: 0; display: block; justify-content: flex-start; }
.cs .wrap { max-width: var(--landing-max, 1080px); margin: 0 auto; padding-left: var(--gutter, 24px); padding-right: var(--gutter, 24px); }

/* Hero */
.cs-hero { background: radial-gradient(1100px 560px at 82% -8%, #2A6A16 0%, var(--cs-deep) 58%); color: var(--cs-cream); }
.cs-hero .wrap { padding-top: 84px; padding-bottom: 72px; }
.cs-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cs-mint); margin-bottom: 22px; }
.cs-kick::before { content: ""; width: 26px; height: 1px; background: var(--cs-mint); }
main.cs .cs-hero h1 { color: var(--cs-cream); font-size: clamp(38px, 6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 22px; max-width: 14em; }
.cs-hero .lede { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--cs-cream-muted); margin: 0; max-width: 34em; }

/* At a glance: three figures on one rule, no tiles */
.cs-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(244,241,232,.2); }
.cs-glance > div { padding: 26px 28px 0 0; }
.cs-glance > div + div { padding-left: 28px; border-left: 1px solid rgba(244,241,232,.2); }
.cs-glance b { display: block; font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; }
.cs-glance b small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--cs-cream-muted); margin-left: 6px; }
.cs-glance span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--cs-cream-muted); max-width: 20em; }

/* Body */
.cs-body { background: var(--cs-cream); color: var(--cs-ink); }
.cs-sec { padding: 72px 0 0; }
.cs-sec:last-of-type { padding-bottom: 88px; }
.cs-ref p a { color: var(--signal-deep, #266006); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cs-sec > .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
main.cs .cs-sec h2 { font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; color: var(--signal-deep, #266006); margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--cs-rule); }
.cs-sec .col { padding-top: 18px; border-top: 1px solid var(--cs-rule); min-width: 0; }
.cs-sec .big { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 20px; max-width: 20em; color: var(--cs-deep); }
.cs-sec p { margin: 0 0 16px; font-size: 17.5px; line-height: 1.7; color: var(--cs-body); max-width: 38em; }
.cs-sec p:last-child { margin-bottom: 0; }
.cs-sec ul { margin: 0; padding: 0; list-style: none; max-width: 40em; }
.cs-sec li { padding: 14px 0; border-top: 1px solid var(--cs-rule); font-size: 17px; line-height: 1.6; color: var(--cs-body); }
.cs-sec li:first-child { border-top: 0; padding-top: 0; }
.cs-sec li b { color: var(--cs-deep); }

/* Figures */
.cs-fig { margin: 8px 0 0; min-width: 0; }
.cs-fig .shot { background: #fff; border-radius: 14px; padding: 18px 14px 10px; }
.cs-fig img { display: block; width: 100%; height: auto; }
.cs-fig figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #4E5F49; max-width: 46em; }
.cs-key { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 14px; font-size: 14px; color: var(--cs-body); }
.cs-key i { display: inline-block; width: 22px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 8px; background: var(--cs-you); }
.cs-key i.o { background: #C98A5A; }

/* Bars: one row per item, value at the right, hairline between rows */
.cs-bars { margin: 6px 0 0; max-width: 46em; }
.cs-bar { display: grid; grid-template-columns: minmax(120px, 15em) 1fr 5.5em; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--cs-rule); font-size: 15.5px; color: var(--cs-body); }
.cs-bar:first-child { border-top: 0; }
.cs-bar .t { height: 12px; border-radius: 6px; background: rgba(22,58,10,.08); overflow: hidden; }
.cs-bar .t i { display: block; height: 100%; border-radius: 6px; background: var(--cs-teal); }
.cs-bar.you .t i { background: var(--cs-you); }
.cs-bar.other .t i { background: #4E9E98; }
.cs-bar .v { text-align: right; font-weight: 700; color: var(--cs-deep); font-variant-numeric: tabular-nums; }

/* Percentage rings */
.cs-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 46em; }
.cs-ring { padding: 4px 22px 0 0; }
.cs-ring + .cs-ring { padding-left: 22px; border-left: 1px solid var(--cs-rule); }
.cs-ring svg { display: block; width: 132px; height: 132px; }
.cs-ring b { display: block; margin-top: 14px; font-size: 16px; color: var(--cs-deep); }
.cs-ring span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: #4E5F49; }

/* Before and after pair */
.cs-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: end; max-width: 40em; margin: 4px 0 6px; }
.cs-pair .n { font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -.035em; line-height: .95; color: var(--cs-deep); }
.cs-pair .n.was { color: #76856F; }
.cs-pair.flat { grid-template-columns: 1fr 1fr; }
.cs-pair.top { align-items: start; max-width: 44em; }
.cs-pair .l { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: #4E5F49; font-weight: 400; letter-spacing: 0; }
.cs-pair .ar { font-size: 30px; color: var(--cs-you); padding-bottom: 34px; }

/* Limits */
.cs-limits { background: var(--cs-cream); }
.cs-limits p { font-size: 16px; color: #4E5F49; }

/* Next + CTA */
.cs-next { background: var(--cs-deep); color: var(--cs-cream); }
.cs-next .wrap { padding-top: 72px; padding-bottom: 84px; }
main.cs .cs-next h2 { color: var(--cs-cream); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 14px; max-width: 16em; }
.cs-next p { margin: 0 0 28px; font-size: 17.5px; line-height: 1.65; color: var(--cs-cream-muted); max-width: 34em; }
.cs-btn { display: inline-block; background: var(--signal, #48A319); color: #FFFFFF; font-weight: 700; font-size: 16px; padding: 0 28px; line-height: 52px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.cs-btn:hover { background: var(--signal-hover, #3B8913); }
.cs-more { margin-top: 56px; border-top: 1px solid rgba(244,241,232,.2); }
.cs-more a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(244,241,232,.2); color: var(--cs-cream); text-decoration: none; }
.cs-more a b { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -.015em; }
.cs-more a span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-mint); }
.cs-more a:hover b { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 820px) {
  .cs-hero .wrap { padding-top: 56px; padding-bottom: 52px; }
  .cs-glance { grid-template-columns: 1fr; margin-top: 40px; }
  .cs-glance > div { padding: 22px 0; }
  .cs-glance > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(244,241,232,.2); }
  .cs-sec { padding-top: 52px; }
  .cs-sec > .wrap { grid-template-columns: 1fr; gap: 0; }
  .cs-sec .col { border-top: 0; padding-top: 14px; }
  .cs-bar { grid-template-columns: 1fr auto; }
  .cs-bar .v { white-space: nowrap; }
  .cs-bar .t { grid-column: 1 / -1; order: 3; }
  .cs-rings { grid-template-columns: 1fr; }
  .cs-ring { padding: 18px 0; display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: center; }
  .cs-ring + .cs-ring { padding-left: 0; border-left: 0; border-top: 1px solid var(--cs-rule); }
  .cs-ring svg { width: 96px; height: 96px; grid-row: 1 / span 2; }
  .cs-ring b { margin-top: 0; align-self: end; }
  .cs-ring span { align-self: start; }
  .cs-pair { gap: 16px; }
  .cs-pair .ar { padding-bottom: 40px; font-size: 22px; }
  .cs-fig .shot { padding: 10px 6px 6px; border-radius: 10px; }
  .cs-next .wrap { padding-top: 56px; padding-bottom: 64px; }
  .cs-more a { grid-template-columns: 1fr; gap: 6px; }
  .cs-more a span { order: -1; }
}

/* Conversion rewrite, 2026-11-13: outcome-first hero with four figures, a
   numbered list of the work, a results table and one short notes section. */
.cs-glance.four { grid-template-columns: repeat(4, 1fr); }
.cs-glance.four b { font-size: clamp(30px, 3.8vw, 50px); }
.cs-glance.four > div { padding-right: 20px; }
.cs-glance.four > div + div { padding-left: 20px; }
.cs-note { margin: 28px 0 0; font-size: 14px; line-height: 1.55; color: var(--cs-cream-muted); max-width: 52em; }
.cs-hero .cs-btn { margin-top: 30px; }
.cs-work { list-style: none; margin: 8px 0 0; padding: 0; max-width: 42em; counter-reset: none; }
.cs-work li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 16px 0; border-top: 1px solid var(--cs-rule); font-size: 17px; line-height: 1.6; color: var(--cs-body); }
.cs-work li:first-child { border-top: 0; padding-top: 4px; }
.cs-work .no { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--signal-ink, #327A0A); padding-top: 4px; }
.cs-work b { color: var(--cs-deep); }
.cs-table { margin: 26px 0 0; max-width: 40em; }
.cs-table > div { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--cs-rule); font-size: 16px; color: var(--cs-body); }
.cs-table > div.h { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-deep, #266006); }
.cs-table b { color: var(--cs-deep); font-size: 18px; }
.cs-sec p.cs-src { margin-top: 14px; font-size: 14px; line-height: 1.55; color: #4E5F49; }
.cs-sec ul.cs-notes li { font-size: 15px; line-height: 1.6; color: #4E5F49; padding: 10px 0; }
.cs-pair.top > div > p { margin: 0; }
.cs-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cs-alt { color: var(--cs-cream); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.cs-alt:hover { color: #fff; }
@media (max-width: 980px) { .cs-glance.four { grid-template-columns: 1fr 1fr; } .cs-glance.four > div:nth-child(3) { padding-left: 0; border-left: 0; } .cs-glance.four > div:nth-child(n+3) { border-top: 1px solid rgba(244,241,232,.2); margin-top: 22px; } }
@media (max-width: 820px) {
  .cs-glance.four { grid-template-columns: 1fr; }
  .cs-glance.four > div { padding: 22px 0; margin-top: 0 !important; }
  .cs-glance.four > div + div { padding-left: 0; }
  .cs-pair.flat.top { grid-template-columns: 1fr; }
  .cs-table > div { grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; font-size: 15px; }
}
@media (max-width: 820px) { .cs-hero .cs-btn, .cs-next .cs-btn { white-space: normal; line-height: 1.3; padding: 15px 24px; } }

/* Flagship pass on the fabricator page, 2026-11-13: plain-word steps with the
   reason under each, a two-column deliverables table, and phase labels that
   group the seven-day series. */
.cs-work .why { display: block; margin-top: 4px; color: var(--signal-deep, #266006); font-weight: 600; }
.cs-table.two > div { grid-template-columns: 1fr 1.4fr; }
.cs-phase { margin: 22px 0 2px; padding-top: 14px; border-top: 1px solid var(--cs-rule); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-deep, #266006); }
.cs-bars > .cs-phase:first-child { margin-top: 6px; border-top: 0; padding-top: 0; }
.cs-phase + .cs-bar { border-top: 0; }
@media (max-width: 820px) { .cs-table.two > div { grid-template-columns: 1fr; gap: 2px; } .cs-table.two > div.h span + span { display: none; } .cs-table.two > div span:first-child { font-weight: 700; color: var(--cs-deep); } }
