/* Swift uses the approved Vega / OriginTag / Letterboxd reading layout. Cards carry the team's two colors the way its own slides do: sky blue for the passenger side, coral for the driver side. */
:root{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',sans-serif;color:#222;background:#fff;--line:#e4e2e3;--sw-coral:#f0606b;--sw-coral-ink:#ab414b;--sw-coral-tint:#fff6f6;--sw-coral-line:#f3c5c9;--sw-coral-pill:#ffe2e4;--sw-blue:#6aa6dc;--sw-blue-ink:#2c6aa3;--sw-blue-tint:#f3f8fd;--sw-blue-line:#bdd8f0;--sw-blue-pill:#dcecfa;--sw-ink-tint:#f7f7f8}
*{box-sizing:border-box}html{line-height:1.5;-webkit-text-size-adjust:100%}body{margin:0;-webkit-font-smoothing:antialiased}h1,h2,h3,h4,p,figure,ul{margin:0}h1,h2,h3,h4,b,strong{font-weight:400}h1,h2{letter-spacing:-.04em;line-height:1.18}h2,.process-step-copy>h3{font-size:clamp(28px,3.2vw,38px);line-height:1.18;letter-spacing:-.04em}h3,h4{font-size:22px;line-height:1.3;letter-spacing:-.025em}p,li{font-size:17px;line-height:1.65;color:#555}a{color:inherit;text-underline-offset:4px}img,video{display:block;width:100%;max-width:100%;height:auto}img{object-fit:contain}:focus-visible{outline:2px solid var(--case-accent);outline-offset:5px}::selection{background:#ffdde0;color:#8f2f3a}
.case-body{max-width:1040px;margin:auto;padding:40px 48px 48px;display:flex;flex-direction:column;gap:40px}.case-body>*{width:100%;min-width:0;margin:0}section,article{scroll-margin-top:28px}h2+p,h3+p,h4+p{margin-top:16px}
.case-body :is(h2,h3,h4){color:#17171a}

/* Small labels: blue marks the passenger side, coral the driver side. */
.sw-pill{display:inline-block;width:max-content;max-width:100%;padding:3px 8px;border-radius:4px;background:var(--sw-coral-pill);font:400 13px/1.35 Abel,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:var(--sw-coral-ink)}
.sw-pill.is-blue{background:var(--sw-blue-pill);color:var(--sw-blue-ink)}
:is(.sw-label,.sw-questions span,.sw-outcome span,.sw-changes-head span){display:block}
:is(.sw-label,.sw-questions span,.sw-service caption,.sw-service thead th,.sw-outcome span,.sw-changes-head span){font:400 14px/1.35 Abel,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--case-accent)}
.sw-note{font-size:13px!important;line-height:1.6;color:#686868}
.sw-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:2px solid #b9bcc1;border-radius:50%;color:#4f5761}
.sw-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sw-figure{padding:12px;background:#fff;border:1.5px solid var(--line);border-radius:14px;min-width:0}
.sw-figure img{border-radius:8px}
.sw-figure figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding:14px 6px 4px;font-size:14px;line-height:1.55;color:#666}
.sw-figure figcaption b{font-weight:600;color:#17171a}
/* The sitemaps sit straight on the page, without a card around them. */
.sw-figure.is-open{padding:0;border:0;background:none}
.sw-figure.is-open figcaption{padding:12px 0 0}
.sw-figure.is-driver{border-color:var(--sw-coral-line)}

/* Opening */
.cs-two-col{display:grid;grid-template-columns:1.08fr 1fr;gap:9%;align-items:start}.overview-logo{width:104px;margin-bottom:24px}.cs-two-col>p{font-size:17px;line-height:1.7}
.overview-title h1{font-size:clamp(30px,4vw,44px);line-height:1.12;letter-spacing:-.05em;background:linear-gradient(105deg,#f58a86 0%,#ee5d6a 48%,#c23c52 100%);background-clip:text;-webkit-background-clip:text;color:transparent;padding-bottom:.12em}
.cs-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:64px;border-top:1px solid #ddd;padding-top:24px}.cs-meta span{display:block;font:700 12.16px/1.3 -apple-system,BlinkMacSystemFont,'SF Pro Text',sans-serif;letter-spacing:.05em;text-transform:uppercase;margin-bottom:12.8px;color:#17171a}.cs-meta p{font-size:16px;color:#17171a}
.sw-hero{margin-top:32px;overflow:hidden;border:1.5px solid var(--line);border-radius:14px}
.ownership-block>span,.process-result>span,.case-outcome>span,.reflection-grid article>span,.story-transition>span{display:block;margin-bottom:14px;text-transform:uppercase}
.ownership-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ownership-list li{padding-top:20px;border-top:1px solid #ddd;font-size:16px}.ownership-list b{display:block;margin-bottom:8px;text-transform:uppercase}
.cs-section-head,.project-framing-head,.final-product-head,.process-story-head{margin-bottom:28px}:is(.cs-section-head,.project-framing-head,.final-product-head)>span,.process-eyebrow,.process-step-label{display:block}
:is(.cs-section-head,.project-framing-head,.final-product-head) p{max-width:740px}

/* Project framing: the secondary research, the scope note, then the two questions. */
.sw-market{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sw-market article{padding:22px;background:var(--sw-ink-tint);border:1.5px solid var(--line);border-radius:14px;min-width:0}
.sw-market b{display:block;margin-bottom:10px;font-size:clamp(22px,2.4vw,28px);white-space:nowrap;font-weight:600;line-height:1.1;letter-spacing:-.035em;color:#17171a}
.sw-market p{font-size:14px;line-height:1.5}
.sw-market+.sw-note{margin-top:12px}
.sw-scope{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin-top:16px;padding:16px 20px;border:1.5px solid var(--line);border-radius:14px;font-size:15px;line-height:1.55;color:#5d5d62}
.sw-scope b{font-weight:600;color:#17171a}
.sw-questions span{margin-bottom:12px}
.sw-questions p{max-width:820px;font-size:clamp(20px,2.2vw,24px);line-height:1.38;letter-spacing:-.02em;color:#29272c}
.story-transition>p{font-size:19px;line-height:1.5;color:#3d3a3f}

/* Process */
.sw-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:28px}
.sw-metrics>span{font-size:13px;line-height:1.4;color:#666}
.sw-metrics b{display:block;font-size:28px!important}
.process-step-copy>p{margin-top:20px;max-width:740px}.process-step-copy>:is(div,figure,section){margin-top:28px}.process-step-copy>p.sw-note{margin-top:14px}

.sw-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sw-insights article{padding:24px;background:var(--sw-blue-tint);border:1.5px solid var(--sw-blue-line);border-radius:14px;min-width:0}
.sw-insights article:nth-child(2){background:var(--sw-coral-tint);border-color:var(--sw-coral-line)}
.sw-insights h4{margin:16px 0 8px;font-size:20px}.sw-insights h4+p{margin-top:0}.sw-insights p{font-size:15px}
.sw-stack{display:grid;gap:16px}
.sw-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sw-figure figcaption a{margin-left:auto;padding:6px 0}

/* 02: personas and the service table. */
.sw-service{overflow-x:auto;overscroll-behavior-x:contain;border:1.5px solid var(--line);border-radius:14px}
.sw-service table{width:100%;min-width:730px;border-collapse:collapse;font-size:15px;line-height:1.55}
.sw-service caption{padding:16px 20px;background:var(--sw-ink-tint);text-align:left}
.sw-service :is(th,td){padding:18px 20px;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.sw-service :is(th,td)+:is(th,td){border-left:1px solid var(--line)}
.sw-service thead th{color:#777}
.sw-service tbody th{width:21%;font-weight:600;color:#17171a;white-space:nowrap}
.sw-service tbody th i{display:inline-block;width:9px;height:9px;margin-right:10px;border-radius:50%;background:#c4c6ca}
.sw-service i.is-passenger{background:var(--sw-blue)}.sw-service i.is-driver{background:var(--sw-coral)}
.sw-service td{color:#555}

/* Original slides sit in a sideways track; the arrows wrap around at either end. */
.sw-carousel>.sw-label{margin-bottom:14px;color:#777}
.sw-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 16px)/2);gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.sw-track::-webkit-scrollbar{display:none}
.sw-track figure{overflow:hidden;background:#fff;border:1.5px solid var(--line);border-radius:14px;scroll-snap-align:start;min-width:0}
.sw-track img{aspect-ratio:16/9;padding:12px;object-fit:contain;background:#fff}
/* Wireframe strips are wide and short, so they get the full row. */
.sw-track.is-wide{grid-auto-columns:100%}
.sw-track.is-wide img{aspect-ratio:5/2}
.sw-track figcaption{padding:12px 16px;border-top:1px solid var(--line);font-size:14px;line-height:1.4;color:#17171a}
.sw-carousel-controls{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.sw-carousel-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(0,0,0,.18);border-radius:50%;background:#fff;color:#17171a;font:inherit;cursor:pointer;touch-action:manipulation;transition:background .2s ease,color .2s ease}
.sw-carousel-controls button:hover{background:#17171a;color:#fff}

/* 04: session photos, findings and the one timed result. */
.sw-photos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.sw-photos img{aspect-ratio:1;object-fit:cover;border-radius:10px}
.sw-changes{border:1.5px solid var(--line);border-radius:14px;overflow:hidden}
.sw-changes>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.sw-changes>div+div{border-top:1px solid var(--line)}
.sw-changes-head{background:var(--sw-ink-tint)}
.sw-changes-head span{padding:12px 20px}
.sw-changes p{padding:16px 20px;font-size:15px;line-height:1.5}
.sw-changes .sw-pill{display:block;margin-bottom:8px}
.sw-changes p+p{display:flex;align-items:center;gap:12px;border-left:1px solid var(--line);color:#17171a}
.sw-changes p+p::before{content:'→';flex:none;color:#9a9a9f}
.sw-changes-head span+span{border-left:1px solid var(--line)}
.sw-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px 40px;align-items:center;padding:24px;border:1.5px solid var(--line);border-radius:14px}
.sw-result strong{display:block;margin:14px 0 6px;font-size:clamp(36px,4.4vw,48px);font-weight:600;line-height:1;letter-spacing:-.04em;color:var(--sw-blue-ink);font-variant-numeric:tabular-nums}
.sw-result .sw-label{color:var(--sw-blue-ink)}
.sw-result p{font-size:15px}
.sw-result ul{display:grid;gap:8px;padding:0;list-style:none}
.sw-result li{width:var(--value);padding:5px 12px;background:var(--sw-blue-pill);border-radius:8px;line-height:1.3}
.sw-result li:last-child{background:var(--sw-blue-line)}
.sw-result li b{font-size:14px;font-weight:600;color:#17171a;font-variant-numeric:tabular-nums}
.sw-result .sw-note{grid-column:1/-1;padding-top:16px;border-top:1px solid var(--line)}

/* The Solution: one card per task, the screen full-bleed above its caption. */
.sw-tasks-head{margin:32px 0 14px}
.cs-section-head+.sw-tasks-head{margin-top:0}
/* Every screen is cropped to its device and shown at the same size; the radius trims the slide backdrop at the corners. */
.sw-tasks{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.sw-tasks figure{grid-column:span 2;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1.5px solid var(--line);border-radius:14px;min-width:0}
.sw-tasks.is-five figure:nth-child(4){grid-column:2/span 2}
.sw-phone{padding:28px 17% 30px;background:linear-gradient(180deg,#e2effa,#f6fafe)}
.sw-tasks.is-five .sw-phone{background:linear-gradient(180deg,#ffe9eb,#fff8f8)}
.sw-phone img{aspect-ratio:680/1400;object-fit:cover;border-radius:15.5%/7.5%;box-shadow:0 10px 24px rgba(25,23,27,.12)}
.sw-tasks figcaption{flex:1;padding:16px 18px 20px;border-top:1px solid var(--line)}
.sw-tasks figcaption b{display:block;margin-bottom:6px;font-size:17px;font-weight:600;line-height:1.3;color:#17171a}
.sw-tasks figcaption span{display:block;font-size:14px;line-height:1.5;color:#666}
.sw-tasks :is(figure,figcaption){border-color:var(--sw-blue-line)}
.sw-tasks.is-five :is(figure,figcaption){border-color:var(--sw-coral-line)}
/* Columns follow the two recordings' proportions, so both play at the same height. */
.sw-recordings{display:grid;grid-template-columns:minmax(0,1402fr) minmax(0,500fr);gap:16px;margin-top:28px}
.sw-recordings figure{overflow:hidden;background:#fff;border:1.5px solid var(--line);border-radius:14px;min-width:0}
.sw-recordings video{aspect-ratio:1402/1080;object-fit:contain;background:var(--sw-ink-tint)}
.sw-recordings figure:last-child video{aspect-ratio:888/1920}
.sw-recordings figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:14px 18px;border-top:1px solid var(--line)}
.sw-recordings figcaption b{font-size:15px;line-height:1.35;color:#666}

/* Launch materials: the poster beside the long marketing page in a frame of the same height. */
.sw-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.sw-scroll{aspect-ratio:1391/2000;overflow-y:auto;overscroll-behavior:contain;border-radius:8px}
.sw-scroll img{border-radius:0}

/* Outcome in green, as on the other case studies. */
html[data-case="swift"] .case-outcome{background:#eff9f1!important;border-color:#a5deae!important}
html[data-case="swift"] .case-outcome>span,.sw-outcome span{color:#247631!important}
.case-outcome h2{margin-top:20px}.case-outcome>div>p{margin-top:20px}
.sw-outcome{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px;padding-top:24px;border-top:1px solid #a5deae}
.sw-outcome span{margin-bottom:12px}
.sw-outcome h3{font-size:20px}.sw-outcome h3+p{margin-top:8px}.sw-outcome p{font-size:15px}

/* Vision video, reflection and sources */
.vision-player{overflow:hidden;border-radius:var(--case-radius);background:#09090b}
.vision-player video{aspect-ratio:16/9;object-fit:contain;background:#09090b}
.sw-credit{margin-top:14px;font-size:15px;color:#666}
.reflection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.reflection-grid p{font-size:15px}.reflection-grid h3{margin-bottom:12px}
.sw-sources{max-width:780px;margin-bottom:24px;font-size:14px;line-height:1.65;color:#666}
.project-resource-list{border-top:1px solid rgba(0,0,0,.14)}
.project-resource{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(0,0,0,.14);text-decoration:none;transition:color .3s ease}
.project-resource>div{display:grid;align-items:baseline}
.project-resource i{font-style:normal}
a.project-resource:hover{color:var(--case-accent)}

/* Each kind of message gets its own form, so the page is not one repeated card. */
/* Problem stats: a small drawing of each fact sits above the figure. */
.sw-market article{padding:0;background:#fff;border:1.5px solid var(--line);border-radius:18px;overflow:hidden}
.sw-viz{display:grid;place-items:center;height:128px;background:#fafafa radial-gradient(#dedee2 1px,transparent 1px) 7px 7px/14px 14px;border-bottom:1px solid var(--line)}
.sw-viz svg{width:100%;max-width:200px;height:100px;fill:none;stroke:#aeb1b8;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sw-viz .w{fill:#fff}.sw-viz .a{stroke:var(--sw-coral)}.sw-viz .af{fill:var(--sw-coral);stroke:none}.sw-viz .k{stroke:#fff;stroke-width:1.8}
.sw-market b{margin:18px 20px 8px}.sw-market p{margin:0 20px 20px}
/* Questions: two speech bubbles, as if asked across the table. */
html[data-case="swift"] .sw-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;align-items:start;padding:0!important;background:none!important;border:0!important;border-radius:0!important}
.sw-questions>div{position:relative}
.sw-questions>div+div{margin-top:56px}
.sw-questions span{margin:0 6px 10px}
.sw-questions p{max-width:none;padding:18px 22px;background:#fff;border:1.5px solid #d6d6db;border-radius:24px 24px 24px 6px;font-size:clamp(17px,1.7vw,19px);line-height:1.45;letter-spacing:-.01em;color:#29272c}
.sw-questions>div+div p{background:var(--sw-coral-ink);border-color:var(--sw-coral-ink);border-radius:24px 24px 6px 24px;color:#fff}
.sw-questions>div::after{content:'';position:absolute;right:22px;bottom:-26px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l16 7-7 2.500L10.500 20z' fill='%2317171a'/%3E%3C/svg%3E") center/contain no-repeat}
.sw-questions>div+div::after{right:auto;left:-26px;bottom:auto;top:40px;transform:scaleX(-1)}
/* Evidence: plain figures on a rule, not cards. */
html[data-case="swift"] .sw-metrics>span{padding:2px 0 2px 18px!important;background:none!important;border:0!important;border-left:2px solid var(--case-border)!important;border-radius:0!important}
/* Two sides of the service: a note pinned to the screen it led to, on that side's color. */
.sw-insights article{display:flex;flex-direction:column;align-items:center;padding:24px 24px 0;background:var(--sw-blue-pill);border:0;border-radius:22px;overflow:hidden}
.sw-insights article:nth-child(2){background:var(--sw-coral-pill)}
.sw-callout{position:relative;flex:1;width:100%;padding:20px 22px 22px;background:#fff;border-radius:6px}
.sw-callout::before{content:'';position:absolute;z-index:1;left:calc(50% - 5px);top:calc(100% - 5px);width:10px;height:10px;border-radius:50%;background:var(--sw-blue-ink)}
.sw-callout::after{content:'';position:absolute;left:calc(50% - .75px);top:100%;width:1.5px;height:36px;background:var(--sw-blue-ink)}
.sw-insights article:nth-child(2) .sw-callout::before,.sw-insights article:nth-child(2) .sw-callout::after{background:var(--sw-coral-ink)}
.sw-peek{flex:none;width:46%;height:200px;margin-top:36px;overflow:hidden}
.sw-peek img{border-radius:15.5%/7.5%}
/* Takeaways read as a pulled line, not a box. */
html[data-case="swift"] .process-result{padding:4px 0 4px 22px!important;background:none!important;border:0!important;border-left:3px solid var(--case-accent)!important;border-radius:0!important}
.process-result>p{font-size:19px;line-height:1.5;color:#29272c}
/* Cautions look like an in-app alert: borderless amber, icon first. */
html[data-case="swift"] .process-result.is-caution{padding:24px 26px!important;background:#fdf1dc!important;border:0!important;border-radius:16px!important}
.process-result.is-caution::before{content:'!';display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border:2px solid #b9770a;border-radius:50%;font:600 16px/1 -apple-system,BlinkMacSystemFont,sans-serif;color:#8a5d06}
html[data-case="swift"] .process-result.is-caution>span{margin-bottom:6px;color:#8a5d06!important}
.process-result.is-caution>p{font-size:18px;color:#4a3b14}
/* Findings became changes: a cross for the problem, a tick for the fix. */
.sw-changes-head span::before{content:'✕';display:inline-grid;place-items:center;width:20px;height:20px;margin-right:10px;border-radius:50%;background:#fde3e3;color:#b3373f;font:600 11px/1 -apple-system,BlinkMacSystemFont,sans-serif;vertical-align:1px}
.sw-changes-head span+span::before{content:'✓';background:#dff3e4;color:#247631}
.sw-changes-head span+span{color:#247631}
.sw-changes p+p{background:#f6fbf7}
.sw-changes p+p::before{content:'✓';display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dff3e4;color:#247631;font:600 12px/1 -apple-system,BlinkMacSystemFont,sans-serif}
/* Outcomes are ticked off. */
.sw-outcome span::before{content:'✓';display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#247631;color:#fff;font:600 11px/1 -apple-system,BlinkMacSystemFont,sans-serif;vertical-align:1px}

@media(max-width:860px){
.sw-market{grid-template-columns:repeat(2,minmax(0,1fr))}
.sw-photos{grid-template-columns:repeat(3,minmax(0,1fr))}
.sw-materials{grid-template-columns:1fr}.sw-scroll{aspect-ratio:auto;max-height:560px}
}
@media(max-width:760px){
.case-body{padding:28px 24px 32px;gap:32px}.cs-two-col{grid-template-columns:1fr;gap:24px}.cs-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px}.cs-meta p{font-size:15px}.overview-logo{width:92px}.overview-title h1{font-size:32px}
.ownership-list,.reflection-grid,.sw-insights,.sw-duo,.sw-result,.sw-outcome,.sw-recordings,.sw-metrics{grid-template-columns:1fr}
.sw-track{grid-auto-columns:86%}
.sw-changes>div{grid-template-columns:1fr}
.sw-changes-head span+span{display:none}
.sw-changes p+p{padding-top:0;border-left:0}
/* The task screens become a swipeable row instead of three tall cards in a column. */
.sw-tasks{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.sw-tasks::-webkit-scrollbar{display:none}
.sw-tasks figure,.sw-tasks.is-five figure:nth-child(4){grid-column:auto;scroll-snap-align:start}
.sw-recordings figure:last-child{max-width:320px;justify-self:center;width:100%}
html[data-case="swift"] .sw-questions{grid-template-columns:1fr}.sw-questions>div+div{margin-top:8px}.sw-peek{width:56%}.sw-questions p{font-size:18px}.story-transition>p{font-size:17px}.process-result>p{font-size:17px}
p,li{font-size:16px}
}
@media(max-width:520px){
.sw-viz{height:104px}
}
@media(prefers-reduced-motion:reduce){.project-resource,.sw-carousel-controls button{transition:none}}
