/* WeCare case (5 Nov): her own story first. Same story method as the other cases, its own flavour:
   sticky notes carry a small line-art drawing in cobalt ink; personas are real-feeling cards with faces;
   the "current journey" is a hand-drawn line that sinks where a family hands their loved one to a stranger.
   Screens are captured at 3x from the live prototype. Shares the phone/prototype parts from bm.css. */
.wc { --co: #1F4FE0; --sky: #86BFFF; --navy: #0E1A3D; }

/* ---- hero: the billboard photo widened to 16:9 (whole, never zoomed), sun drifting ---- */
.wc-hero { position: relative; margin: 0 var(--pad); aspect-ratio: 2688 / 1520; overflow: hidden; background: #c9c2b6; }
.wc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- the story: a quiet, large-type letter ---- */
.wc-letter { margin: 0 var(--pad) 0 var(--col); max-width: 30em; font-size: clamp(19px, 1.6vw, 26px); }
.wc-letter p { margin: 0 0 1.1em; font-size: inherit; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.wc-letter p.soft { color: var(--ink-soft); }
.wc-letter .wc-hand { font-family: "Caveat", cursive; font-size: 1.35em; line-height: 1.1; color: var(--co); }

/* ---- sticky notes with a line-art drawing ---- */
.wc-notes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); margin: 0 var(--pad) 0 var(--col); max-width: 1180px; padding: 14px 0 26px; }
.wc-note { position: relative; margin: 0; aspect-ratio: 1; padding: 10% 10% 9%; display: flex; flex-direction: column; background: var(--c); transform: rotate(var(--t)); border-radius: 1px 1px 2px 12% / 1px 1px 2px 9%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 14%), linear-gradient(160deg, rgba(255, 255, 255, 0.45), transparent 45%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 3px -1px rgba(0, 0, 0, 0.08), 10px 18px 16px -12px rgba(20, 30, 70, 0.32); transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1); }
.wc-note:hover { transform: rotate(0deg) translateY(-5px); }
.wc-note svg { width: 30%; height: auto; margin: 0 0 6%; overflow: visible; }
.wc-note svg path, .wc-note svg circle, .wc-note svg rect { fill: none; stroke: var(--co); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wc-note svg .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.wc-note.is-in svg .draw { stroke-dashoffset: 0; }
.wc-note b { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(17, 17, 17, 0.8); }
.wc-note p { margin: 0; font-family: "Caveat", cursive; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.05; color: #141a2e; }
.wc-note:nth-child(1) { --c: #FFF3B8; --t: -2deg; }
.wc-note:nth-child(2) { --c: #DCEBFF; --t: 1.4deg; }
.wc-note:nth-child(3) { --c: #FFE1D6; --t: -1deg; }
.wc-note:nth-child(4) { --c: #DDF3E4; --t: 2deg; }
.wc-note:nth-child(5) { --c: #EDE4FF; --t: -1.3deg; }

/* ---- evidence: a few big facts from the research ---- */
.wc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin: clamp(40px, 6vh, 70px) var(--pad) 0 var(--col); max-width: 1080px; }
.wc-facts div { border-top: 1px solid var(--ink); padding-top: 12px; }
.wc-facts strong { display: block; font-weight: 500; font-size: clamp(30px, 3.4vw, 58px); line-height: 0.95; letter-spacing: -0.05em; }
.wc-facts span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.wc-facts a { color: inherit; text-underline-offset: 2px; }

/* ---- a quote, big ---- */
.wc-quote { margin: 0 var(--pad) 0 var(--col); max-width: 20em; font-size: clamp(26px, 3vw, 48px); line-height: 1.06; letter-spacing: -0.04em; position: relative; }
.wc-quote::before { content: "\201C"; position: absolute; left: -0.55em; top: -0.1em; color: rgba(31, 79, 224, 0.3); }
.wc-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; letter-spacing: 0; color: var(--ink-soft); }

/* ---- the journey today: a hand-drawn line that sinks at the handover ---- */
.wc-jr { margin: 0 var(--pad) 0 var(--col); max-width: 1080px; padding: clamp(18px, 2.6vw, 34px); border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06), 0 40px 70px -50px rgba(20, 30, 70, 0.4); overflow: hidden; }
.wc-jr svg { display: block; width: 100%; height: auto; overflow: visible; }
.wc-jr .ln { fill: none; stroke: var(--co); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.wc-jr.is-in .ln { stroke-dashoffset: 0; }
.wc-jr .low { fill: rgba(201, 70, 61, 0.07); }
.wc-jr .lowt { font: 500 12px/1 system-ui, sans-serif; fill: #C9463D; letter-spacing: 0.04em; }
.wc-jr .dot { fill: #fff; stroke: var(--co); stroke-width: 2.2; }
.wc-jr .st { font: 500 12.5px/1.2 system-ui, sans-serif; fill: #141a2e; }
.wc-jr .sub { font: 400 11.5px/1.2 system-ui, sans-serif; fill: #6b7080; }
.wc-jr .say { font-family: "Caveat", cursive; font-size: 19px; fill: var(--co); }
.wc-jr .axis { stroke: rgba(17, 17, 17, 0.12); stroke-width: 1; stroke-dasharray: 3 5; }

/* ---- personas: cards with a face ---- */
.wc-ps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 0 var(--pad) 0 var(--col); max-width: 1180px; }
.wc-p { margin: 0; padding: 20px 18px 22px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06), 0 30px 50px -40px rgba(20, 30, 70, 0.4); display: flex; flex-direction: column; gap: 10px; }
.wc-p img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(31, 79, 224, 0.25); }
.wc-p h3 { margin: 4px 0 0; font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.wc-p .wc-p__m { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-soft); }
.wc-p .tag { align-self: flex-start; padding: 3px 9px; border-radius: 99px; background: #EAF1FF; color: var(--co); font-size: 11px; }
.wc-p .tag.cw { background: #E7F6EC; color: #1C7A45; } .wc-p .tag.pt { background: #FFF2E2; color: #9A5B00; }
.wc-p .say { margin: 4px 0 0; font-family: "Caveat", cursive; font-size: 21px; line-height: 1.08; color: #141a2e; }
.wc-p dl { margin: 6px 0 0; display: grid; gap: 8px; }
.wc-p dt { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(17, 17, 17, 0.8); }
.wc-p dd { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink); }
.wc-cap { margin: 14px var(--pad) 0 var(--col); max-width: 1000px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }

/* ---- how might we: three soft cards ---- */
.wc-hmw { list-style: none; margin: 0 var(--pad) 0 var(--col); padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: h; }
.wc-hmw li { counter-increment: h; padding: 18px 20px; border-radius: 14px; background: #F1F5FF; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.35; }
.wc-hmw li::before { content: "HMW " counter(h); display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: 0.08em; color: var(--co); }

/* ---- phones: WeCare screens are 390 x 844, captured at 3x ---- */
.wc .bm-ph { border-radius: 11% / 5.2%; }
.wc .bm-tap { background: rgba(31, 79, 224, 0.26); }
.wc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); margin: 0 var(--pad) 0 var(--col); max-width: 900px; }
.wc-pair .bm-proto { margin: 0; grid-template-columns: 1fr; gap: 22px; }
.wc-pair .bm-proto .bm-ph { width: min(270px, 100%); justify-self: start; }
.wc-pair h3 { margin: 0 0 4px; font-weight: 500; font-size: 15px; }

/* ---- the admin, in a quiet browser window ---- */
.wc-win { margin: 0 var(--pad) 0 var(--col); max-width: 1000px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.10), 0 60px 100px -60px rgba(20, 30, 70, 0.55); }
.wc-win__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F1F2F6; }
.wc-win__bar i { width: 10px; height: 10px; border-radius: 50%; } .wc-win__bar i:nth-child(1) { background: #FF5F57; } .wc-win__bar i:nth-child(2) { background: #FEBC2E; } .wc-win__bar i:nth-child(3) { background: #28C840; }
.wc-win__bar span { margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: #fff; font-size: 11px; color: #6b7080; transform: translateX(-24px); }
.wc-win img { display: block; width: 100%; height: auto; }
.wc .wc-gap { margin-top: clamp(56px, 9vh, 110px); }

/* ---- iterations: before → after in words, small and honest ---- */
.wc-it { list-style: none; margin: 0 var(--pad) 0 var(--col); padding: 0; max-width: 1000px; display: grid; gap: 0; }
.wc-it li { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid rgba(17, 17, 17, 0.12); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.4; }
.wc-it li s { text-decoration: none; color: var(--ink-soft); }
.wc-it li i { font-style: normal; color: var(--co); }

/* ---- what I'll measure: honest, nothing launched yet ---- */
.wc-measure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(30px, 5vh, 60px); }
.wc-measure div { padding: 18px; border-radius: 14px; border: 1.5px dashed rgba(31, 79, 224, 0.45); }
.wc-measure b { display: block; font-weight: 500; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -0.02em; }
.wc-measure span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }

@media (max-width: 760px) {
  .wc-letter, .wc-facts, .wc-quote, .wc-jr, .wc-ps, .wc-cap, .wc-hmw, .wc-pair, .wc-win, .wc-it { margin-left: var(--pad); }
  .wc-quote { margin-left: calc(var(--pad) + 0.5em); }
  .wc-notes { grid-template-columns: 1fr 1fr; margin-left: var(--pad); gap: 18px; }
  .wc-note:nth-child(5) { grid-column: 1 / -1; aspect-ratio: auto; padding: 18px 20px 22px; }
  .wc-note:nth-child(5) svg { width: 22%; }
  .wc-note p { font-size: 19px; }
  .wc-facts { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .wc-jr { padding: 12px 4px; overflow-x: auto; }
  .wc-jr svg { width: 760px; max-width: none; }
  .wc-ps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wc-p { padding: 16px 14px 18px; }
  .wc-p dl { display: none; }
  .wc-hmw { grid-template-columns: 1fr; }
  .wc-pair { grid-template-columns: 1fr; }
  .wc-pair .bm-proto .bm-ph { width: 64vw; justify-self: center; }
  .wc .bm-proto .bm-ph { width: 64vw; }
  .wc-win__bar { height: 22px; } .wc-win__bar i { width: 7px; height: 7px; } .wc-win__bar span { font-size: 9px; }
  .wc-it li { grid-template-columns: 1fr; gap: 4px; } .wc-it li i::before { content: "\2192\00a0"; } .wc-it li > b { display: none; }
  .wc-measure { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .wc-jr .ln, .wc-note svg .draw { transition: none; stroke-dashoffset: 0; } }

/* phones: notes keep inside the page */
@media (max-width: 760px) {
  .wc-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-note { min-width: 0; aspect-ratio: auto; min-height: 42vw; }
}
