/* Case study uses the homepage fonts, surfaces and spacing. */
.case-page{color:#292929;line-height:1.6}.case-main{padding-top:154px}.back-link{font-size:15px;color:#625c55;display:inline-block;margin-bottom:38px}.back-link:hover{color:#292929}.case-intro{max-width:900px;margin-bottom:48px}.case-intro h1{font:500 clamp(32px,4.4vw,58px)/1.16 Sora,sans-serif;letter-spacing:-1.5px;max-width:900px;margin:22px 0}.case-deck{max-width:680px;font-size:20px;line-height:1.6;color:#625c55}.case-meta{display:flex;flex-wrap:wrap;gap:24px 64px;margin:32px 0 0}.case-meta dt{font-size:14px;color:#716a63;margin-bottom:5px}.case-meta dd{margin:0;font-size:16px}.case-figure{margin:32px 0}.image-zoom{display:block;width:100%;padding:0;border:1px solid #e3dfd8;border-radius:20px;overflow:hidden;background:#fffdf9;cursor:zoom-in}.image-zoom img{width:100%;height:auto}.case-figure figcaption{font-size:14px;color:#625c55;margin:12px 4px 0}.case-index{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 28px;height:auto;padding:22px 0;margin:36px 0 0;border-radius:0;border-block:1px solid #e3dfd8;background:transparent;font-size:15px}.case-index a:hover{text-decoration:underline;text-underline-offset:5px}.case-prose{max-width:740px;margin-inline:auto}.case-section{margin-top:88px;scroll-margin-top:32px}.case-prose h2{font:500 clamp(23px,2.8vw,30px)/1.35 Sora,sans-serif;letter-spacing:-.6px;text-align:left;color:#292929;margin-bottom:24px}.case-prose p{font-size:18px;line-height:1.75;color:#625c55;margin-bottom:20px}.case-prose strong{font-weight:500;color:#292929}.case-followup{margin-top:32px}.challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:32px}.challenge-grid article,.case-callout{padding:24px;border:1px solid #e3dfd8;border-radius:20px;background:#fffdf9}.challenge-grid h3{font:500 18px/1.45 Sora,sans-serif;margin-bottom:12px}.challenge-grid p{font-size:16px;color:#625c55;line-height:1.7}.case-callout{margin:28px 0}.case-callout p{font-size:16px;margin-bottom:16px}.case-callout ol{margin:0;padding-left:23px}.case-callout li{padding:4px 0;color:#292929}.next-project{display:block;margin:88px 0 0;padding:32px 0;border-top:1px solid #e3dfd8}.next-project>span{font-size:14px;color:#625c55}.next-project h2{text-align:left;font:500 28px/1.4 Sora,sans-serif;margin-top:12px}.next-project h2 span{display:inline-block;transition:transform .2s}.next-project:hover h2 span{transform:translate(3px,-3px)}.case-page .signoff{margin-top:80px}.image-dialog{position:fixed;inset:0;border:0;padding:54px 16px 16px;max-width:96vw;max-height:94vh;border-radius:20px;background:#fffdf9;overflow:auto}.image-dialog::backdrop{background:rgba(20,20,20,.75)}.image-dialog img{max-width:none;width:1400px;height:auto}.zoom-close{position:sticky;top:0;display:block;margin:-40px 0 16px auto;padding:6px 12px;background:#fffdf9;border:1px solid #e3dfd8;border-radius:999px;cursor:pointer;font-size:15px}.image-zoom:focus-visible,.case-index a:focus-visible,.back-link:focus-visible,.zoom-close:focus-visible{outline:2px solid #292929;outline-offset:5px}
@media(max-width:900px){.challenge-grid{grid-template-columns:1fr}.case-main{padding-top:130px}.case-prose{max-width:680px}}
@media(max-width:600px){.case-main{padding-top:114px}.back-link{margin-bottom:28px}.case-intro{margin-bottom:32px}.case-intro h1{letter-spacing:-.8px}.case-deck{font-size:18px}.case-meta{gap:20px 28px}.case-meta dd{font-size:15px}.case-section{margin-top:56px}.case-prose p{font-size:17px;line-height:1.75}.case-figure{margin:24px 0}.case-index{gap:12px 20px;font-size:14px}.challenge-grid article{padding:24px}.next-project{margin-top:56px}.next-project h2{font-size:23px}.case-page .signoff{margin-top:48px}}

/* The presentation background is independent of the product screens. */
.media-stage{background:#eae6df;border:1px solid #e3dfd8;border-radius:20px;padding:clamp(32px,5vw,64px);display:flex;justify-content:center;align-items:center;min-width:0}
.media-stage>.image-zoom{max-width:1050px;width:100%;border:0;border-radius:8px;box-shadow:0 8px 24px rgba(35,29,22,.08)}
.prototype-steps{width:100%;display:grid;grid-template-columns:1fr 1.7fr 1fr;gap:24px;align-items:start}
.prototype-step{min-width:0}.prototype-step>p{font-size:14px;line-height:1.5;color:#49433c;margin-bottom:16px;font-weight:500}
.prototype-step .image-zoom{border:0;border-radius:4px;box-shadow:0 5px 18px rgba(35,29,22,.08)}
.screen-crop{position:relative;display:block;width:100%;overflow:hidden;background:#fff}
.screen-crop img{position:absolute;top:0;left:0;max-width:none;width:var(--crop-width);height:auto;transform:translate(var(--crop-x),var(--crop-y))}
@media(max-width:900px) and (min-width:721px){.prototype-steps{gap:16px}.prototype-step>p{font-size:12px}}
@media(max-width:720px){
.case-figure .media-stage{background:none;border:0;border-radius:0;padding:0}
.case-figure:not(.prototype-sequence) .media-stage{width:100%;max-width:none;margin-left:0}
.media-stage>.image-zoom{max-width:none;border-radius:0;box-shadow:none}
.prototype-steps{grid-template-columns:1fr;gap:32px}
.prototype-step>p{font-size:15px;margin-bottom:12px}
.prototype-step .image-zoom{border-radius:8px;box-shadow:none;border:1px solid #e3dfd8}
.case-figure figcaption{margin:14px 0 0}
}

/* Keep the stage wide while matching its screen content to the reading width. */
.media-stage>.image-zoom,.media-stage>.prototype-steps{max-width:740px;width:100%;margin-inline:auto}
@media(max-width:900px){.media-stage>.image-zoom,.media-stage>.prototype-steps{max-width:680px}}

/* Taller visual stages on larger screens. */
@media(min-width:721px){.media-stage{padding-block:clamp(64px,7vw,104px)}}

/* Put the project visual within the opening view. */
.case-main{padding-top:120px}
.case-main>.back-link{margin-bottom:20px}
.case-intro{margin-bottom:24px}
.case-intro .tags{margin-bottom:12px}
.case-intro h1{font-size:clamp(32px,3.4vw,48px);margin:12px 0 16px}
.case-deck{font-size:18px;line-height:1.5}
.case-meta{margin-top:20px;gap:16px 48px}
.case-intro+.case-figure{margin-top:24px}
@media(min-width:721px){.case-intro+.case-figure .media-stage{padding-block:40px}}
@media(max-width:600px){.case-main{padding-top:104px}.case-main>.back-link{margin-bottom:16px}.case-meta{gap:14px 24px}.case-intro h1{font-size:32px}.case-deck{font-size:17px}}

/* Spacious opening metadata row. */
.case-intro .tags{margin-bottom:20px}
.case-intro h1{margin:16px 0 20px}
.case-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:32px;margin-top:32px;margin-bottom:32px;max-width:740px}
.case-meta dt{margin-bottom:10px;font-size:14px;line-height:1.5}
.case-meta dd{font-size:16px;line-height:1.5}
@media(max-width:600px){.case-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px;margin-bottom:28px}.case-meta>div:last-child{grid-column:1/-1}.case-meta dd{font-size:15px}}

.case-intro h1{font-size:clamp(30px,3.2vw,44px)}
@media(max-width:600px){.case-intro h1{font-size:30px}}

/* Keep the animated app screen aligned with the reading column. */
.prototype-demo{width:100%;max-width:740px;aspect-ratio:1440/1000;position:relative;overflow:hidden;border-radius:8px;background:#f7f8fa;box-shadow:0 8px 24px rgba(35,29,22,.08)}
.prototype-demo iframe{position:absolute;top:0;left:0;width:1440px;height:1000px;border:0;transform-origin:top left;transform:scale(var(--demo-scale,.5))}
@media(max-width:900px){.prototype-demo{max-width:680px}}
@media(max-width:720px){.prototype-demo{max-width:none;border-radius:0;box-shadow:none}}

.prototype-demo{aspect-ratio:16/9}.prototype-video{display:block;width:100%;height:auto}.prototype-play{position:absolute;right:12px;bottom:12px;border:1px solid #aaa;border-radius:6px;background:#fff;color:#222;font:12px Arial,sans-serif;padding:7px 10px;cursor:pointer}

/* The figure owns the shared background so captions remain valid figure children. */
.case-figure figcaption{text-align:center;line-height:1.5;margin:20px auto 0;max-width:740px}
@media(min-width:721px){
 .case-figure:has(>figcaption){background:#eae6df;border:1px solid #e3dfd8;border-radius:20px;overflow:hidden}
 .case-figure:has(>figcaption)>.media-stage{background:transparent;border:0;border-radius:0;padding-bottom:0}
 .case-figure:has(>figcaption)>figcaption{padding:0 24px clamp(64px,7vw,104px)}
}
@media(max-width:720px){.case-figure figcaption{margin-top:16px;padding-inline:20px;font-size:13px}}

.policy-before-demo{aspect-ratio:auto;background:#eae6df}

/* Hide the recording edge and keep mobile visuals inside the page gutters. */
.policy-before-demo{box-shadow:none}

@media(max-width:720px){.case-figure .media-stage{width:100%;margin-inline:0}.media-stage>.image-zoom,.prototype-demo{border-radius:8px}.case-figure figcaption{padding-inline:0}}

/* Quiet playback controls, visible on hover, keyboard focus and pause. */
.prototype-play{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #d1ccc5;border-radius:50%;background:rgba(255,253,249,.94);color:#49433c;font:inherit;opacity:0;transition:opacity .2s ease,background .2s ease;pointer-events:none}
.prototype-demo:hover .prototype-play,.prototype-demo:focus-within .prototype-play,.prototype-demo.is-paused .prototype-play{opacity:1;pointer-events:auto}
.prototype-play:focus-visible{outline:2px solid #292929;outline-offset:3px}
@media(max-width:720px),(hover:none),(pointer:coarse){.prototype-play{opacity:1;pointer-events:auto;width:44px;height:44px;right:8px;bottom:8px}}
@media(prefers-reduced-motion:reduce){.prototype-play{transition:none}}

/* Soft depth for mobile screenshots and animated screens. */
@media(max-width:720px){.media-stage>.image-zoom,.prototype-demo,.prototype-step .image-zoom{box-shadow:0 4px 16px rgba(35,29,22,.08)}}

/* Match the full application recording to the other screen widths. */
@media(min-width:901px){.policy-before-demo{max-width:740px}}
@media(min-width:721px) and (max-width:900px){.policy-before-demo{max-width:680px}}

.policy-details-demo{aspect-ratio:auto}

.policy-after-demo{aspect-ratio:auto}

/* Alerts compared in context and as complete component sets. */
.alert-showcase{width:100%;max-width:740px;margin-inline:auto;min-width:0}
.alert-page-pair,.alert-component-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.alert-page-pair>div,.alert-component-pair>div{min-width:0}
.alert-label{font-size:14px;font-weight:500;color:#292929;margin:0 0 12px}
.alert-page-pair .image-zoom{background:transparent;border:0;border-radius:8px;box-shadow:none}
.alert-page-pair img{display:block;width:100%;height:auto}
.alert-component-pair{margin-top:36px}
.alert-component-title{font-size:13px;line-height:1.5;color:#9747ff;margin:0 0 10px}
.alert-component-title span{margin-right:4px}
.alert-component-set{box-sizing:border-box;width:100%;min-width:0;border:1px dashed #9747ff;border-radius:4px;padding:10px;display:flex;flex-direction:column;gap:8px}
.alert-component-set img{display:block;width:100%;min-width:0;max-width:100%;height:auto;object-fit:contain}
@media(max-width:900px){.alert-showcase{max-width:680px}}
@media(max-width:720px){.alert-page-pair,.alert-component-pair{grid-template-columns:1fr;gap:28px}.alert-component-pair{margin-top:36px}.alert-showcase{max-width:none}}

/* Account layout references keep both screens visible for comparison. */
.account-comparison{width:100%;max-width:740px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.account-comparison>div{min-width:0}
.account-comparison .image-zoom{border:0;border-radius:8px;box-shadow:0 8px 24px rgba(35,29,22,.08)}
.account-comparison img{display:block;width:100%;height:auto}
@media(max-width:900px){.account-comparison{max-width:680px}}
@media(max-width:720px){.account-comparison{max-width:none;grid-template-columns:1fr;gap:24px}.account-comparison .image-zoom{box-shadow:0 4px 16px rgba(35,29,22,.08)}}

/* Fit enlarged visuals to the viewport instead of their original dimensions. */
.image-dialog{inset:0;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;padding:64px 24px 24px;border-radius:0;overflow:hidden;box-sizing:border-box}
.image-dialog[open]{display:grid;place-items:center}
.image-dialog img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain}
.image-dialog .zoom-close{position:absolute;top:16px;right:24px;margin:0;z-index:1;min-height:36px}
@media(max-width:600px){.image-dialog{padding:64px 12px 16px}.image-dialog .zoom-close{right:16px;min-height:44px}}

/* The cover artwork includes its own background and spacing. */
.case-cover .media-stage{padding:0;background:transparent;border:0;border-radius:20px;overflow:hidden}
.case-cover .media-stage>.image-zoom{max-width:none;width:100%;border:0;border-radius:0;box-shadow:none}

.case-intro+.case-cover .media-stage{padding:0}

/* Collages are flat exports, not individual floating screen surfaces. */
.jobstreet-page .media-stage>.image-zoom{box-shadow:none;border:0;border-radius:0;background:transparent}
.jobstreet-page .image-zoom img{display:block}

.jobstreet-impact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 48px}.jobstreet-impact strong{display:block;font:500 clamp(30px,3.5vw,44px)/1.2 Sora,sans-serif;color:#292929;letter-spacing:-1px}.jobstreet-impact p{margin:12px 0 0;font-size:14px;line-height:1.5;color:#625c55}@media(max-width:720px){.jobstreet-impact{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;margin-bottom:32px}}

.jobstreet-page .case-cover+.jobstreet-impact{margin-top:48px}
@media(max-width:720px){.jobstreet-page .case-cover+.jobstreet-impact{margin-top:32px}}

.jobstreet-page .jobstreet-cover-impact{margin:32px 0;background:#fffdf9;border:1px solid #e3dfd8;border-radius:20px;overflow:hidden}
.jobstreet-page .jobstreet-cover-impact .case-cover{margin:0}
.jobstreet-page .jobstreet-cover-impact .case-cover .media-stage{border-radius:0}
.jobstreet-page .jobstreet-cover-impact .jobstreet-impact{display:block;margin:0;padding:28px 40px 36px}
.jobstreet-impact-label{margin:0 0 22px;font-size:13px;color:#625c55}
.jobstreet-impact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.jobstreet-page .jobstreet-impact strong{font-size:34px;letter-spacing:-.8px}
.jobstreet-page .jobstreet-impact-grid p{font-size:14px;margin-top:10px}
@media(max-width:720px){.jobstreet-page .jobstreet-cover-impact .jobstreet-impact{padding:24px}.jobstreet-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.jobstreet-page .jobstreet-impact strong{font-size:30px}.jobstreet-impact-label{margin-bottom:20px}}

/* Centre-cropped cover: 60% of the original image height. */
.jobstreet-page .jobstreet-cover-impact .case-cover .media-stage{position:relative}
.jobstreet-page .jobstreet-cover-impact .case-cover .image-zoom{aspect-ratio:1581 / 637.8;overflow:hidden}
.jobstreet-page .jobstreet-cover-impact .case-cover .image-zoom img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.jobstreet-page .jobstreet-cover-impact .case-cover .media-stage::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -18px 20px -20px rgba(35,29,22,.28)}
.jobstreet-page .jobstreet-cover-impact .jobstreet-impact{padding-top:32px}
.jobstreet-page .jobstreet-impact .jobstreet-impact-label{margin:0 0 32px;font-size:13px;line-height:1.5;color:#625c55}
@media(max-width:720px){.jobstreet-page .jobstreet-cover-impact .jobstreet-impact{padding-top:28px}.jobstreet-page .jobstreet-impact .jobstreet-impact-label{margin-bottom:28px}}

.jobstreet-page .jobstreet-impact-section{max-width:740px;margin:64px auto 0;padding:0;background:transparent;border:0;border-radius:0}
.jobstreet-page .jobstreet-impact-section h2{font:500 24px/1.4 Sora,sans-serif;letter-spacing:-.5px;margin:0 0 28px;color:#292929}
.jobstreet-page .jobstreet-impact-section .jobstreet-impact-grid{gap:28px 24px}
.jobstreet-page .jobstreet-impact-section strong{font-size:28px;letter-spacing:-.5px}
.jobstreet-page .jobstreet-impact-section .jobstreet-impact-grid p{font-size:14px;margin:8px 0 0}
@media(max-width:900px){.jobstreet-page .jobstreet-impact-section{max-width:680px}}
@media(max-width:720px){.jobstreet-page .jobstreet-impact-section{margin-top:48px}.jobstreet-page .jobstreet-impact-section strong{font-size:26px}.jobstreet-page .jobstreet-impact-section h2{font-size:22px;margin-bottom:24px}}

.jobstreet-page .jobstreet-impact-section{display:block;width:100%;box-sizing:border-box}.jobstreet-page .jobstreet-impact-section .jobstreet-impact-grid{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:720px){.jobstreet-page .jobstreet-impact-section .jobstreet-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.jobstreet-result-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start}
.jobstreet-primary-result strong{display:block;font:500 clamp(48px,5vw,64px)/1.1 Sora,sans-serif;letter-spacing:-2px;color:#292929}
.jobstreet-lead-result .jobstreet-primary-result p{font-size:16px;line-height:1.6;max-width:240px;margin:16px 0 0}
.jobstreet-secondary-results>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid #e3dfd8}
.jobstreet-secondary-results>div:first-child{padding-top:0}.jobstreet-secondary-results>div:last-child{border-bottom:0;padding-bottom:0}
.jobstreet-secondary-results strong{font:500 28px/1.2 Sora,sans-serif;letter-spacing:-.6px;color:#292929}
.jobstreet-lead-result .jobstreet-secondary-results p{font-size:15px;line-height:1.5;margin:0}
@media(max-width:720px){.jobstreet-result-layout{grid-template-columns:1fr;gap:28px}.jobstreet-primary-result strong{font-size:48px}.jobstreet-secondary-results>div{grid-template-columns:90px minmax(0,1fr);gap:20px}.jobstreet-lead-result .jobstreet-primary-result p{max-width:none}}

.jobstreet-result-bento{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}
.jobstreet-result-tile{padding:24px;background:#fffdf9;border:1px solid #e3dfd8;border-radius:20px;min-width:0}
.jobstreet-result-tile strong{display:block;font:500 34px/1.2 Sora,sans-serif;letter-spacing:-.8px;color:#292929}
.jobstreet-bento-result .jobstreet-result-tile p{font-size:15px;line-height:1.5;margin:12px 0 0;color:#625c55}
@media(max-width:720px){.jobstreet-result-tile{padding:20px}.jobstreet-result-tile strong{font-size:30px}.jobstreet-bento-result .jobstreet-result-tile p{font-size:14px}}
@media(max-width:380px){.jobstreet-result-bento{grid-template-columns:1fr}}

.tropicana-page .media-stage>.image-zoom{box-shadow:none;background:transparent;border:0}.tropicana-page .image-zoom img{display:block}

.lively-tea-page .media-stage>.image-zoom{box-shadow:none;border:0;border-radius:0;background:transparent}.lively-tea-page .image-zoom img{display:block}.lively-tea-page .case-figure:has(img[src*="lively-tea-2"]) .image-zoom{max-width:340px}

.lively-tea-page .tea-direct .image-zoom{max-width:340px}

/* Fixed cover frame; complete artwork centred within it. */
.case-page .case-cover .media-stage{height:clamp(240px,34vw,440px);padding:0;background:#eae6df;display:flex;align-items:center;justify-content:center}
.case-page .case-cover .media-stage>.image-zoom{height:100%;width:100%;max-width:none;display:flex;align-items:center;justify-content:center;background:transparent;aspect-ratio:auto}
.case-page .case-cover .image-zoom img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.image-dialog{padding:24px;cursor:zoom-out}.image-dialog img{cursor:zoom-out}
@media(max-width:600px){.case-page .case-cover .media-stage{height:240px}.image-dialog{padding:12px}}

/* Covers fill a fixed frame at the artwork's original proportions. */
.case-page .case-cover .media-stage{height:clamp(288px,40.8vw,528px)}
.case-page .case-cover .image-zoom img{object-fit:cover;object-position:center}
@media(max-width:600px){.case-page .case-cover .media-stage{height:288px}}

.bms-page .case-cover .image-zoom img{object-position:center top}
