/*
 * TCRM Flagship — Responsive Polish V2
 * Scoped to the TCRM case study. Desktop typography and layout untouched.
 * Breakpoints: compact desktop/tablet, tablet, phones, compact phones.
 */
@media (max-width: 980px) {
 #tyz-tcrm-v1 {width:100%;max-width:100%;min-width:0;overflow-x:clip}
 #tyz-tcrm-v1 .tc-shell {width:min(100% - 40px,760px);max-width:100%;min-width:0;margin-inline:auto}
 #tyz-tcrm-v1 .tc-hero-layout,
 #tyz-tcrm-v1 .tc-concept-grid,
 #tyz-tcrm-v1 .tc-proof-grid,
 #tyz-tcrm-v1 .tc-journey-layout,
 #tyz-tcrm-v1 .tc-story-layout {grid-template-columns:minmax(0,1fr)!important}
 #tyz-tcrm-v1 .tc-hero-layout {gap:34px}
 #tyz-tcrm-v1 .tc-copy h1 {max-width:720px;font-size:clamp(36px,5vw,56px)!important}
 #tyz-tcrm-v1 .tc-hero-showcase {width:100%;max-width:760px;margin-inline:auto}
 #tyz-tcrm-v1 .tc-story-reverse .tc-story-copy,
 #tyz-tcrm-v1 .tc-story-reverse .tc-story-stage {order:initial}
 #tyz-tcrm-v1 .tc-story-stage {width:100%;max-width:760px;margin-inline:auto}
 #tyz-tcrm-v1 .tc-story-browser {transform:none!important}
 #tyz-tcrm-v1 .tc-story-scene {padding:56px 0 70px}
 #tyz-tcrm-v1 .tc-story-layout {gap:32px}
 #tyz-tcrm-v1 .tc-story-copy h3 {max-width:660px;font-size:clamp(34px,5vw,52px)!important}
 #tyz-tcrm-v1 .tc-story-lead {max-width:690px}
 #tyz-tcrm-v1 .tc-story-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 #tyz-tcrm-v1 .tc-story-step {min-width:0;padding:14px 12px;gap:9px;align-items:start}
 #tyz-tcrm-v1 .tc-story-step-index {font-size:14px;margin-top:3px}
 #tyz-tcrm-v1 .tc-story-step-content strong {font-size:13px;line-height:1.55}
 #tyz-tcrm-v1 .tc-story-step-content small {font-size:11px;line-height:1.6}
 #tyz-tcrm-v1 .tc-story-step-arrow {display:none}
 #tyz-tcrm-v1 .tc-tabs {display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;gap:10px;padding:3px 2px 12px}
 #tyz-tcrm-v1 .tc-tab {flex:0 0 auto;width:auto;min-width:158px;scroll-snap-align:start;min-height:72px}
 #tyz-tcrm-v1 .tc-panel-shell {min-height:0}
 #tyz-tcrm-v1 .tc-feature {min-height:220px}
 #tyz-tcrm-v1 .tc-proof-frame {width:100%;max-width:760px;margin:0 auto}
 #tyz-tcrm-v1 .tc-sectionnav-inner {min-width:0}
 #tyz-tcrm-v1 .tc-sectionnav-inner > div {flex:1;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scroll-snap-type:x proximity}
 #tyz-tcrm-v1 .tc-sectionnav-inner > div a {scroll-snap-align:center}
 #tyz-tcrm-v1 .tc-navbrand {flex:0 0 auto}
 #tyz-tcrm-v1 .tc-cta-panel {align-items:stretch}
 #tyz-tcrm-v1 .tc-cta-buttons {width:100%;max-width:440px}
}
@media (max-width: 790px) {
 #tyz-tcrm-v1 .tc-story-viewport {aspect-ratio:1193 / 1318!important;--tc-image-shift:0%!important}
 #tyz-tcrm-v1 .tc-story-viewport > img {transform:none!important;width:100%;height:100%;object-fit:fill}
 #tyz-tcrm-v1 .tc-story-hotspot {width:44px!important;height:44px!important;min-width:44px;min-height:44px;font-size:12px!important;left:clamp(24px,var(--story-x),calc(100% - 48px));top:clamp(27px,var(--story-y),calc(100% - 84px))}
 #tyz-tcrm-v1 .tc-story-hotspot.is-current:after {inset:-6px}
 #tyz-tcrm-v1 .tc-story-overlay-note {inset-inline:12px;bottom:12px;padding:12px;font-size:12px;min-height:44px}
 #tyz-tcrm-v1 .tc-story-browser-foot {flex-wrap:wrap;gap:8px}
 #tyz-tcrm-v1 .tc-story-browser-foot button {min-height:44px;min-width:130px}
 #tyz-tcrm-v1 .tc-story-browser-bar {white-space:normal}
 #tyz-tcrm-v1 .tc-story-count {display:none}
 #tyz-tcrm-v1 .tc-story-heading {padding:64px 0 35px}
 #tyz-tcrm-v1 .tc-story-heading>p {max-width:650px}
 #tyz-tcrm-v1 .tc-story-copy h3 {font-size:clamp(32px,6.5vw,48px)!important}
 #tyz-tcrm-v1 .tc-story-browser {border-radius:16px}
 #tyz-tcrm-v1 .tc-story-accent {display:none}
 #tyz-tcrm-v1 .tc-cta-buttons {max-width:none}
 #tyz-tcrm-v1 .tc-story-lightbox {width:min(100vw - 12px,1220px);max-height:calc(100dvh - 20px);margin:auto}
 #tyz-tcrm-v1 .tc-story-lightbox-body {max-height:calc(100dvh - 88px);overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y}
 #tyz-tcrm-v1 .tc-story-lightbox-body img {width:100%;max-width:none;height:auto;display:block}
 #tyz-tcrm-v1 .tc-story-lightbox-body img[data-mobile-zoomed="true"] {width:170%;max-width:none}
}
@media (max-width: 620px) {
 #tyz-tcrm-v1 .tc-shell {width:calc(100% - 32px);max-width:100%}
 #tyz-tcrm-v1 .tc-hero {padding:18px 0 12px}
 #tyz-tcrm-v1 .tc-crumb {font-size:11px;margin-bottom:26px;gap:8px}
 #tyz-tcrm-v1 .tc-copy h1 {font-size:clamp(31px,8.6vw,48px)!important;line-height:1.27!important;overflow-wrap:break-word}
 #tyz-tcrm-v1 .tc-lead {font-size:15px!important;line-height:1.9!important}
 #tyz-tcrm-v1 .tc-overline {letter-spacing:.06em}
 #tyz-tcrm-v1 .tc-actions {display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:20px}
 #tyz-tcrm-v1 .tc-actions .tc-button {width:100%;max-width:none;min-height:48px}
 #tyz-tcrm-v1 .tc-hero-tags {gap:7px}
 #tyz-tcrm-v1 .tc-hero-tags span {font-size:10px;padding:7px 9px}
 #tyz-tcrm-v1 .tc-hero-layout {gap:27px;padding-bottom:38px}
 #tyz-tcrm-v1 .tc-hero-showcase {padding:0}
 #tyz-tcrm-v1 .tc-browser-top {font-size:8px;padding:10px;gap:8px;letter-spacing:.04em;white-space:normal}
 #tyz-tcrm-v1 .tc-browser-caption {padding:12px;gap:10px}
 #tyz-tcrm-v1 .tc-browser-caption strong {font-size:12px}
 #tyz-tcrm-v1 .tc-browser-caption small {font-size:10px}
 #tyz-tcrm-v1 .tc-magnify {bottom:10px;inset-inline-end:9px;font-size:10px;padding:8px}
 #tyz-tcrm-v1 .tc-sectionnav {top:0!important;position:relative}
 #tyz-tcrm-v1 .tc-sectionnav-inner {width:100%;min-height:58px;padding-inline:12px;gap:0}
 #tyz-tcrm-v1 .tc-navbrand {display:none}
 #tyz-tcrm-v1 .tc-sectionnav-inner > div {width:100%;flex:1;gap:6px;padding:3px 0 7px}
 #tyz-tcrm-v1 .tc-sectionnav-inner > div a {min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px!important;font-size:12px!important}
 #tyz-tcrm-v1 .tc-section {padding:52px 0;scroll-margin-top:80px}
 #tyz-tcrm-v1 .tc-intro {margin-bottom:24px}
 #tyz-tcrm-v1 .tc-intro>p {font-size:14px!important;line-height:1.9!important}
 #tyz-tcrm-v1 .tc-section h2,#tyz-tcrm-v1 .tc-cta h2 {font-size:clamp(28px,7vw,38px)!important;line-height:1.37!important}
 #tyz-tcrm-v1 .tc-concept-copy>p {font-size:15px!important;line-height:1.9!important}
 #tyz-tcrm-v1 .tc-evidence-note {padding:15px;gap:9px}
 #tyz-tcrm-v1 .tc-tabs {gap:8px;margin-inline:-2px}
 #tyz-tcrm-v1 .tc-tab {min-width:150px;min-height:65px;gap:9px;padding:10px 12px}
 #tyz-tcrm-v1 .tc-tab span {font-size:13px;line-height:1.45}
 #tyz-tcrm-v1 .tc-tab b {font-size:16px}
 #tyz-tcrm-v1 .tc-panel-chrome {font-size:9px;padding:11px;gap:8px;white-space:normal}
 #tyz-tcrm-v1 .tc-panel {padding:20px 17px;min-height:255px}
 #tyz-tcrm-v1 .tc-panel h3 {font-size:25px!important}
 #tyz-tcrm-v1 .tc-panel p {font-size:14px!important}
 #tyz-tcrm-v1 .tc-panel-controls {display:flex;align-items:center;gap:9px;flex-wrap:wrap}
 #tyz-tcrm-v1 .tc-panel-controls button {min-height:44px}
 #tyz-tcrm-v1 .tc-grid {grid-template-columns:minmax(0,1fr);gap:12px}
 #tyz-tcrm-v1 .tc-feature {min-height:190px;padding:22px}
 #tyz-tcrm-v1 .tc-story-heading {padding:56px 0 26px}
 #tyz-tcrm-v1 .tc-story-heading h2 {font-size:clamp(28px,7vw,39px)!important}
 #tyz-tcrm-v1 .tc-story-scene {padding:45px 0 65px}
 #tyz-tcrm-v1 .tc-story-layout {gap:25px}
 #tyz-tcrm-v1 .tc-story-copy h3 {font-size:clamp(30px,7vw,42px)!important;margin:12px 0!important;line-height:1.29!important}
 #tyz-tcrm-v1 .tc-story-lead {font-size:14px!important;line-height:1.9!important;margin-bottom:20px!important}
 #tyz-tcrm-v1 .tc-story-list {display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:4px 2px 14px;margin-inline:-2px;scrollbar-width:thin}
 #tyz-tcrm-v1 .tc-story-step {flex:0 0 min(77vw,270px);min-height:102px;scroll-snap-align:center;align-items:flex-start;gap:9px;padding:12px}
 #tyz-tcrm-v1 .tc-story-step-content strong {font-size:13px}
 #tyz-tcrm-v1 .tc-story-step-content small {font-size:11px}
 #tyz-tcrm-v1 .tc-story-hint {margin-top:12px!important;font-size:11px!important}
 #tyz-tcrm-v1 .tc-story-browser-bar {font-size:9px;letter-spacing:.02em;gap:7px}
 #tyz-tcrm-v1 .tc-story-browser-foot {font-size:10px;gap:8px}
 #tyz-tcrm-v1 .tc-story-browser-foot button {font-size:12px!important;min-height:44px}
 #tyz-tcrm-v1 .tc-story-privacy {font-size:11px!important}
 #tyz-tcrm-v1 .tc-proof-grid {gap:21px}
 #tyz-tcrm-v1 .tc-proof-frame {padding:7px}
 #tyz-tcrm-v1 .tc-cta {padding:25px 0 65px}
 #tyz-tcrm-v1 .tc-cta-panel {padding:28px 18px;border-radius:18px;gap:24px}
 #tyz-tcrm-v1 .tc-cta-buttons {display:grid;grid-template-columns:1fr;gap:8px;min-width:0}
 #tyz-tcrm-v1 .tc-cta-buttons .tc-button {width:100%;min-height:48px}
 #tyz-tcrm-v1 .tc-dialog {width:calc(100vw - 12px);max-height:calc(100dvh - 20px);padding:10px}
 #tyz-tcrm-v1 .tc-dialog img {max-height:calc(100dvh - 95px)}
 #tyz-tcrm-v1 .tc-story-lightbox-top {padding:10px;gap:8px}
 #tyz-tcrm-v1 .tc-story-lightbox-top strong {font-size:12px}
 #tyz-tcrm-v1 .tc-story-lightbox-top button {min-width:44px}
 #tyz-tcrm-v1 .tc-story-lightbox-controls button {min-width:44px;min-height:44px}
 #tyz-tcrm-v1 .tc-story-lightbox-body {max-height:calc(100dvh - 85px)}
}
@media (max-width: 380px) {
 #tyz-tcrm-v1 .tc-shell {width:calc(100% - 24px)}
 #tyz-tcrm-v1 .tc-kicker {font-size:9px;letter-spacing:0}
 #tyz-tcrm-v1 .tc-copy h1 {font-size:31px!important}
 #tyz-tcrm-v1 .tc-story-copy h3 {font-size:30px!important}
 #tyz-tcrm-v1 .tc-story-step {flex-basis:min(83vw,250px)}
 #tyz-tcrm-v1 .tc-story-browser-bar {font-size:8px;padding:10px 8px}
 #tyz-tcrm-v1 .tc-story-browser-foot>span {font-size:9px}
 #tyz-tcrm-v1 .tc-story-overlay-note {font-size:11px}
 #tyz-tcrm-v1 .tc-feature {padding:18px}
}
@media (prefers-reduced-motion: reduce) {
 #tyz-tcrm-v1 :is(.tc-story-step,.tc-story-viewport>img,.tc-story-hotspot,.tc-feature,.tc-browser img){transition:none!important;animation:none!important}
}

/* Screenshot viewer controls are useful on phones and tablets alike. */
#tyz-tcrm-v1 .tc-story-lightbox-top{display:flex;align-items:center;gap:12px;justify-content:space-between}
#tyz-tcrm-v1 .tc-story-lightbox-top>strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tyz-tcrm-v1 .tc-story-lightbox-controls{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto}
#tyz-tcrm-v1 .tc-story-lightbox-controls button{appearance:none;min-width:44px;min-height:44px;padding:6px;border:1px solid rgba(236,209,159,.65);border-radius:10px;background:#173b59;color:#fff7e8;font:800 14px/1 Arial,sans-serif;cursor:pointer}
#tyz-tcrm-v1 .tc-story-lightbox-controls button:hover{background:#285171}
#tyz-tcrm-v1 .tc-story-lightbox-controls button:disabled{opacity:.45;cursor:default}
#tyz-tcrm-v1 .tc-story-lightbox-top>[data-story-modal-close]{flex:none}
@media(max-width:380px){
 #tyz-tcrm-v1 .tc-story-lightbox-top{gap:6px;padding:8px}
 #tyz-tcrm-v1 .tc-story-lightbox-controls{gap:3px}
 #tyz-tcrm-v1 .tc-story-lightbox-controls button{min-width:38px;min-height:44px;padding:4px}
 #tyz-tcrm-v1 .tc-story-lightbox-top>strong{font-size:11px}
}
