/* Generated by tools/build-classic.py from case.css: do not edit by hand.
   Case study content in the Classic view. Same layout as the Studio pages; every colour follows the Classic
   page colours (--bg, --ink, --soft, --accent, --on from classic.css), so it changes with each section. */
:root {
  --night: var(--bg);
  --panel: color-mix(in srgb, var(--ink) 5%, var(--bg));
  --panel-2: color-mix(in srgb, var(--ink) 9%, var(--bg));
  --glass: color-mix(in srgb, var(--bg) 82%, transparent);
  --text: var(--ink);
  --text-soft: var(--soft);
  --text-faint: var(--soft);
  --accent-ink: var(--on);
  --violet: var(--accent);
  --live: #D63B4E;
  --t-hero: clamp(2.8rem, 8vw, 6.5rem);
  --t-h2: clamp(1.9rem, 3.6vw, 2.9rem);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.progress { position: fixed; z-index: 30; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: linear-gradient(90deg, var(--violet), var(--accent)); }
.back svg, .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--text);
  font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .25s var(--ease);
}
.btn:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent); filter: brightness(1.06); transform: translateY(-1px); }
.btn .yt { stroke-width: 1.4; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); display: grid; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); }
.chip.hot { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: var(--t-hero); line-height: 0.95; letter-spacing: -0.035em; }
.hero .sub { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--text-soft); max-width: 32ch; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta div { padding: 18px 20px 18px 0; }
.meta div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.meta dt { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.frame { position: relative; margin: 0; }
.frame-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--violet); }
.frame-label svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.frame .shot { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.frame .shot img { width: 100%; height: auto; cursor: zoom-in; transition: transform .8s var(--ease); }
.frame .shot:hover img { transform: scale(1.015); }
.frame figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--text-faint); }
.cover .shot { border-radius: 28px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45); }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 6vw, 80px); }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; }
.toc p { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; text-decoration: none; font-size: 0.9375rem; color: var(--text-soft); border-left: 2px solid transparent; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.toc a:hover { color: var(--text); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.toc a.active { color: var(--text); border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.content { display: grid; gap: clamp(64px, 9vw, 112px); min-width: 0; }
.section { display: grid; gap: 22px; scroll-margin-top: 90px; }
.section > .read { max-width: 720px; display: grid; gap: 16px; }
.eyebrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.section h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.02em; }
.section h3 { font-family: var(--f-display); font-weight: 650; font-size: 1.35rem; line-height: 1.25; }
.read p { color: var(--text-soft); }
.read p strong { color: var(--text); font-weight: 600; }
.list { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-soft); }
.list li::marker { color: var(--accent); }
.hmw {
  position: relative; padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.hmw span { display: block; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.hmw q { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; quotes: "“" "”"; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.card .k { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.card strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 650; }
.card p { color: var(--text-soft); font-size: 0.9375rem; line-height: 1.55; }
.card img { border-radius: 12px; cursor: zoom-in; background: var(--panel-2); }
.card .list { font-size: 0.9375rem; }
.stat { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--accent); }
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature.flip > :first-child { order: 2; }
.feature .num { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--violet); }
.feature .txt { display: grid; gap: 12px; }
.feature .txt p { color: var(--text-soft); }
.feature .shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.feature .shots img { width: 100%; border-radius: 16px; cursor: zoom-in; background: var(--panel-2); }
.frame { display: flex; flex-direction: column; min-width: 0; }
.frame-label { align-self: flex-start; }
.frame .shot { flex: 1; display: grid; place-items: center; }
.frame .shot.light { background: #F6F5FA; border-color: color-mix(in srgb, var(--ink) 16%, transparent); padding: clamp(10px, 1.6vw, 20px); }
.frame .shot.light img { border-radius: 8px; }
.frame-note { margin-top: 10px; font-size: 0.875rem; color: var(--text-faint); }
.row { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: 16px; align-items: stretch; }
.row.pair { max-width: 820px; }
.card.brand { gap: 8px; }
.logo-tile { height: 132px; margin-bottom: 6px; border-radius: 14px; background: var(--tile, #fff); display: grid; place-items: center; overflow: hidden; }
.card .logo-tile img { width: auto; height: auto; max-width: 70%; max-height: 72%; object-fit: contain; border-radius: 0; background: none; cursor: default; }
.findings .card { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; }
.idx { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--accent); padding-top: 2px; }
.findings .card p { color: var(--text); font-size: 1rem; }
.interviews { align-items: stretch; }
.qs { margin: 4px 0 0; padding-left: 22px; display: grid; gap: 8px; color: var(--text-soft); font-size: 0.9375rem; line-height: 1.5; }
.qs li::marker { color: var(--accent); font-family: var(--f-mono); font-size: 0.8125rem; }
.persona { display: grid; gap: 12px; padding: clamp(16px, 2.4vw, 24px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.persona-head { display: grid; gap: 2px; }
.persona-head .k { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2vw, 24px); }
.phone { margin: 0; width: min(var(--phone-w, clamp(150px, 15vw, 210px)), calc(50% - 8px)); display: grid; gap: 10px; align-content: start; }
.phone.solo { width: min(var(--phone-w), 72vw); }
.phone img { width: 100%; height: auto; border-radius: 20px; cursor: zoom-in; background: var(--panel-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); transition: transform .5s var(--ease); }
.phone img:hover { transform: translateY(-4px); }
.phone figcaption { font-size: 0.8125rem; line-height: 1.4; color: var(--text-faint); text-align: center; }
.metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.metrics li { display: grid; gap: 1px; font-size: 0.875rem; line-height: 1.45; color: var(--text-faint); }
.metrics b { color: var(--text); font-weight: 600; font-size: 0.9375rem; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.875rem; color: var(--text-soft); }
.challenge .solution { display: grid; gap: 4px; margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); }
.challenge .solution b { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.hmw-row .hmw { display: grid; align-content: center; }
.card.app { justify-items: start; gap: 6px; }
.card .app-icon { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 14px; object-fit: cover; background: #fff; cursor: default; }
.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
.compare caption { caption-side: top; text-align: left; padding: 18px 20px 6px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-soft); text-align: center; vertical-align: bottom; }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare thead th span { display: inline-grid; justify-items: center; gap: 6px; }
.compare .app-icon { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; background: #fff; }
.compare tbody th { font-weight: 400; color: var(--text); position: sticky; left: 0; background: var(--panel); }
.compare td { text-align: center; }
.compare tbody tr:hover > * { background: color-mix(in srgb, var(--ink) 7%, var(--bg)); }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 700; font-size: 0.8125rem; }
.compare .no { color: var(--text-faint); opacity: 0.6; }
.findings .card p b { color: var(--text); font-weight: 600; }
.said { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.said li { padding: 6px 11px; border-radius: 12px 12px 12px 4px; background: color-mix(in srgb, var(--ink) 5%, transparent); border: 1px solid var(--line); font-size: 0.875rem; line-height: 1.4; color: var(--text-soft); }
.grid.themes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.themes > :nth-child(-n+3) { grid-column: span 2; }
.themes > :nth-child(n+4) { grid-column: span 3; }
.feature.wide { grid-template-columns: minmax(0, 1fr); align-items: start; }
.feature.wide .txt { max-width: 62ch; }
.wide-shots { display: grid; gap: 14px; }
.wide-shots .shot { border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); background: #F6F5FA; padding: clamp(10px, 1.6vw, 20px); display: grid; place-items: center; }
.wide-shots img { width: auto; max-width: 100%; max-height: 620px; height: auto; border-radius: 8px; cursor: zoom-in; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--text-soft); font-size: 0.9375rem; }
.note b { color: var(--accent); font-weight: 600; white-space: nowrap; }
.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-block: 24px clamp(48px, 7vw, 96px); }
.next a { text-decoration: none; }
.next-card { display: grid; gap: 10px; padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); transition: border-color .25s ease, transform .35s var(--ease); }
.next-card:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-3px); }
.next-card .k { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.next-card strong { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.1; }
.next-card p { color: var(--text-soft); font-size: 0.9375rem; }
.next-card.ask { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 7.2%, transparent)); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(8, 7, 14, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s ease; cursor: zoom-out; }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; max-width: 100%; border-radius: 14px; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--glass); color: var(--text); font-size: 1.2rem; cursor: pointer; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .meta div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid.c2, .grid.c3, .grid.c4, .grid.themes, .row { grid-template-columns: minmax(0, 1fr); }
  .themes > * { grid-column: auto !important; }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .next { grid-template-columns: minmax(0, 1fr); }
}
.contact-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.frame .shot.ui { border-radius: 14px; background: #fff; border-color: color-mix(in srgb, var(--ink) 14%, transparent); place-items: start stretch; }
.frame .shot.ui.sheet { background: #E2E2E2; }
.grid.c2 > .frame { align-self: start; }
.ba-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 8px; }
.ba-head .frame-label { margin-bottom: 0; }
.ba-switch { display: inline-flex; flex-wrap: wrap; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.ba-switch button { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); background: none; border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.ba-switch button:hover { color: var(--text); }
.ba-switch button[aria-pressed="true"] { background: var(--text); color: var(--night); }
.ba .ba-img[hidden] { display: none; }
@media (pointer: coarse), (max-width: 720px) {
  .ba-switch button { min-height: 40px; padding-inline: 14px; }
}
.chip.read { color: var(--text-soft); }
.cf { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.cf-form, .cf-side { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; border: 1px solid var(--line); background: var(--panel); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 8px; }
.cf-field > span { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--night);
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.cf-field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.cf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.cf-field.invalid input, .cf-field.invalid select, .cf-field.invalid textarea { border-color: var(--live); }
.cf-field select:invalid { color: var(--text-faint); }
.cf-field select option { color: var(--text); }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cf-send[disabled] { opacity: .7; cursor: progress; }
.cf-status { margin: 0; font-size: 0.9375rem; color: var(--text-soft); }
.cf-status.ok { color: #7EE2A8; }
.cf-status.err { color: #FF8FA3; }
.cf-side .k { margin: 0; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.cf-link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, transparent); color: var(--text); font: inherit; font-size: 0.9375rem; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .2s ease; }
.cf-link:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.cf-link svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cf-note { margin: 4px 0 0; font-size: 0.875rem; color: var(--text-faint); }
.cf-req { margin: 0; font-size: 0.8125rem; color: var(--text-faint); }
.cf-field > span em { font-style: normal; text-transform: none; letter-spacing: 0.02em; color: var(--text-faint); }
@media (max-width: 860px) {
  .cf { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: minmax(0, 1fr); }
}
.top-switch { border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
