/* Homepage v27 additions only. Retain the New Copy editorial direction. */
/* Show the operator in context, with a consistent photographic frame. */
.who-ops-layout { grid-template-columns: 1.06fr 1fr; gap: clamp(40px,5vw,76px); }
.operator-portrait { align-self: center; min-height: 0; height: auto; aspect-ratio: 4 / 3; border-radius: 24px; }
.operator-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
@media (max-width:1000px) {
  .who-ops-layout { grid-template-columns: 1fr; gap: 40px; }
  .operator-portrait { aspect-ratio: 16 / 10; }
  .who-ops-copy { max-width: 680px; }
}
@media (max-width:600px) {
  .who-ops-layout { gap: 30px; }
  .operator-portrait { aspect-ratio: 4 / 3; border-radius: 18px; }
}
.copy-refresh .hero { height: auto; min-height: max(840px, 92svh); max-height: none; }
.copy-refresh .hero-content { padding-top: 300px; }
.copy-refresh .hero-description { max-width: 64ch; }
.copy-refresh .hero h1 > span, .copy-refresh .hero h1 > em { display: block; }
.hero-brand-term { white-space: nowrap; }
.product-screen-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; justify-items: center; width: 100%; max-width: 540px; margin-inline: auto; }
.product-screen-gallery-single { grid-template-columns: 1fr; }
.product-screen { width: 100%; max-width: 238px; margin: 0; }
.product-screen-gallery-single .product-screen { max-width: 270px; }
.product-screen a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid #39393925; box-shadow: 0 10px 35px #39393910; background: white; }
.product-screen a:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
.product-screen img { display: block; width: 100%; height: auto; }
.product-screen figcaption { margin: 14px 0 0; font: 14px/1.4 var(--sans); text-align: center; }
.shift-film { background: #e9e9e9; }
.shift-film .section-heading { margin-bottom: 42px; }
.shift-film-player { --film-radius: 24px; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--film-radius); clip-path: inset(0 round var(--film-radius)); isolation: isolate; background: #111; }
.shift-film-player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; clip-path: inset(0 round var(--film-radius)); }
.why-built-layout { align-items: start; }
.why-built-copy .founder-history { font-size: 16px; line-height: 1.85; margin-top: 36px; }
.workforce-sources { font-size: 12px; line-height: 1.7; color: #cdcdcd; margin: 0 0 28px; max-width: 110ch; }
.workforce-sources a { text-decoration: underline; text-underline-offset: 3px; }
.draft-label { display: inline-flex; width: fit-content; background: #e4e4e4; border: 1px solid #b4b4b4; color: #4d4d4d; padding: 5px 9px; border-radius: 4px; font: 500 10px/1.4 var(--sans); letter-spacing: .025em; }
.feature-approval { max-width: 680px; margin: 22px auto 0; }
.feature-approval p { font-size: 12px; line-height: 1.7; color: #545454; margin-top: 9px; }
.business-introduction p + p { margin-top: 22px; }
.demo-content .shift-demo-request { display: flex; width: fit-content; margin: 0 auto 20px; }
.footer-company-line { color: #cdcdcd; font-size: 12px; line-height: 1.8; padding: 0 0 28px; max-width: 75ch; }
@media (max-width:600px) {
  .product-screen-gallery { gap: 14px; }
  .product-screen figcaption { font-size: 12px; }
  .copy-refresh .hero { min-height: 96svh; }
  .copy-refresh .hero-content { padding-top: 250px; padding-bottom: 42px; }
  .copy-refresh .hero-description { max-width: 40ch; }
  .shift-film-player { --film-radius: 18px; }
  .why-built-copy .founder-history { font-size: 15px; margin-top: 28px; }
  .feature-approval { text-align: left; }
  .footer-company-line { font-size: 11px; }
}

/* Keep the closing headline and descriptor together at desktop sizes. */
.copy-refresh .closing .eyebrow { max-width: none; }
@media (min-width:701px) {
  .copy-refresh .closing h2 { font-size: clamp(54px,7.3vw,112px); white-space: nowrap; }
  .copy-refresh .closing .eyebrow { white-space: nowrap; }
}
@media (max-width:700px) {
  .copy-refresh .closing h2 { font-size: clamp(44px,10.8vw,70px); }
}

/* An edge-to-edge cover avoids the inset border baked into the YouTube thumbnail. */
.shift-film-cover { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: inherit; }
.shift-film-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.shift-film-cover:focus-visible { outline: 3px solid var(--cream); outline-offset: -6px; }

/* The supplied film includes a narrow pale matte; trim it inside the page frame. */
.shift-film-player.is-playing { clip-path: inset(0 1.4% 2.4% round var(--film-radius)); }

/* Five outcomes, with one image and one clear heading for each. */
.performance-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 28px; align-items: start; }
.performance-card { grid-column: span 2; min-width: 0; background: var(--cream); border-radius: 22px; overflow: hidden; }
.performance-card:nth-child(4) { grid-column: 2 / span 2; }
.performance-card:nth-child(5) { grid-column: 4 / span 2; }
.performance-card summary { display: block; cursor: pointer; list-style: none; }
.performance-card summary::-webkit-details-marker { display: none; }
.performance-card summary::marker { content: ""; }
.performance-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.performance-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px; min-height: 144px; }
.performance-card h3 { font: clamp(26px,2.2vw,34px)/1.12 var(--serif); letter-spacing: -.03em; margin: 0; }
.performance-plus { position: relative; display: block; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #39393940; border-radius: 50%; }
.performance-plus::before,.performance-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1px; background: currentColor; transform: translate(-50%,-50%); }
.performance-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.performance-card[open] .performance-plus::after { display: none; }
.performance-card>p { margin: 0; padding: 0 24px 28px; font-size: 16px; line-height: 1.65; color: #5f5f5f; }
.performance-card summary:hover .performance-plus { background: var(--olive); color: var(--cream); }
.performance-card summary:focus-visible { outline: 3px solid var(--olive); outline-offset: -6px; border-radius: 22px; }
@media (max-width:1000px) {
  .performance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .performance-card,.performance-card:nth-child(n+4) { grid-column: span 1; }
}
@media (max-width:600px) {
  .performance-grid { grid-template-columns: 1fr; gap: 24px; }
  .performance-card { border-radius: 18px; }
  .performance-card-heading { padding: 22px; min-height: 144px; }
  .performance-card h3 { font-size: 28px; }
  .performance-card>p { padding: 0 22px 26px; }
}

/* Three real device frames, layered as a product family. */
.copy-refresh .product-panel { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(32px,4vw,64px); align-items:center; }
.device-stack { width:100%; max-width:620px; margin:0 auto; padding:18px 7px 40px; display:flex; align-items:flex-start; justify-content:center; isolation:isolate; }
.device-phone { position:relative; flex:0 0 34%; width:34%; margin:0; min-width:0; }
.device-left,.device-right { flex-basis:31%; width:31%; margin-top:42px; z-index:1; }
.device-left { margin-right:-6%; transform:rotate(-6deg); }
.device-right { margin-left:-6%; transform:rotate(6deg); }
.device-center { z-index:2; }
.device-shell { display:block; position:relative; padding:19px 7px 10px; border:2px solid #727272; border-radius:30px; background:linear-gradient(110deg,#373737,#080808 20%,#191919 80%,#444); box-shadow:inset 0 0 0 2px #080808,0 20px 35px -12px #0006,0 2px 4px #0004; }
.device-shell:before,.device-shell:after { content:""; position:absolute; width:3px; border-radius:2px; background:linear-gradient(90deg,#777,#222); }
.device-shell:before { left:-4px; top:18%; height:13%; }
.device-shell:after { right:-4px; top:27%; height:9%; }
.device-speaker { position:absolute; width:19%; height:3px; border-radius:5px; background:#575757; top:8px; left:40.5%; box-shadow:0 1px 1px #000; }
.device-speaker:after { content:""; position:absolute; width:4px; height:4px; background:#1b2631; border:1px solid #555; border-radius:50%; right:-13px; top:-1px; }
.device-display { display:block; width:100%; aspect-ratio:720/1640; overflow:hidden; border-radius:19px; background:#fff; }
.device-display img { display:block; width:100%; height:100%; object-fit:contain; }
a.device-shell { transition:transform .25s; }
a.device-shell:hover { transform:translateY(-5px); }
a.device-shell:focus-visible { outline:2px solid #111; outline-offset:6px; }
.device-phone figcaption { margin:18px -10px 0; text-align:center; font:11px/1.4 var(--sans); color:#626262; }
.device-left figcaption { transform:rotate(6deg); }
.device-right figcaption { transform:rotate(-6deg); }
.message-preview { container-type:inline-size; padding:0 9%; color:#222; position:relative; }
.message-preview-header { display:flex; justify-content:space-between; padding:12% 0 10%; font:600 7cqw/1.3 var(--sans); }
.message-preview h4 { font:500 8cqw/1.3 var(--sans); margin:0 0 12%; }
.message-preview-card { border:1px solid #e1e1e1; background:#f8f8f8; border-radius:10px; padding:9%; margin:0 0 10%; }
.message-preview-card p { font:400 6cqw/1.6 var(--sans); margin:0; color:#444; }
.message-preview-card .message-preview-label { font-size:4.5cqw; letter-spacing:.07em; color:#777; margin-bottom:8%; }
.message-preview-card h5 { font:600 6.3cqw/1.35 var(--sans); margin:0 0 8%; }
.message-preview .message-preview-footer { font:400 4.5cqw/1.4 var(--sans); color:#777; padding:4% 0; }
@media(max-width:900px) { .copy-refresh .product-panel { grid-template-columns:1fr; gap:36px; } .device-stack { max-width:560px; } }
@media(max-width:600px) { .device-stack { max-width:410px; padding:10px 3px 24px; } .device-phone { flex-basis:38%; width:38%; } .device-left,.device-right { flex-basis:34%; width:34%; margin-top:30px; } .device-left { margin-right:-9%; } .device-right { margin-left:-9%; } .device-shell { padding:14px 4px 7px; border-radius:21px; border-width:1px; box-shadow:inset 0 0 0 1px #080808,0 14px 22px -9px #0005; } .device-display { border-radius:14px; } .device-speaker { height:2px; top:6px; } .device-speaker:after { width:3px; height:3px; right:-9px; } .device-phone figcaption { font-size:9px; margin-top:14px; } .device-shell:before { left:-3px; width:2px; } .device-shell:after { right:-3px; width:2px; } }
@media(prefers-reduced-motion:reduce) { a.device-shell { transition:none; } a.device-shell:hover { transform:none; } }

/* Silent operator film with a still fallback and a discreet motion control. */
.copy-refresh .hero-video { object-position:center; pointer-events:none; }
.hero-video-toggle { position:absolute; right:var(--gutter); bottom:24px; z-index:2; width:42px; height:42px; padding:11px; display:grid; place-items:center; border:1px solid #ffffff90; border-radius:50%; color:#fff; background:#1118; cursor:pointer; backdrop-filter:blur(5px); }
.hero-video-toggle[hidden] { display:none; }
.hero-video-toggle:hover { background:#111c; }
.hero-video-toggle svg { width:18px; height:18px; grid-area:1/1; }
.hero-pause-icon { fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.hero-play-icon { fill:currentColor; display:none; }
.hero-video-toggle.is-paused .hero-pause-icon { display:none; }
.hero-video-toggle.is-paused .hero-play-icon { display:block; }
@media(max-width:600px) { .hero-video-toggle { right:18px; bottom:16px; width:36px; height:36px; padding:8px; } .copy-refresh .hero-content { padding-bottom:74px; } }
/* Industry and product labels remain visible independently of editorial eyebrows. */
.case-top { justify-content: space-between; gap: 12px; }
.case-label { font: 500 9px/1.4 var(--sans); letter-spacing: .08em; padding: 9px 12px; border: 1px solid #ffffff30; border-radius: 999px; background: #19191999; backdrop-filter: blur(10px); color: #fff; }
.case-top .round-plus { position: relative; flex: 0 0 32px; width: 32px; height: 32px; font-size: 0; }
.case-top .round-plus::before, .case-top .round-plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.case-top .round-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.case-detail p + p { margin-top: 14px; }
.case-detail .text-link { display: table; }
#case-your-industry > img { object-position: 48% center; }
.ops-track .case-card { flex-basis: calc((100vw - var(--gutter)*2 - 32px)/3); max-width: 460px; }
.ops-track .case-card.is-open { flex-basis: 660px; max-width: 660px; }
@media (max-width: 900px) {
  .ops-track .case-card { flex-basis: 44vw; }
}
@media (max-width: 600px) {
  .case-label { font-size: 8px; padding: 8px 11px; }
  .ops-track .case-card, .ops-track .case-card.is-open { flex-basis: 81vw; max-width: none; }
}
