:root {
  --ink: #11110f;
  --paper: #f5f2e8;
  --white: #fff;
  --blue: #5044ff;
  --lime: #d9ff63;
  --pink: #f7a8d8;
  --line: #d6d4ce;
  --muted: #555550;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p, figure, dl { margin: 0; }
.skip-link { position: fixed; z-index: 30; top: -100px; left: 16px; padding: 12px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.eyebrow, .section-number, .hero-meta dt { font-size: 14px; line-height: 1.25; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.site-header { position: sticky; z-index: 20; top: 0; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 32px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); font-size: 14px; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.cv { min-width: 58px; min-height: 44px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent; cursor: default; }
.page-frame { width: min(100%, 1600px); margin-inline: auto; padding-inline: 32px; }
.case-layout { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 16px; }
.case-sidebar { grid-column: 1 / 3; position: sticky; top: 112px; align-self: start; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: thin; }
.section-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 32px; padding-bottom: 24px; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 8px 12px; border-radius: 999px; font-size: 16px; line-height: 1.3; color: #62625d; transition: color 200ms ease, background 200ms ease; }
.section-nav a[aria-current="location"] { background: var(--pink); color: var(--ink); font-weight: 600; }
.case-content { grid-column: 4 / 13; min-width: 0; }
.hero { position: relative; padding: 76px 0 56px; background: var(--white); }
.hero-inner { position: relative; width: 100%; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.hero-back { display: flex; width: max-content; font-size: 16px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border: 1px solid #cbd0d9; border-radius: 999px; background: var(--white); font-size: 14px; line-height: 1.2; font-weight: 500; text-transform: uppercase; }
.hero h1 { margin: 48px 0 28px; font-size: 56px; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
.hero-description { max-width: 860px; font-size: 20px; line-height: 1.58; font-weight: 400; letter-spacing: 0; color: var(--ink); }
.hero-meta { display: flex; justify-content: flex-start; align-items: flex-start; gap: 48px; margin: 48px 0 0; }
.hero-meta > div { min-width: 0; }
.hero .hero-meta dt { color: #777; font-size: 16px; line-height: 1.25; font-weight: 400; letter-spacing: 0; text-transform: none; }
.hero-meta dd { margin: 8px 0 0; font-size: 17px; line-height: 1.4; font-weight: 400; color: #4d4d49; }
.prototype-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 32px; padding: 10px 20px; border-radius: 999px; background: var(--pink); color: var(--ink); font-size: 17px; font-weight: 600; transition: background 180ms ease, transform 180ms ease; }
.prototype-link:hover { background: #f39acb; transform: translateY(-2px); text-decoration: none; }
.artifact { margin-top: 48px; }
.artifact img { display: block; width: 100%; height: auto; border-radius: 24px; }
.artifact figcaption { display: flex; justify-content: space-between; gap: 24px; margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.hero-artifact { margin-top: 24px; }
.hero-placeholders { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding: 56px 12%; align-items: center; min-height: 620px; border-radius: 24px; background: #f8f3f5; }
.plain-placeholder { display: flex; align-items: center; justify-content: center; min-width: 0; border: 1px solid #d7d0d3; border-radius: 24px; background: #eae1e5; color: #4e474b; text-align: center; font-size: 14px; line-height: 1.4; padding: 16px; }
.hero-placeholders .plain-placeholder { height: 470px; border-radius: 20px; }
.hero-placeholders .plain-placeholder:nth-child(2) { transform: translateY(-20px); background: #efdfe6; }
.hero-placeholders .plain-placeholder:nth-child(3) { transform: translateY(18px); }
.overview-timeline { display: flex; gap: 16px; margin-top: 24px; font-size: 16px; line-height: 1.4; }
.overview-timeline span { color: #777; }
.overview-timeline strong { font-weight: 500; }
.case-layout { margin-top: 0; }
.case-section { padding-top: 128px;  }
.section-number { margin-bottom: 24px; color: var(--muted); }
.case-section h2 { max-width: 950px; font-size: clamp(40px, 4.2vw, 68px); line-height: 1.02; letter-spacing: -.047em; font-weight: 600; }
.case-section .lead { max-width: 56rem; margin-top: 32px; font-size: clamp(24px, 2vw, 30px); line-height: 1.35; }
.body-copy { max-width: 46rem; margin-top: 24px; font-size: 20px; line-height: 1.6; }
.response-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.response-flow li { position: relative; padding: 24px 20px 28px 0; font-size: 17px; line-height: 1.35; }
.response-flow li:not(:last-child)::after { content: ''; width: 1em; height: 1em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; right: 16px; color: var(--muted); }
.research-methods { display: flex; align-items: baseline; gap: 24px; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.research-methods .eyebrow { flex: 0 0 auto; color: var(--muted); }
.research-methods p { font-size: 17px; line-height: 1.5; }
.finding-heading { margin-top: 48px; font-size: 15px; line-height: 1.3; color: var(--muted); }
.finding-heading span, .finding-arrow { color: var(--blue); }
.finding-list { margin-top: 48px; border-top: 1px solid var(--line); }
.finding-heading + .finding-list { margin-top: 16px; }
.finding-list article { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.finding-index { padding-top: 3px; font-size: 14px; color: var(--muted); }
.finding-list h3 { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.finding-list p { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.finding-arrow { margin-right: 8px; font-weight: 600; }
.research-artifact { width: 78%; margin-left: auto; }
.research-placeholder { min-height: 430px; background: var(--paper); border-color: #e6e2d6; }
.direction-section { margin-top: 128px; padding: 72px; background: var(--paper); border-radius: 22px; }
.direction-section .section-number { margin-bottom: 24px; }
.direction-label { margin-top: 36px; color: var(--muted); }
.direction-section .lead { margin-top: 12px; font-size: clamp(23px, 1.8vw, 29px); }
.direction-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #cfcbbf; }
.direction-columns h3 { font-size: 22px; line-height: 1.2; font-weight: 600; }
.direction-columns p { margin-top: 16px; font-size: 18px; line-height: 1.6; }
.core-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 48px 0 0; }
.core-steps li { padding-top: 20px; border-top: 1px solid var(--ink); }
.step-number { font-size: 14px; color: var(--muted); }
.core-steps h3 { margin-top: 28px; font-size: 25px; line-height: 1.15; font-weight: 600; }
.core-steps p { margin-top: 12px; font-size: 17px; line-height: 1.5; }
.wireflow-placeholder { min-height: 300px; background: var(--paper); border-color: #e3dfd2; }
.risk-list { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.risk-list li { display: grid; grid-template-columns: 36px minmax(0,1fr) minmax(0,1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.risk-index { padding-top: 3px; font-size: 14px; color: var(--muted); }
.risk-list h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.risk-list li > div p, .risk-assumption { margin: 10px 0 0; font-size: 17px; line-height: 1.5; }
.risk-assumption span { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.25; color: var(--muted); }
.decisions-section > .body-copy { margin-bottom: 60px; }
.decision { display: grid; grid-template-columns: 4fr 5fr; gap: 48px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.decision-copy .eyebrow { color: var(--muted); }
.decision h3 { margin-top: 24px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; }
.decision-copy p { margin-top: 20px; font-size: 18px; line-height: 1.55; }
.decision-copy .tradeoff { font-size: 16px; color: var(--muted); }
.decision .artifact { margin: 0; }
.decision-placeholder { min-height: 480px; background: #f3e9ed; }
.decision:nth-of-type(2) .decision-placeholder { background: var(--paper); border-color: #e3dfd2; }
.system-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 48px; }
.system-gallery figure { min-width: 0; }
.system-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; padding: 32px; border-radius: 24px; }
.system-panel-type { background: var(--pink); }
.system-panel-components { background: var(--paper); }
.system-panel-index, .system-panel-note { font-size: 14px; line-height: 1.3; }
.system-panel-title { font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.system-gallery figcaption { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.edge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 16px; margin-top: 48px; }
.edge-grid .artifact { margin: 0; }
.edge-placeholder { min-height: 280px; background: #f5f2f0; border-color: #e2dfdc; }
.compact-note { max-width: 46rem; margin-top: 32px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.test-list { counter-reset: test; list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.test-list li { counter-increment: test; display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.5; }
.test-list li::before { content: '0' counter(test); min-width: 32px; font-size: 14px; color: var(--muted); }
.reflection { padding-bottom: 80px; }
.reflection h2 { font-size: clamp(36px, 3.2vw, 52px); }
.next-steps-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.next-steps-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.5; }
.bottom-back { margin-top: 48px; }
.next-case-transition { padding-bottom: 80px; }
.next-case-layout { display: flex; justify-content: center; width: min(calc(100% - 48px), 900px); margin-inline: auto; padding: 44px 48px; border-radius: 24px; background: var(--paper); }
.next-case { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(100%, 760px); }
.next-case:hover { text-decoration: none; }
.next-case-copy { min-width: 0; }
.next-case .eyebrow { color: var(--muted); }
.next-case h2 { margin-top: 12px; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; }
.next-case p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.next-case-image { flex: 0 0 148px; display: flex; align-items: center; justify-content: center; height: 100px; border-radius: 12px; background: #ff7147; color: var(--ink); }
.next-case-image span { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.06em; }
.next-case:hover .next-case-image { background: #ff8968; }
.contact { background: var(--blue); color: var(--lime); }
.contact-inner { width: min(100%,1600px); min-height: 380px; margin: auto; padding: 64px 32px; display: flex; justify-content: space-between; gap: 48px; }
.contact h2 { margin-top: 24px; font-family: "Newsreader", Georgia, serif; font-size: clamp(72px, 10vw, 144px); line-height: .85; font-weight: 400; letter-spacing: -.045em; }
.contact-details { align-self: flex-end; }
.contact-details p { font-size: 22px; line-height: 1.45; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-size: clamp(19px, 2.1vw, 30px); letter-spacing: .01em; }
.socials { display: flex; gap: 24px; margin-top: 16px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media (max-width: 1100px) {
  .page-frame { padding-inline: 24px; }
  .site-header { padding-inline: 24px; }
  .case-sidebar { grid-column: 1 / 4; }
  .case-content { grid-column: 4 / 13; }
  .hero-meta { gap: 24px; }
  .hero-placeholders { gap: 20px; padding-inline: 7%; min-height: 500px; }
  .hero-placeholders .plain-placeholder { height: 360px; }
  .direction-section { padding: 56px 40px; }
  .decision { gap: 24px; }
  .decision-placeholder { min-height: 380px; }
  .contact-inner { padding-inline: 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: var(--case-anchor-offset, 212px); }
  .site-header { min-height: 68px; padding: 10px 16px; font-size: 14px; }
  .site-nav { gap: 12px; }
  .site-nav a { display: none; }
  .cv { min-width: 48px; }
  .page-frame { padding-inline: 16px; }
  .case-layout { display: flex; flex-direction: column; margin-top: 0; }
  .case-sidebar { position: sticky; top: 68px; z-index: 15; order: 0; width: calc(100% + 32px); min-width: 0; max-height: none; overflow: visible; margin-inline: -16px; padding: 8px 16px 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
  .case-content { order: 1; }
  .section-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 8px; max-width: 100%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin: 0; padding: 8px 0; }
  .section-nav::-webkit-scrollbar { display: none; }
  .section-nav a { flex: 0 0 auto; min-height: 48px; font-size: 16px; padding: 12px 16px; text-decoration: none; }
  .section-nav a:hover, .section-nav a:focus, .section-nav a[aria-current="location"] { text-decoration: none; }
  .hero { padding: 24px 0 40px; }
  .hero-back { margin-bottom: 4px; }
  .hero-tags { gap: 6px; }
  .hero-tags span { min-height: 30px; padding: 5px 9px; font-size: 11px; }
  .hero h1 { margin: 30px 0 22px; font-size: 50px; line-height: 1; }
  .hero-description { font-size: 18px; line-height: 1.55; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 40px; }
  .hero .hero-meta dt { font-size: 15px; }
  .eyebrow, .section-number { font-size: 13px; }
  .hero-meta dd { font-size: 16px; }
  .prototype-link { margin-top: 24px; font-size: 17px; }
  .hero-artifact { margin-top: 16px; }
  .hero-placeholders { min-height: 330px; gap: 8px; padding: 24px 16px; border-radius: 24px; }
  .hero-placeholders .plain-placeholder { height: 240px; padding: 6px; font-size: 10px; border-radius: 12px; }
  .hero-placeholders .plain-placeholder:nth-child(2) { transform: translateY(-10px); }
  .hero-placeholders .plain-placeholder:nth-child(3) { transform: translateY(8px); }
  .overview-timeline { margin-top: 20px; font-size: 15px; }
  .artifact figcaption { flex-direction: column; gap: 2px; }
  .case-section { padding-top: 80px;  }
  .section-number { margin-bottom: 20px; }
  .case-section h2 { font-size: clamp(34px, 9vw, 48px); }
  .case-section .lead { margin-top: 24px; font-size: 22px; }
  .body-copy { margin-top: 20px; font-size: 18px; }
  .artifact { margin-top: 36px; }
  .response-flow { display: block; }
  .response-flow li { padding: 15px 24px 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .response-flow li:not(:last-child)::after { transform: rotate(90deg); right: 2px; }
  .research-methods { display: block; margin-top: 28px; }
  .research-methods p { margin-top: 10px; font-size: 16px; }
  .finding-heading { margin-top: 36px; }
  .finding-list { margin-top: 36px; }
  .finding-list article { grid-template-columns: 32px 1fr; gap: 12px; padding: 24px 0; }
  .finding-list h3 { font-size: 21px; }
  .finding-list p { font-size: 17px; }
  .research-artifact { width: 88%; }
  .research-placeholder { min-height: 280px; }
  .direction-section { margin-top: 80px; padding: 36px 24px; }
  .direction-columns { display: block; margin-top: 36px; }
  .direction-columns > div + div { margin-top: 32px; }
  .direction-columns p { font-size: 17px; }
  .core-steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 36px; }
  .core-steps h3 { margin-top: 18px; font-size: 22px; }
  .core-steps p { font-size: 17px; }
  .wireflow-placeholder { min-height: 220px; }
  .risk-list { margin-top: 36px; }
  .risk-list li { grid-template-columns: 32px minmax(0,1fr); gap: 8px 12px; padding: 24px 0; }
  .risk-list h3 { font-size: 21px; }
  .risk-list li > div p, .risk-assumption { font-size: 16px; }
  .risk-assumption { grid-column: 2; margin-top: 8px; }
  .decisions-section > .body-copy { margin-bottom: 36px; }
  .decision { display: block; padding: 44px 0; }
  .decision h3 { font-size: 29px; }
  .decision-copy p { font-size: 17px; }
  .decision .artifact { margin-top: 28px; }
  .decision-placeholder { min-height: 330px; }
  .system-gallery { display: block; margin-top: 36px; }
  .system-gallery figure + figure { margin-top: 24px; }
  .system-panel { min-height: 260px; padding: 24px; }
  .system-panel-title { font-size: 36px; }
  .edge-grid { gap: 32px 12px; margin-top: 36px; }
  .edge-placeholder { min-height: 180px; padding: 10px; font-size: 12px; }
  .compact-note { font-size: 17px; }
  .test-list { margin-top: 36px; }
  .test-list li { font-size: 17px; }
  .reflection { padding-bottom: 64px; }
  .next-steps-list li { font-size: 17px; }
  .next-case-transition { padding-bottom: 56px; }
  .next-case-layout { width: calc(100% - 32px); padding: 28px 20px; border-radius: 20px; }
  .next-case { gap: 16px; }
  .next-case h2 { font-size: 28px; }
  .next-case p { font-size: 14px; }
  .next-case-image { flex-basis: 104px; height: 92px; }
  .next-case-image span { font-size: 30px; }
  .contact-inner { display: block; min-height: 0; padding: 48px 16px; }
  .contact h2 { font-size: 76px; }
  .contact-details { margin-top: 48px; }
  .contact-details p { font-size: 18px; }
  .contact-email { font-size: clamp(16px, 4.5vw, 24px); }
}
@media (max-width: 380px) {
  .hero-placeholders .plain-placeholder { font-size: 9px; }
  .edge-grid { display: block; }
  .edge-grid .artifact + .artifact { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .section-nav a { transition: none; }
}

.more-case-cover.more-case-cover--luma { padding: 0; overflow: hidden; background: #82bfff; }
.more-case-cover--luma img { display: block; width: 100%; height: 100%; object-fit: contain; }
