:root {
  --showcase-ink: #02070b;
  --showcase-panel: #07151a;
  --showcase-line: rgba(153, 222, 215, .18);
  --showcase-glow: #74eee3;
  --showcase-warm: #ffb94f;
  --showcase-paper: #f1f0ea;
}

body:has(.product-showcase) { background: var(--showcase-ink); }
.product-showcase { overflow: clip; background: var(--showcase-ink); color: #f5eee6; }
.product-showcase button { color: inherit; }
.product-showcase [hidden] { display: none !important; }

.showcase-hero { position: relative; isolation: isolate; padding: clamp(8rem,12vw,11rem) clamp(1.25rem,5vw,6rem) 3rem; background: radial-gradient(ellipse at 90% 12%,rgba(69,143,139,.13),transparent 45%),#02070b; }
.hero-product-stage { position: relative; overflow: hidden; border: 1px solid var(--showcase-line); border-radius: 0 0 12px 12px; background: #071216; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.hero-product-stage img { width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: contain; }
.hero-product-copy { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: end; gap: clamp(2rem,6vw,7rem); margin-bottom: clamp(2rem,4vw,4.5rem); }
.showcase-live { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 .9rem; color: var(--showcase-glow); font-size: .62rem; font-weight: 820; letter-spacing: .17em; text-transform: uppercase; }
.showcase-live i { flex-shrink: 0; width: 7px; height: 7px; border: 1px solid var(--showcase-glow); transform: rotate(45deg); }
.hero-product-copy h1 { max-width: 20ch; margin: 0; font-size: clamp(2.7rem,5.1vw,6.6rem); font-weight: 540; line-height: 1.06; letter-spacing: -.055em; text-wrap: initial; }
.hero-product-copy h1 em { display: block; color: var(--showcase-glow); font-style: normal; }
.hero-product-intro > p { max-width: 38ch; margin: 0; color: #bdcac7; font-size: clamp(1rem,1.2vw,1.25rem); line-height: 1.6; }
.hero-product-copy .hero-actions { margin-top: 1.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 1.7rem; color: #b8c8c4; font-size: .75rem; line-height: 1.5; }
.hero-proof span:first-child { color: var(--showcase-warm); }
.hero-stage-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--showcase-line); font-size: .72rem; color: #a7b9b5; }
.hero-stage-caption > span:first-child { color: var(--showcase-warm); }
.hero-stage-caption strong { color: #e2ece8; font-size: .85rem; font-weight: 500; }
.hero-mode-rail { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: 1px solid var(--showcase-line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #071317; }
.hero-mode { position: relative; min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: .75rem; align-items: center; min-height: 78px; padding: 1rem; border-right: 1px solid var(--showcase-line); background: transparent; text-align: left; color: #a7b9b5 !important; transition: background .25s ease; }
.hero-mode:last-child { border-right: 0; }
.hero-mode:hover,.hero-mode[aria-selected="true"] { color: #f0f7f3 !important; background: rgba(116,238,227,.08); }
.hero-mode::before { content: ""; position: absolute; inset: -1px 100% auto 0; height: 1px; background: var(--showcase-glow); transition: right .55s var(--ease-cinematic); }
.hero-mode[aria-selected="true"]::before { right: 0; }
.hero-mode b { color: var(--showcase-glow); font-size: .6rem; letter-spacing: .1em; }
.hero-mode span { display: grid; gap: .08rem; }
.hero-mode strong { font-size: .78rem; }
.hero-mode small { margin-top: .2rem; color: #b0c1bd; font-size: .75rem; line-height: 1.4; }
.product-showcase [role="tab"]:focus-visible { outline-offset: -4px; }
.product-showcase [role="tabpanel"] { scroll-margin-top: 6rem; }

.proof-ribbon { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--showcase-line); border-bottom: 1px solid var(--showcase-line); background: #041015; }
.proof-ribbon div { min-height: 92px; display: flex; align-items: baseline; gap: .75rem; padding: 1.2rem clamp(1rem,3vw,3.4rem); border-right: 1px solid var(--showcase-line); }
.proof-ribbon div:last-child { border-right: 0; }
.proof-ribbon strong { color: var(--showcase-glow); font-size: clamp(1.5rem,2.5vw,2.7rem); font-weight: 550; letter-spacing: -.05em; }
.proof-ribbon span { color: #a9bdb8; font-size: .7rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }

.current-capabilities { padding: clamp(3.5rem,7vw,7rem) clamp(1.25rem,5vw,6rem); background: #0b1e23; scroll-margin-top: 78px; }
.capabilities-heading { max-width: 780px; }
.capabilities-heading h2 { font-size: clamp(2rem,3.4vw,3.7rem); max-width: 22ch; line-height: 1.08; }
.capabilities-heading > p:last-child { max-width: 62ch; color: #b3c5c0; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-top: 2.5rem; }
.capabilities-grid article { border-top: 1px solid #43605f; padding-top: 1.3rem; }
.capability-index { display: block; margin-bottom: 1.2rem; font-size: .8rem; color: var(--showcase-glow); }
.capabilities-grid h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
.capabilities-grid p { max-width: 42ch; margin-bottom: 0; font-size: .95rem; line-height: 1.65; color: #b3c5c0; }

.concept-image { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #020b10; cursor: zoom-in; }
.concept-image > img { display: block; width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: contain; }
.concept-image > span { position: absolute; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .9rem; padding: .6rem .9rem; border: 1px solid #6c9892; border-radius: 8px; background: #07181df2; color: #e7f3ee; font-size: .8rem; }
.concept-image:focus-visible { outline-offset: -4px; }
.concept-view-open { overflow: hidden; }
.concept-viewer { width: min(96vw,1800px); height: 92dvh; max-width: none; max-height: 94dvh; padding: 0; border: 1px solid #456662; border-radius: 14px; background: #051117; color: #f0f5f0; }
.concept-viewer::backdrop { background: #010608ed; backdrop-filter: blur(8px); }
.concept-viewer-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.concept-viewer header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid #34524e; }
.concept-viewer h2 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 .3rem; }
.concept-viewer p { margin: 0; font-size: .8rem; color: #b6c9c3; }
.concept-viewer-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.concept-viewer-actions button { min-height: 44px; padding: .55rem 1rem; border: 1px solid #557c75; border-radius: 7px; color: #eff9f4; background: #13302f; }
.concept-viewer-canvas { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.concept-viewer-canvas img { width: 100%; height: 100%; object-fit: contain; }
.concept-viewer-canvas.is-zoomed img { width: max(100%,1672px); max-width: none; height: auto; max-height: none; }

.project-film { position: relative; scroll-margin-top: 78px; background: #08171c; }
.film-sticky { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.7fr); align-items: start; gap: clamp(2rem,5vw,6rem); padding: clamp(4rem,7vw,8rem) clamp(1.25rem,5vw,6rem); }
.film-story { position: sticky; top: 7rem; padding-top: .8rem; }
.film-story h2 { max-width: 14ch; margin: .75rem 0 1.3rem; font-size: clamp(2rem,3.1vw,3.7rem); line-height: 1.07; }
.film-story > p:last-of-type { max-width: 38ch; margin: 0; color: #a7b9b5; font-size: .9rem; line-height: 1.6; }
.film-progress { display: flex; align-items: center; gap: .7rem; margin-top: .8rem; color: #78918e; font-size: .58rem; font-weight: 800; letter-spacing: .11em; }
.film-progress i { flex: 1; height: 1px; background: rgba(116,238,227,.18); }
.film-progress i::after { content: ""; display: block; width: var(--film-progress,8%); height: 1px; background: var(--showcase-glow); transition: width .65s var(--ease); }
.film-view { min-width: 0; }
.product-window { position: relative; overflow: hidden; border: 1px solid var(--showcase-line); border-radius: 12px; background: #020b10; }
.product-window img { width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: contain; }
.product-window-meta { display: grid; grid-template-columns: 1fr; gap: .7rem; padding: 1.5rem; border-top: 1px solid var(--showcase-line); }
.product-window-meta div { display: grid; gap: .1rem; }
.product-window-meta small { color: var(--showcase-glow); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-window-meta strong { margin-top: .4rem; font-size: clamp(1.2rem,1.7vw,1.75rem); font-weight: 500; }
.product-window-meta span { max-width: 56ch; color: #a7b9b5; font-size: .9rem; line-height: 1.6; }
.artwork-caption { margin: 0; padding: 0 1.5rem 1.2rem; color: var(--showcase-warm); font-size: .68rem; }
.film-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .4rem; margin: 0 0 1rem; }
.film-step { display: flex; align-items: center; gap: .6rem; min-height: 44px; min-width: 0; padding: .7rem .65rem; border: 1px solid var(--showcase-line); border-radius: 5px; background: transparent; color: #a7b9b5 !important; font-size: .73rem; font-weight: 650; text-align: left; }
.film-step span { color: #87aaa4; font-size: .6rem; font-weight: 500; }
.film-step:hover,.film-step[aria-selected="true"] { border-color: rgba(116,238,227,.5); background: rgba(116,238,227,.08); color: var(--showcase-glow) !important; }

.decision-live { position: relative; min-height: 112svh; display: grid; grid-template-columns: 1fr; align-items: end; isolation: isolate; overflow: hidden; padding: 7rem clamp(1.25rem,5vw,6rem) 3rem; background: #02080c; }
.decision-world { position: absolute; inset: 0; z-index: -2; }
.decision-world img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .92; transform: scale(1.015); animation: evidence-drift 16s ease-in-out infinite alternate; }
.decision-world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(2,8,11,.42),transparent 27%,rgba(2,8,11,.15) 58%,rgba(2,8,11,.97) 100%),linear-gradient(90deg,rgba(2,8,11,.68),transparent 42%); }
.decision-copy { position: absolute; z-index: 3; top: 7rem; left: clamp(1.25rem,5vw,6rem); width: min(430px,42vw); padding: 1rem 1.1rem; border-left: 1px solid rgba(116,238,227,.6); background: rgba(3,13,17,.56); backdrop-filter: blur(16px); }
.decision-copy h2 { max-width: 11ch; margin: .2rem 0 .45rem; font-size: clamp(2rem,3.6vw,4.6rem); }
.decision-copy > p { max-width: 42ch; margin: 0; color: #c0cec9; font-size: .9rem; }
.decision-copy .button { margin-top: .9rem; }
.signal-experience { position: relative; z-index: 4; display: grid; gap: 1.5rem; align-items: center; padding: 1.5rem; border: 1px solid var(--showcase-line); border-radius: 12px; background: rgba(2,10,13,.94); }
.signal-spine { position: absolute; left: 8%; right: 8%; top: 48px; height: 1px; background: linear-gradient(90deg,rgba(116,238,227,.1),var(--showcase-glow),rgba(255,185,79,.55)); }
.signal-spine::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--showcase-glow); box-shadow: 0 0 22px rgba(116,238,227,.9); animation: decision-travel 3.4s linear infinite; }
.signal-nodes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5,1fr); gap: .7rem; }
.signal-node { display: grid; justify-items: center; gap: .35rem; background: transparent; text-align: center; }
.signal-node i { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(116,238,227,.28); border-radius: 16px; background: rgba(3,16,20,.9); box-shadow: 0 16px 40px rgba(0,0,0,.3); color: var(--showcase-glow); font-style: normal; transition: transform .3s var(--ease),background .3s ease,box-shadow .3s ease; }
.signal-node strong { font-size: .8rem; }
.signal-node small { color: #a7b9b5; font-size: .72rem; }
.signal-node[aria-current="true"] i,.signal-node:hover i { transform: translateY(-7px); background: #0c3432; box-shadow: 0 0 0 6px rgba(116,238,227,.06),0 22px 50px rgba(58,199,188,.26); }
.signal-result { position: relative; margin: 0; padding-top: 1rem; border-top: 1px solid var(--showcase-line); color: #b4c4bf; font-size: .78rem; line-height: 1.5; text-align: center; }
.signal-result.is-live { color: #9efff5; text-shadow: 0 0 16px rgba(116,238,227,.65); }

.automation-gallery { padding: clamp(7rem,10vw,10rem) clamp(1.25rem,4vw,5rem); background: #061317; }
.automation-heading { display: grid; grid-template-columns: .4fr 1fr .55fr; gap: clamp(1.5rem,4vw,5rem); align-items: end; margin-bottom: 3rem; }
.automation-heading h2 { max-width: 10ch; margin: 0; }
.automation-heading > p:last-child { margin: 0; color: #879b98; }
.automation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.automation-card { overflow: hidden; border: 1px solid #35504f; border-radius: 12px; background: #0a1d22; }
.automation-card-copy { padding: 1.4rem; border-top: 1px solid #35504f; }
.automation-card small { color: var(--showcase-glow); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.automation-card h3 { margin: .75rem 0; font-size: clamp(1.3rem,1.8vw,1.8rem); line-height: 1.15; }
.automation-card p { max-width: 44ch; margin: 0; color: #c0cec9; font-size: .95rem; line-height: 1.6; }

.audience-outcomes { padding: clamp(7rem,10vw,10rem) clamp(1.25rem,6vw,7rem); background: var(--showcase-paper); color: #122326; }
.audience-heading { max-width: 1050px; margin-bottom: 3rem; }
.audience-heading .section-kicker { color: #246966; }
.audience-heading h2 { max-width: 13ch; }
.audience-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.audience-tab { min-height: 44px; padding: .7rem .95rem; border: 1px solid rgba(41,90,89,.23); border-radius: 999px; background: transparent; color: #405754 !important; font-size: .8rem; font-weight: 760; }
.audience-tab[aria-selected="true"],.audience-tab:hover { background: #123230; color: #a6fff5 !important; }
.audience-result { min-height: 300px; display: grid; grid-template-columns: .5fr 1.5fr; gap: clamp(2rem,6vw,8rem); align-items: center; padding: clamp(1.5rem,4vw,4rem); border-top: 1px solid rgba(41,90,89,.22); border-bottom: 1px solid rgba(41,90,89,.22); }
.audience-result strong { color: #2b8e88; font-size: clamp(3.5rem,8vw,8rem); font-weight: 530; letter-spacing: -.07em; }
.audience-result h3 { max-width: 17ch; font-size: clamp(1.9rem,3.8vw,4.2rem); }
.audience-result p { max-width: 54ch; color: #627472; font-size: .92rem; }

.showcase-cta { display: grid; place-items: center; padding: clamp(5rem,9vw,9rem) 1.25rem; background: radial-gradient(ellipse at 50% 42%,rgba(65,191,182,.15),transparent 60%),#02080c; text-align: center; }
.showcase-cta > div { max-width: 1100px; }
.showcase-cta h2 { max-width: 12ch; margin-inline: auto; }
.showcase-cta p { max-width: 58ch; margin-inline: auto; color: #8da19e; }
.showcase-cta .hero-actions { justify-content: center; }
.showcase-signature { display: inline-block; margin-bottom: 2rem; color: var(--showcase-glow); font-size: 1.2rem; font-weight: 600; letter-spacing: .22em; }

@keyframes decision-travel { from { left: 0; } to { left: 100%; } }
@keyframes evidence-drift { from { transform: scale(1.015) translateX(-.2%); } to { transform: scale(1.035) translateX(.2%); } }

@media (max-width: 1050px) {
  .hero-mode small { display: none; }
  .film-sticky { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 2rem; }
  .film-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .automation-heading { grid-template-columns: .35fr 1fr; }
  .automation-heading > p:last-child { grid-column: 2; }
}

@media (max-width: 850px) {
  .hero-product-copy { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-product-copy h1 { max-width: 20ch; font-size: clamp(2.6rem,7vw,4.4rem); }
  .hero-product-intro > p { max-width: 55ch; }
  .hero-mode-rail { display: flex; flex-wrap: wrap; }
  .hero-mode { flex: 1 1 110px; border-bottom: 1px solid var(--showcase-line); }
  .hero-mode { min-height: 60px; gap: .6rem; padding: .75rem; }
  .proof-ribbon { grid-template-columns: 1fr 1fr; }
  .proof-ribbon div:nth-child(2) { border-right: 0; }
  .proof-ribbon div:nth-child(-n+2) { border-bottom: 1px solid var(--showcase-line); }
  .film-sticky { grid-template-columns: 1fr; }
  .film-story { position: static; }
  .film-story h2 { max-width: 20ch; }
  .film-story > p:last-of-type { max-width: 55ch; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .capabilities-grid p { max-width: 62ch; }
  .film-steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .decision-live { min-height: 980px; padding-bottom: 2rem; }
  .decision-copy { top: 5.5rem; width: min(390px,82vw); }
  .signal-nodes { gap: .4rem; }
  .automation-heading { grid-template-columns: 1fr; }
  .automation-heading > p:last-child { grid-column: auto; }
  .automation-grid { grid-template-columns: 1fr; }
  .audience-result { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .showcase-hero { padding-top: 7.5rem; padding-bottom: 2rem; }
  .hero-product-copy h1 { max-width: 100%; overflow-wrap: break-word; font-size: clamp(2.35rem,9.4vw,3.5rem); }
  .hero-proof { margin-top: 1.2rem; }
  .hero-stage-caption { display: grid; gap: .35rem; padding: .9rem; }
  .proof-ribbon div { min-height: 84px; display: grid; gap: .1rem; }
  .film-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .film-step { gap: .4rem; font-size: .68rem; }
  .film-step span { font-size: .55rem; }
  .product-window-meta { padding: 1.2rem; }
  .artwork-caption { padding-inline: 1.2rem; }
  .decision-live { min-height: 0; display: block; padding: 4rem 1.25rem; }
  .decision-copy { position: relative; top: auto; left: auto; width: auto; margin-bottom: 3rem; }
  .signal-nodes { grid-template-columns: 1fr; gap: .75rem; }
  .signal-node { grid-template-columns: 48px 1fr; justify-items: start; column-gap: 1rem; text-align: left; }
  .signal-node i { grid-row: 1/3; }
  .signal-node strong { align-self: end; }
  .signal-node[aria-current="true"] i,.signal-node:hover i { transform: none; }
  .signal-spine { display: none; }
  .signal-result { text-align: left; }
  .decision-world img { object-position: 60% center; }
  .concept-image > span { right: .6rem; bottom: .6rem; font-size: .75rem; }
  .concept-viewer { width: 96vw; height: 94dvh; }
  .concept-viewer header { align-items: stretch; flex-direction: column; gap: .75rem; padding: .9rem; }
  .concept-viewer-actions { justify-content: space-between; }
  .hero-mode { padding: .7rem .55rem; gap: .4rem; }
  .hero-mode strong { font-size: .75rem; }
  .hero-mode b { font-size: .6rem; }
  .audience-result { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-spine::after,.decision-world img { animation: none !important; }
  .automation-card,.automation-card img { transform: none !important; }
  .product-showcase *, .product-showcase *::before, .product-showcase *::after { transition-duration: 0s !important; }
}

@media (max-width: 420px) {
  .film-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .film-step { min-height: 46px; font-size: .78rem; }
}
