/* Shortening the buyer journey case study: the few pieces the shared case study styles do not cover. */
/* Cover: a landscape screenshot, set on the right of the hero and clear of the title. */
/* The cover runs off the right edge, so only the assistant and a strip of the website show */
.fold1 { overflow-x: clip; }
.fold1 .cont .cover .cvr { display: block; float: right; width: 70%; height: auto; margin: 6% -39% 0 0; transform: none; border-radius: 14px; opacity: 1; }
@media (max-width: 768px) { .fold1 .cont .cover .cvr { width: 100%; margin: 0; float: none; } }
.cs .pshots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 8px; }
.cs .pshots.two { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 40px; }
.cs .pshots.wide { grid-template-columns: repeat(5, 1fr); }
.cs .pshots figure { margin: 0; background: #fff; border: 1px solid #ececec; border-radius: 14px; overflow: hidden; min-width: 0; }
.cs .pshots img { display: block; width: 100%; height: auto; }
.cs .pshots.wide img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.cs .pshots figcaption { font-family: Medium; font-size: 14px; line-height: 1.4; color: #222; padding: 10px 14px 12px; border-top: 1px solid #f1f1f1; }
.cs p.ps { font-family: Light; font-size: 24px; line-height: 1.65; color: var(--cs-text); margin: 28px 0 0; max-width: 900px; }
.cs p.ps b { font-family: Medium; font-weight: normal; color: var(--cs-strong); }
.cs .tablewrap { margin: 28px 0 8px; }
.cs table.t th { font-family: Medium; font-weight: normal; color: #222; font-size: 15px; }
.cs table.t td { font-size: 16px; line-height: 1.5; vertical-align: top; }
.cs .grid-3 .tile p.small { font-size: 16px !important; margin: 0; }
@media (max-width: 768px) {
  .cs .pshots, .cs .pshots.wide { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cs .pshots.two { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cs p.ps { font-size: 18px; }
  .cs .grid-3 { grid-template-columns: 1fr; }
}

.cs .grid-2.struggles { display: grid; gap: 16px; margin: 20px 0 8px; }
.cs .grid-2.struggles .tile { background: var(--cs-card); border-color: var(--cs-card-line); }
.cs .grid-2.struggles .tile p.small { font-size: 17px !important; margin: 0; }
@media (max-width: 768px) { .cs .grid-2.struggles { grid-template-columns: 1fr; } }

/* Features, presented the way the Freo case study does: a boxed one line statement, a hero on a
   coloured stage, then a strip of smaller screens. */
.cs .featline { margin: 36px 0 0; padding: 22px 28px; border: 1.5px solid #151515; font-family: Light; font-size: 22px; line-height: 1.45; color: #6b6b6b; }
.cs .featline b { font-family: Medium; font-weight: normal; color: #151515; }
.cs .featline span { margin-right: 10px; color: #151515; }
.cs .featstage { margin-top: 16px; padding: 72px 24px 0; border-radius: 16px; overflow: hidden; display: flex; justify-content: center;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 62px, rgba(255,255,255,0.34) 62px 64px),
    linear-gradient(180deg, #f6fb4a 0%, #f9fb9c 40%, #fbf9f0 80%, #ffffff 100%); }
.cs .featstage video, .cs .featstage img { display: block; width: 360px; max-width: 100%; height: auto; border-radius: 22px 22px 0 0; border: 1px solid #e3e0d6; border-bottom: 0; background: #fbf9f4; box-shadow: 0 24px 60px rgba(60, 60, 20, 0.16); }
.cs .featstage + .pshots { margin-top: 16px; }
.cs .row .copy h4 + p { margin-top: 14px; }
@media (max-width: 768px) { .cs .featline { font-size: 17px; padding: 16px 18px; } .cs .featstage { padding: 28px 16px 0; } }

/* The four screens under a hero: plain rounded screens, as in the Freo study, with a quiet caption */
.cs .featstage + .pshots figure { border: 0; background: none; border-radius: 0; overflow: visible; }
.cs .featstage + .pshots img { border: 1px solid #e6e3da; border-radius: 16px; }
.cs .featstage + .pshots figcaption { border-top: 0; padding: 10px 2px 0; font-family: Light; font-size: 14px; color: #6b6b6b; }


/* ---------- Interactive timeline of the journey on the web today ---------- */
.cs .tline { margin: 36px 0 8px; outline: 0; }
.cs .tl-stage { position: relative; border: 1px solid #e6e6e6; border-radius: 16px; overflow: hidden; background: #f6f6f6; }
.cs .tl-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; transition: opacity 0.18s ease, transform 0.35s ease; }
.cs .tl-img.swap { opacity: 0; transform: scale(0.992); }
.cs .tl-cap { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 18px 24px; background: #fff; border-top: 1px solid #ececec; }
.cs .tl-funnel { font-family: Regular; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: #151515; border-radius: 999px; padding: 4px 10px; }
.cs .tl-title { font-family: Medium; font-weight: normal; font-size: 22px; color: #151515; }
.cs .tl-desc { font-family: Light; font-size: 18px; color: #6b6b6b; }
.cs .tl-track { position: relative; margin-top: 26px; }
.cs .tl-groups { display: flex; gap: 8px; margin-bottom: 14px; font-family: Regular; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a8a; }
.cs .tl-groups span { padding-bottom: 8px; border-bottom: 1px dashed #cfcfcf; }
.cs .tl-line { position: absolute; left: 5%; right: 5%; top: 55px; height: 2px; background: #e3e3e3; }
.cs .tl-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: #151515; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.cs .tl-steps { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); margin: 0; padding: 0; list-style: none; }
.cs .tl-step { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 0 2px; border: 0; background: none; cursor: pointer; font-family: Light; font-size: 14px; line-height: 1.3; color: #8a8a8a; text-align: center; }
.cs .tl-step i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #d9d9d9; background: #fff; font-style: normal; font-family: Medium; font-size: 14px; color: #8a8a8a; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.cs .tl-step.done i { border-color: #151515; color: #151515; }
.cs .tl-step.on i { background: #151515; border-color: #151515; color: #fff; transform: scale(1.12); }
.cs .tl-step.on, .cs .tl-step:hover { color: #151515; }
.cs .tl-step { outline: 0; -webkit-tap-highlight-color: transparent; }
.cs .tl-step:focus-visible i { outline: 2px solid #151515; outline-offset: 3px; }
@media (max-width: 768px) {
  .cs .tl-track { overflow-x: auto; padding-bottom: 8px; }
  .cs .tl-steps, .cs .tl-groups, .cs .tl-line { min-width: 720px; }
  .cs .tl-line { left: 36px; right: auto; width: 648px; }
  .cs .tl-title { font-size: 18px; } .cs .tl-desc { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .cs .tl-img, .cs .tl-fill, .cs .tl-step i { transition: none; } }

/* Hero title: where it crosses the light cover it flips to dark, so it stays readable */
.fold1 .cont .phead1, .fold1 .cont .phead2 { mix-blend-mode: difference; white-space: nowrap; }

/* Key takeaway boxes, as in the other case studies */
.cs .kt { background: #f8f8f8; border-radius: 8px; padding: 26px 28px 30px; margin: 8px 0 28px; }
.cs .kt-l { font-family: Medium; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: #222; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 0.5px solid #d9d9d9; }
.cs .kt .tile { background: #fff; border: 0; border-radius: 8px; padding: 26px 24px; }
.cs .kt-n { font-family: Light; font-size: 54px; line-height: 1.1; color: #333; margin-bottom: 14px; }
.cs .kt-p { margin: 26px 0 0; padding-top: 24px; border-top: 0.5px solid #d9d9d9; font-family: Light; font-size: 20px; line-height: 1.5; color: #6b6b6b; }
.cs .kt-p strong { font-family: Medium; color: #222; font-weight: normal; }
.cs .kt-h { font-family: Light; font-size: 26px; line-height: 1.4; color: #333; margin: 0 0 30px; max-width: 640px; }
.cs .kt-list h4 { font-family: Medium; font-size: 20px; color: #333; margin: 0 0 6px; font-weight: normal; }
.cs .kt-list p.small { margin: 0 0 24px; }
.cs .kt-list p.small:last-child { margin-bottom: 0; }
.cs .kt-q { font-family: Medium; font-size: 28px; line-height: 1.35; text-transform: uppercase; color: #222; margin: 0; }
.cs .card.brand + p { margin-top: 26px; }
@media (max-width: 768px) {
    .cs .kt { padding: 20px 18px 22px; }
    .cs .kt .grid-3 { grid-template-columns: 1fr; }
    .cs .kt-n { font-size: 42px; }
    .cs .kt-q { font-size: 21px; }
    .cs .kt-h { font-size: 21px; }
}
.cs .tline + script + .kt { margin-top: 40px; }
.cs .copy p.note { font-size: 14px; line-height: 1.5; margin-top: 18px; }

/* Hero title: the second line is longer, so it is set smaller and starts under the first */
@media (min-width: 769px) {
    .fold1 .cont .phead .phead2 { font-size: 4.6vw !important; transform: translate(-9.8vw, -1.6vw); }
}
@media (max-width: 768px) {
    .fold1 .cont .phead .phead2 { font-size: 6.4vw !important; white-space: nowrap !important; }
}

/* Option tiles for the suggestions decision */
.cs .opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }
.cs .opts .tile { border: 0.5px solid #dcdcdc; border-radius: 10px; background: #fff; }
.cs .opts .tile { padding: 22px 20px 24px; }
.cs .opts .tile h5 { font-family: Medium; font-weight: normal; font-size: 19px; line-height: 1.3; color: #222; margin: 10px 0 8px; }
.cs .opts .tile.on { border: 1.5px solid #111 !important; }
.cs .opt-tag { display: inline-block; font-family: Medium; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #6b6b6b; background: #f1f1f1; border-radius: 99px; padding: 4px 10px; }
.cs .opts .tile.on .opt-tag { background: #111; color: #fff; }
.cs .copy p + p { margin-top: 14px; }
@media (max-width: 768px) { .cs .opts { grid-template-columns: 1fr 1fr; } }

/* Insight statements: big, with the key parts bold */
.cs .wrap p.ps { font-family: Light, sans-serif; font-size: 44px !important; line-height: 1.3 !important; letter-spacing: -0.01em; color: #9a9a9a; margin: 56px 0 16px; }
.cs .wrap p.ps b { font-family: Medium, sans-serif; font-weight: normal; color: #111; }
@media (max-width: 768px) { .cs .wrap p.ps { font-size: 28px !important; margin-top: 36px; } }

/* Screens of the four suggestion options, from the prototype */
.cs .ov-img { margin: -4px -4px 18px; background: #fbf9f4; border-radius: 10px; overflow: hidden; }
.cs .ov-img img { display: block; width: 100%; height: auto; }

/* More room between every block: rows, visuals and statements */
.cs .row { padding-top: 64px !important; padding-bottom: 64px !important; }
.cs .row.flat { padding-top: 112px !important; padding-bottom: 36px !important; }
.cs :is(.featstage, .pshots, .opts, figure.ws, .tline, p.ps, .kt, .tablewrap) + .row { padding-top: 136px !important; }
.cs :is(.featstage, .pshots, .opts, figure.ws, .tline, .kt, .tablewrap) + :is(p.ps, .kt, .featline, figure.ws) { margin-top: 96px !important; }
.cs .row.flat + :is(.featline, .opts, figure.ws, .featstage, .tline) { margin-top: 28px !important; }
@media (max-width: 768px) {
    .cs .row { padding-top: 44px !important; padding-bottom: 44px !important; }
    .cs .row.flat { padding-top: 72px !important; padding-bottom: 24px !important; }
    .cs :is(.featstage, .pshots, .opts, figure.ws, .tline, p.ps, .kt, .tablewrap) + .row { padding-top: 84px !important; }
    .cs :is(.featstage, .pshots, .opts, figure.ws, .tline, .kt, .tablewrap) + :is(p.ps, .kt, .featline, figure.ws) { margin-top: 60px !important; }
}

/* Insight statements sit on the bot's own surface: stone, warming to Verizon yellow at the bottom */
.cs .wrap p.ps { padding: 56px 60px 64px; border-radius: 20px; color: #8a8a8a;
    background: linear-gradient(180deg, #fbf9f4 0%, #fbf9f4 38%, #f9fbc4 78%, #f4fa6a 100%); }
@media (max-width: 768px) { .cs .wrap p.ps { padding: 32px 24px 36px; border-radius: 16px; } }

/* Timeline: the steps sit above the screen */
.cs .tl-track { margin-top: 0; margin-bottom: 28px; }
.cs .wrap p.ps { color: #111 !important; }
.cs .wrap p.ps b { background-image: none !important; }
.cs .wrap p.ps { border: 1.5px solid #111; }
.cs .copy p + .card.brand { margin-top: 24px; }
.cs .copy p.small strong { font-family: Medium; font-weight: normal; color: #222; }

/* My contribution tag */
.cs .mine { display: inline-block; font-family: Medium; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #111; background: #f8ff3c; border-radius: 99px; padding: 5px 11px; margin-bottom: 14px; }
/* Copy the web vs a smaller journey */
.cs .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 12px; }
.cs .cmp { border-radius: 14px; padding: 26px 28px 24px; border: 0.5px solid #dcdcdc; background: #fff; }
.cs .cmp.new { background: linear-gradient(180deg, #fbf9f4 0%, #fbf9f4 45%, #f9fbc4 85%, #f4fa6a 100%); border: 1.5px solid #111; }
.cs .cmp-h { font-family: Medium; font-size: 20px; color: #111; margin-bottom: 16px; }
.cs .cmp ol { margin: 0; padding-left: 22px; font-family: Light; font-size: 17px; line-height: 1.8; color: #444; }
.cs .cmp.old ol { color: #8a8a8a; }
.cs .cmp-f { margin: 18px 0 0; padding-top: 14px; border-top: 0.5px solid #d9d9d9; font-family: Medium; font-size: 15px; color: #222; }
/* Where each thing belongs */
.cs .where { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }
.cs .where .tile { border: 0.5px solid #dcdcdc; border-radius: 10px; background: #fff; padding: 22px 20px 24px; }
.cs .where .tile h5 { font-family: Medium; font-weight: normal; font-size: 19px; line-height: 1.3; color: #222; margin: 12px 0 8px; }
.cs :is(.compare, .where) + .row { padding-top: 136px !important; }
.cs .row.flat + :is(.compare, .where) { margin-top: 28px !important; }
@media (max-width: 768px) { .cs .compare { grid-template-columns: 1fr; } .cs .where { grid-template-columns: 1fr 1fr; } .cs :is(.compare, .where) + .row { padding-top: 84px !important; } }

/* Short pointer lists */
.cs .copy ul.pts { margin: 6px 0 0; padding-left: 20px; font-family: Light; font-size: 18px; line-height: 1.5; color: #555; }
.cs .copy ul.pts li + li { margin-top: 10px; }

/* Every screen from the bill to payment, in two rows of five */
.cs .pshots.ten { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 14px; }
.cs .featstage + .pshots img, .cs .pshots.ten img { border: 0.5px solid #111 !important; border-radius: 14px; }
@media (max-width: 768px) { .cs .pshots.ten { grid-template-columns: 1fr 1fr; } }

/* Ten screens in a black outlined grid, each screen centred in its box */
.cs .featstage + .pshots.ten, .cs .pshots.ten { gap: 0; border-top: 1px solid #111; border-left: 1px solid #111; border-radius: 0; }
.cs .pshots.ten figure { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px 22px; border: 0 !important; border-right: 1px solid #111 !important; border-bottom: 1px solid #111 !important; border-radius: 0 !important; background: #fff !important; }
.cs .pshots.ten img { width: 84%; }
.cs .pshots.ten figcaption { text-align: center; padding: 14px 0 0 !important; }

/* Product cover after the overview, full width */
.cs .cs-cover { margin: 40px 0 0; }
.cs .cs-cover img { display: block; width: 100%; height: auto; }

.cs .pshots.ten.twelve { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 768px) { .cs .pshots.ten.twelve { grid-template-columns: 1fr 1fr; } }

/* Link to the live prototype */
.cs .proto-link { margin: 28px 0 0; text-align: center; }
.cs .proto-link a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 99px; background: #111; color: #fff; font-family: Medium; font-size: 17px; text-decoration: none; }
.cs .proto-link a span { font-size: 15px; }
.cs .proto-link a:hover { background: #333; }

/* Live prototype, embedded as a desktop window scaled to the column */
.cs .proto-frame { position: relative; margin-top: 16px; border: 1px solid #111; border-radius: 16px; overflow: hidden; background: #fbf9f4; }
.cs .proto-frame iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }
.cs .proto-frame + .proto-link { margin-top: 18px; }
.cs .proto-frame + .proto-link a { background: none; color: #111; border: 1px solid #111; padding: 10px 20px; font-size: 15px; }

/* Bot and web sync clips */
.cs .syncvid { margin: 16px 0 0; }
.cs .syncvid video { display: block; width: 100%; height: auto; border: 1px solid #111; border-radius: 14px; background: #fbf9f4; }
.cs .syncvid + .featline { margin-top: 56px !important; }
