/* One self-contained company spread inside the persistent hero-to-work tablet. */
.case-highlights{display:flex;flex-wrap:wrap;gap:5px;list-style:none;padding:0;margin:0 0 22px;color:#b6bcb3}
.case-highlights>li{margin:0;padding:4px 7px;border:1px solid #737b7066;font:11px/1.3 var(--sans,Arial,sans-serif);letter-spacing:0;white-space:normal}
#work .case-highlights{margin:10px 0 0;color:#4c514b}
#work .case-highlights>li{border-color:#d0d3cd;font-size:10px;padding:3px 6px}
#allPage .case-highlights{grid-column:1/-1;margin:8px 0 12px}
.work-page .case-highlights{margin:0 0 16px;color:#50574b}
#detailRole{margin-bottom:14px}
@media(max-width:720px){#work .case-highlights{gap:4px;margin-top:8px}#work .case-highlights>li{font-size:9px;padding:3px 5px}}
#work .work-sr-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.site.ref-mode #work .story-sticky{overflow:visible}
.site.ref-mode #work .story-frame{padding:10px;border:1px solid #656765!important;border-radius:23px;background:#151616;box-shadow:0 35px 90px #0008;cursor:default}
#work .story-browser{display:none!important}
.site.ref-mode #work .story-screens{aspect-ratio:1.7;border-radius:14px;opacity:1;box-shadow:none;background:#fff}
#work .story-layer{display:grid;grid-template-columns:35% 65%;background:#fff;color:#171818;overflow:hidden;will-change:auto}
#work .story-company-info{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:clamp(22px,2.6vw,40px);background:#fff;position:relative;z-index:1}
.site.ref-mode #work .story-company-logo{display:block;object-fit:contain;object-position:left center;width:auto;max-width:100%;height:clamp(45px,5.4vw,76px);max-height:76px;filter:brightness(0);background:transparent;margin:0 0 auto}
#work .story-company-brief{font:clamp(15px,1.45vw,21px)/1.45 Georgia,serif;color:#606160;margin:28px 0 16px;max-width:310px;text-wrap:pretty}
#work .story-company-role{font:400 clamp(25px,3vw,43px)/1.05 ThinkingNarrow,Impact,sans-serif;letter-spacing:-.01em;text-transform:uppercase;margin:0 0 28px;max-width:340px;text-wrap:balance}
#work .story-company-position{margin:0 0 8px}
#work .story-company-position .story-company-role{margin-bottom:6px}
#work .story-company-period{margin:0;font:12px/1.4 var(--sans);letter-spacing:.06em;color:#606160}
#work .story-company-case{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:64px;padding:16px 18px;background:#171818;color:#f3f3f0;font:12px/1.35 var(--sans);letter-spacing:.045em;margin-top:auto;transition:background .2s}
#work .story-company-case:hover{background:#343636}#work .story-company-case .ui-arrow{width:26px;height:26px;flex-shrink:0}
#work .story-company-website{min-width:0;min-height:0;overflow:hidden;background:#d7d7d5}
.site.ref-mode #work .story-company-website img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top;filter:grayscale(1);background:#d7d7d5}
.site.ref-mode #work .story-controls{display:flex;flex-direction:column;gap:18px;left:var(--page-gutter,5.3vw);right:auto;top:36%;bottom:auto;z-index:10;width:64px}
#work .story-controls button{width:64px;height:76px;min-height:64px;padding:10px;border-radius:0;border:0;background:transparent;color:#e7e7e4;display:grid;place-items:center;transition:opacity .2s,transform .2s}
#work .story-controls button .ui-arrow{width:44px;height:52px}
#work .story-controls button:hover{background:transparent;color:#fff;transform:translateY(-3px)}#work #storyNext:hover{transform:translateY(3px)}#work .story-controls button:disabled{opacity:.22;cursor:default;transform:none}
.site.ref-mode #work .story-caption{display:flex;justify-content:center;align-items:center;left:0;right:0;bottom:70px;z-index:10}
#work .work-archive-link{position:relative;top:-12px;display:flex;align-items:center;justify-content:space-between;gap:60px;width:min(460px,70%);min-height:66px;padding:20px 26px;margin:0;border:1px solid #80817e;background:#0b0c0c;color:#eaeae7;font:13px/1.3 var(--sans);letter-spacing:.08em;transition:background .2s,color .2s}
#work .work-archive-link .ui-arrow{width:27px;height:27px}#work .work-archive-link:hover{background:#e8e8e5;color:#111}
@media(max-width:1050px) and (min-width:721px){
 #work .story-layer{grid-template-columns:38% 62%}#work .story-company-info{padding:24px}#work .story-company-brief{font-size:17px;margin:22px 0 13px}#work .story-company-role{font-size:31px;margin-bottom:22px}#work .story-company-case{font-size:10px;padding:13px;min-height:56px}
 .site.ref-mode #work .story-controls{left:2%;width:50px}#work .story-controls button{width:50px}
}
@media(max-width:720px){
 .mobile-actual .site.ref-mode #work .story-frame{padding:7px;border-radius:17px}
 .mobile-actual .site.ref-mode #work .story-screens{aspect-ratio:.82;border-radius:10px}
 #work .story-layer{grid-template-columns:1fr;grid-template-rows:56% 44%}
 #work .story-company-info{padding:14px;display:grid;grid-template-columns:1fr;grid-template-rows:36px auto 44px;gap:6px;align-content:space-between}
 .mobile-actual .site.ref-mode #work .story-company-logo{height:36px;max-height:36px;max-width:145px;width:auto;object-position:left center;margin:0;object-fit:contain;background:transparent}
 #work .story-company-brief{display:none;font:14px/1.35 Georgia,serif;margin:0;max-width:none}
 #work .story-company-role{font-size:25px;line-height:1;margin:0;max-width:none;text-wrap:pretty}
 #work .story-company-position{margin:0}
 #work .story-company-position .story-company-role{margin-bottom:4px}
 #work .story-company-period{font-size:11px}
 #work .story-company-case{min-height:44px;padding:10px 12px;font-size:10px;letter-spacing:.035em;margin:0;gap:10px}
 #work .story-company-case .ui-arrow{width:23px;height:23px}
 .mobile-actual .site.ref-mode #work .story-company-website img{object-fit:cover;object-position:left top;background:#d7d7d5}
 .mobile-actual .site.ref-mode #work .story-controls{display:none}
 #work .story-controls button{width:44px;height:60px;min-height:44px;padding:5px}#work .story-controls button .ui-arrow{width:35px;height:44px}
 /* Limit the lift to the space below the final tablet; width/ratio match measureStory(). */
 .mobile-actual .site.ref-mode #work .story-caption{--work-final-width:min(88vw,calc((var(--stage-h) - 205px)*.82));--work-caption-room:calc(var(--stage-h)*.91 - (var(--work-final-width) - 16px)*1.219512 - 112px);left:6%;right:6%;bottom:min(68px,max(24px,var(--work-caption-room)));display:flex;gap:0}
 #work .work-archive-link{width:100%;min-height:60px;padding:18px 20px;font-size:12px;gap:25px}
}
@media(max-height:650px) and (min-width:721px){
 .site.ref-mode #work .story-screens{aspect-ratio:1.9}
 #work .story-company-info{padding:18px}.site.ref-mode #work .story-company-logo{height:40px}
 #work .story-company-brief{font-size:14px;margin:14px 0 10px}#work .story-company-role{font-size:25px;margin-bottom:14px}#work .story-company-case{min-height:46px;padding:10px 12px;font-size:10px}
 #work .story-company-position{margin:0}
 #work .story-company-position .story-company-role{margin-bottom:4px}
 #work .story-company-period{font-size:11px}
 .site.ref-mode #work .story-caption{bottom:40px}#work .work-archive-link{min-height:52px;padding:13px 22px}
}
@media(prefers-reduced-motion:reduce){#work .story-company-case,#work .story-controls button,#work .work-archive-link{transition:none}}

/* Dedicated source-site architectural capture keeps the tablet visual uncluttered. */
.site.ref-mode #work .story-company-website img[src$="setevie-architecture-v74.jpg"]{object-position:center center}

/* Reuse the approved CYCLE wordmark on the white information panel. */
.site.ref-mode #work .story-company-logo[src$="cycle-logo.svg"]{filter:invert(1)}
.site.ref-mode #work .story-company-website img[src$="cycle-brand-white.svg"]{object-fit:contain;object-position:center;background:#fff}

/* Selected company recognition, restored from the unfinished ChatGPT draft. */
#work .story-company-website{position:relative}
#work .story-recognition{position:absolute;z-index:2;left:16px;right:16px;bottom:16px;display:block;padding:16px 18px;background:#fff;color:#171818;text-align:left;border:1px solid #d7d7d5}
#work .story-recognition-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;font:11px/1.4 var(--sans);color:#50524e}
#work .story-recognition-heading>span:last-child{white-space:nowrap}
#work .story-recognition-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#work .story-recognition-item{display:flex;flex-direction:column;gap:4px;min-width:0}
#work .story-recognition-item strong{font:500 clamp(13px,1.2vw,18px)/1.2 var(--sans);letter-spacing:-.025em}
#work .story-recognition-meta,#work .story-recognition-scope{font:11px/1.35 var(--sans);color:#50524e}
#work .story-recognition:hover{border-color:#171818}
#work .story-recognition:focus-visible{outline:2px solid #171818;outline-offset:3px}
.case-recognition{scroll-margin-top:76px}
@media(max-width:720px){
 #work .story-recognition{left:7px;right:7px;bottom:7px;padding:9px 10px}
 #work .story-recognition-heading{font-size:10px;gap:6px;margin-bottom:7px}
 #work .story-recognition-items{grid-template-columns:1fr;gap:8px}
 #work .story-recognition-item{gap:3px}
 #work .story-recognition-item:nth-child(n+2){display:none}
 #work .story-recognition-item strong{font-size:12px;line-height:1.2}
 #work .story-recognition-meta,#work .story-recognition-scope{font-size:10px;line-height:1.3}
}
@media(max-width:720px) and (max-height:700px){
 .site.ref-mode #work .story-layer.has-recognition{grid-template-rows:56% 44%}
 .site.ref-mode #work .story-company-info{padding:12px;grid-template-rows:28px auto 44px;gap:6px}
 .mobile-actual .site.ref-mode #work .story-company-info .story-company-logo{height:28px;max-height:28px}
 #work .story-company-brief{display:none}
 #work .story-recognition-heading{font-size:9px}
 #work .story-recognition-item strong{font-size:11px}
}
@media(min-width:721px) and (max-height:650px){
 #work .story-recognition{left:10px;right:10px;bottom:10px;padding:10px 12px}
 #work .story-recognition-heading{margin-bottom:7px}
 #work .story-recognition-item strong{font-size:12px}
 #work .story-recognition-meta,#work .story-recognition-scope{font-size:10px}
}
/* The catalogue shares the left navigation rail on short landscape screens. */
@media(min-width:721px) and (max-height:500px){
 .site.ref-mode #work .story-controls{top:18%}
 .site.ref-mode #work .story-caption{left:var(--page-gutter,5.3vw);right:auto;bottom:40px;width:min(160px,calc(50% - 239px - var(--page-gutter,5.3vw)))}
 #work .work-archive-link{width:100%;min-height:52px;padding:12px 8px;font-size:10px;letter-spacing:0;gap:8px}
 #work .work-archive-link .ui-arrow{width:20px;height:20px;flex-shrink:0}
}

/* Keep the restored two-part screen readable on the smallest phones. */
@media(max-width:360px),(max-width:720px) and (max-height:600px){
 .mobile-actual #work .story-company-info{padding:8px;grid-template-rows:24px auto 44px;gap:6px}
 .mobile-actual .site.ref-mode #work .story-company-info .story-company-logo{height:24px;max-height:24px}
 .mobile-actual #work .story-company-role{font-size:20px}
 .mobile-actual #work .story-company-period{font-size:10px}
}
/* Let short phones borrow image space before the role or tags are clipped. */
@media(max-width:720px) and (orientation:portrait){
 .mobile-actual .site.ref-mode #work .story-layer{grid-template-rows:max(56%,min(205px,75%)) minmax(0,1fr)}
 .mobile-actual .site.ref-mode #work .story-company-info{min-height:0;overflow-y:auto;scrollbar-width:thin}
}
