/* Case study styles, generated from the Claude Design canvas (one class per desktop/phone style pair). Safe to edit by hand. */

.cs-row{grid-template-columns:312px minmax(0,1fr)}
.meta-row{grid-template-columns:repeat(4,minmax(0,1fr))}
.flow{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr)}
.stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width: 860px){.cs-row,.stats{grid-template-columns:minmax(0,1fr)}.meta-row{grid-template-columns:repeat(2,minmax(0,1fr))}.flow{grid-template-columns:minmax(0,1fr)}.flow-arrow{transform:rotate(90deg)}.dirs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px!important}}

.div1 { max-width: 1200px; margin: 0 auto; padding: 0 48px 72px; box-sizing: border-box; display: flex; flex-direction: column }
.header2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0 48px; padding: 24px 0 }
.a3 { position: relative; top: calc(12px - 0.355em); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; line-height: 24px }
.span4 { position: relative; top: calc(12px - 0.36em); font-size: 15px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em }
.span5 { position: relative; top: calc(12px - 0.355em); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 24px; color: #5F5F5B }
.section6 { display: flex; flex-direction: column; padding: 120px 0 72px; box-shadow: inset 0 1px 0 #0F0F0F }
.span7 { display: inline-block; vertical-align: middle; margin-right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #E2462A }
.x8 { position: relative; top: calc(36px - 0.36em); margin: 24px 0 0; font-size: 72px; line-height: 72px; font-weight: 500; letter-spacing: -0.04em }
.p9 { position: relative; top: calc(24px - 0.36em); margin: 24px 0 0; max-width: 864px; font-size: 36px; line-height: 48px; font-weight: 500; letter-spacing: -0.02em; color: #8A8A85; text-wrap: balance }
.dl10 { display: grid; gap: 24px; margin: 72px 0 0; padding-top: 24px; box-shadow: inset 0 1px 0 #D9D9D4 }
.dd11 { position: relative; top: calc(12px - 0.36em); margin: 0; font-size: 16px; line-height: 24px }
.figure12 { margin: 0 0 96px; display: flex; flex-direction: column }
.div13 { display: flex; justify-content: center; align-items: flex-start; gap: 24px; padding: 48px; background: #EBEBE6; box-sizing: border-box }
.img14 { width: 768px; height: 480px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: contain; background: #F4F5F5 }
.img15 { width: 216px; height: 480px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: cover; object-position: top }
.figcaption16 { position: relative; top: calc(12px - 0.355em); margin-top: 24px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 24px; color: #5F5F5B }
.section17 { display: grid; gap: 0 24px; padding: 72px 0 96px; box-shadow: inset 0 1px 0 #0F0F0F }
.div18 { display: flex; flex-direction: column }
.x19 { position: relative; top: calc(24px - 0.36em); margin: 24px 0 0; font-size: 32px; line-height: 48px; font-weight: 500; letter-spacing: -0.025em }
.div20 { display: flex; flex-direction: column; gap: 24px; max-width: 768px; min-width: 0 }
.p21 { position: relative; top: calc(12px - 0.36em); margin: 0; font-size: 18px; line-height: 24px; color: #3A3A37; text-wrap: pretty }
.blockquote22 { margin: 0; padding-left: 24px; box-shadow: inset 2px 0 0 #E2462A; display: flex; flex-direction: column }
.p23 { position: relative; top: calc(12px - 0.36em); margin: 0; font-size: 18px; line-height: 24px; font-style: italic; color: #0F0F0F; text-wrap: pretty }
.span24 { position: relative; top: calc(12px - 0.355em); margin-top: 12px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 24px; color: #5F5F5B }
.section25 { display: grid; gap: 0 24px; padding: 72px 0 96px; box-shadow: inset 0 1px 0 #D9D9D4 }
.div26 { padding: 48px; background: #EBEBE6; box-sizing: border-box }
.img27 { width: 100%; height: 576px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: contain; background: #F5F5F5 }
.img28 { width: 462px; height: 552px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: contain; background: #F5F5F5 }
.img29 { width: 478px; height: 552px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: contain; background: #F5F5F5 }
.figure30 { margin: 24px 0 0; display: flex; flex-direction: column }
.img31 { width: 768px; height: 720px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: cover; object-position: top }
.img32 { width: 768px; height: 336px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: cover; object-position: top }
.div33 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; padding: 48px; background: #EBEBE6 }
.div34 { display: flex; flex-direction: column; min-width: 0 }
.img35 { width: 100%; height: 456px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: cover; object-position: top }
.img36 { width: 768px; height: 480px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: contain; background: #F4F5F5 }
.img37 { width: 768px; height: 672px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: contain; background: #F4F5F5 }
.img38 { width: 100%; height: auto; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); background: #F4F5F5 }
.div39 { display: grid; gap: 24px; max-width: 768px; align-items: start }
.div40 { display: flex; flex-direction: column; padding-top: 24px; box-shadow: inset 0 1px 0 #0F0F0F }
.span41 { position: relative; top: calc(24px - 0.36em); font-size: 48px; line-height: 48px; font-weight: 500; letter-spacing: -0.04em }
.span42 { position: relative; top: calc(12px - 0.36em); margin-top: 24px; font-size: 16px; line-height: 24px; color: #3A3A37 }
.footer43 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 48px; padding-top: 48px; box-shadow: inset 0 1px 0 #0F0F0F }
.div44 { display: flex; justify-content: center; gap: 48px; padding: 48px; background: #EBEBE6; box-sizing: border-box }
.img45 { width: 480px; height: 552px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.06); object-fit: cover; object-position: top }
.div46 { display: flex; flex-direction: column; gap: 24px; max-width: 768px }
.div47 { display: flex; flex-wrap: wrap; gap: 24px 12px; margin-top: 24px }
.span48 { position: relative; top: calc(12px - 0.355em); padding: 0 12px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 24px; box-shadow: inset 0 0 0 1px #D9D9D4 }
.div49 { display: grid; align-items: center; margin-top: 24px }
.div50 { display: flex; flex-direction: column; padding: 24px; box-shadow: inset 0 0 0 1px #0F0F0F }
.span51 { position: relative; top: calc(12px - 0.36em); font-size: 18px; line-height: 24px; font-weight: 500 }
.span52 { text-align: center; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 16px; line-height: 24px }
.div53 { display: flex; flex-direction: column; padding: 24px; background: #0F0F0F; color: #F6F6F3 }
.span54 { position: relative; top: calc(12px - 0.355em); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; line-height: 24px; color: #B5B5AF }
.div55 { display: flex; gap: 24px }
.img56 { width: 504px; height: 480px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.06); object-fit: cover; object-position: top }
.img57 { width: 240px; height: 480px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.06); object-fit: cover; object-position: top }
.p58 { position: relative; top: calc(24px - 0.36em); margin: 24px 0 0; max-width: 816px; font-size: 36px; line-height: 48px; font-weight: 500; letter-spacing: -0.02em; color: #8A8A85; text-wrap: balance }
.img59 { width: 264px; height: 576px; object-fit: cover; object-position: top; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.06) }
.div60 { display: flex; flex-direction: column; max-width: 768px }
.figure61 { margin: 48px 0 0; display: flex; flex-direction: column }
.img62 { width: 100%; height: 696px; object-fit: contain; background: #F5F6F9; display: block }
.img63 { width: 100%; height: 456px; object-fit: contain; background: #F5F6F9; display: block }
.img64 { width: 100%; height: 600px; object-fit: contain; background: #F5F6F9; display: block }
.div65 { display: grid; align-items: center; margin-top: 48px }
.img66 { width: 372px; height: 240px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: cover; object-position: top }
.img67 { width: 768px; height: 480px; display: block; max-width: 100%; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,15,15,0.08); object-fit: cover; object-position: top }

@media (max-width: 860px) {
  .div1 { padding: 0 24px 48px; max-width: unset; margin: unset }
  .header2 { gap: 12px }
  .section6 { padding: 72px 0 48px }
  .x8 { top: calc(24px - 0.36em); font-size: 42px; line-height: 48px }
  .p9 { top: calc(12px - 0.36em); font-size: 20px; line-height: 24px; letter-spacing: -0.01em; max-width: unset }
  .dl10 { margin: 48px 0 0 }
  .figure12 { margin: 0 0 72px }
  .div13 { margin: 0 -24px; padding: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 24px; justify-content: unset; box-sizing: unset }
  .img14 { flex: 0 0 auto; width: 576px; height: 360px; scroll-snap-align: start; max-width: none }
  .img15 { flex: 0 0 auto; width: 162px; height: 360px; scroll-snap-align: start; max-width: none }
  .section17 { padding: 48px 0 72px }
  .x19 { top: calc(12px - 0.36em); margin: 24px 0 24px; font-size: 22px; line-height: 24px }
  .p21 { font-size: 16px }
  .p23 { font-size: 16px }
  .section25 { padding: 48px 0 72px }
  .div26 { margin: 0 -24px; padding: 24px }
  .img27 { height: 192px }
  .img28 { flex: 0 0 auto; width: 301px; height: 360px; scroll-snap-align: start; max-width: none }
  .img29 { flex: 0 0 auto; width: 312px; height: 360px; scroll-snap-align: start; max-width: none }
  .img31 { width: 100%; height: 312px }
  .img32 { width: 100%; height: 144px }
  .div33 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -24px; padding: 24px }
  .img35 { height: 288px }
  .img36 { width: 100%; height: 216px }
  .img37 { width: 100%; height: 288px }
  .img38 { width: 100%; height: auto }
  .span41 { font-size: 40px }
  .footer43 { flex-direction: column; gap: 12px; flex-wrap: unset; justify-content: unset }
  .div44 { align-items: flex-start; gap: 24px; margin: 0 -24px; padding: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 24px; justify-content: unset; box-sizing: unset }
  .img45 { flex: 0 0 auto; width: 313px; height: 360px; scroll-snap-align: start; max-width: none }
  .span51 { font-size: 16px }
  .div55 { flex-direction: column; align-items: center }
  .img56 { width: 100%; height: 336px }
  .img57 { width: 180px; height: 360px }
  .p58 { top: calc(12px - 0.36em); font-size: 20px; line-height: 24px; letter-spacing: -0.01em; max-width: unset }
  .img59 { flex: 0 0 auto; width: 165px; height: 360px; scroll-snap-align: start; max-width: none }
  .img62 { height: 312px }
  .img63 { height: 192px }
  .img64 { height: 264px }
  .img66 { width: 100%; height: 216px }
  .img67 { width: 100%; height: 216px }
}

/* Laying out the foundations: all four pages side by side, each shown whole at its own height */
.dirs .img35 { height: auto; object-fit: initial; }
/* Labels share one baseline: each column fills the row and its label sits at the bottom */
.dirs .div34 > .figcaption16 { margin-top: auto; padding-top: 24px; }
@media (max-width: 860px) { .dirs .div34 > .figcaption16 { min-height: 72px; } } /* room for two lines, so a wrapped label starts level with its neighbour */
