/* "What we do" as image-first showcase cards (Von 2026-10-23: images beat text; research: ElevenLabs product
   screenshots in rounded cards, UX #12 honest proof: real captures of our own work, no stock, no fake builds). */
.show { display: grid; gap: clamp(20px, 3vw, 32px); list-style: none; }
.show__item { display: grid; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); }
.show__media { position: relative; min-height: 300px; display: grid; place-items: center; padding: 28px 20px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, rgba(47, 107, 255, 0.28) 0%, rgba(47, 107, 255, 0.06) 45%, transparent 70%), linear-gradient(180deg, #070C18, #0B1222); }
.show__body { padding: 24px clamp(20px, 3vw, 36px) 28px; display: grid; gap: 10px; align-content: center; }
.show__num { font: 500 0.8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--electric); }
.show__body .h3 { font-size: clamp(1.45rem, 3.4vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; }
.show__body p { color: var(--muted); }
.show__body .btn { justify-self: start; margin-top: 6px; }
@media (min-width: 900px) {
  .show__item { grid-template-columns: 1.15fr 1fr; min-height: 460px; }
  .show__item:nth-child(even) .show__media { order: 2; }
  .show__media { min-height: 460px; }
}

/* device frames */
.dev-laptop { width: min(100%, 560px); border-radius: 12px; background: #0B1222; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(111, 168, 255, 0.12); overflow: hidden; }
.dev-laptop__bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #0E1628; border-bottom: 1px solid var(--line); }
.dev-laptop__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(232, 238, 248, 0.25); }
.dev-laptop img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.dev-phone { width: 168px; border-radius: 28px; padding: 7px; background: #0E1628; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(111, 168, 255, 0.14); }
.dev-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.dev-phone--lg { width: 236px; }
.show__media--site { padding-bottom: 56px; }
.show__media--site .dev-phone { position: absolute; right: max(14px, 6%); bottom: 22px; width: 118px; }

/* automation flow */
.flow { position: relative; display: grid; gap: 14px; width: min(100%, 420px); list-style: none; }
.flow::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--electric), rgba(111, 168, 255, 0.15)); box-shadow: 0 0 12px var(--electric-glow); }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px 14px 10px 0; }
.flow__dot { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #0E1628; border: 1px solid rgba(111, 168, 255, 0.5); color: var(--electric); box-shadow: 0 0 22px rgba(111, 168, 255, 0.18); z-index: 1; }
.flow__dot svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow b { display: block; font: 600 1.0625rem/1.3 var(--sans); }
.flow span:not(.flow__dot) { display: block; font: 500 0.78rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* workshops: lessons capture + partner logos */
.show__media--learn { gap: 18px; align-content: center; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.logos span { background: #fff; border-radius: 8px; padding: 8px 12px; display: flex; align-items: center; height: 44px; }
.logos img { height: 26px; width: auto; display: block; }
.logos span { height: 52px; }
.logos img { height: 30px; }
.logos img[src*="rice"] { height: 42px; }
.show__label { margin-bottom: 16px; }

/* cleaned-up lower page (Von 2026-10-23) */
.lean.section { padding: clamp(64px, 10svh, 112px) 0; }
.lean__title { margin: 10px 0 20px; font-size: clamp(1.9rem, 6vw, 3rem); }
.lean__note { margin: -8px 0 22px; }
.lean__foot { margin-top: 20px; max-width: 46rem; }
.stepline { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .stepline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stepline li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font: 600 1.0625rem/1.25 var(--sans); }
.stepline span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(111, 168, 255, 0.14); color: var(--electric); font: 600 0.9rem/1 var(--mono); }
.pkg .h3 { margin: 0; }
@media (max-width: 899px) { .pkg--growth { order: -1; } }
.builder { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; }
.emblem--sm { width: 88px; border-radius: 20px; }
.emblem--sm span { font-size: 1.6rem; }
.builder__name { margin: 6px 0 6px; }
.close .card { padding: clamp(32px, 6vw, 64px) var(--gutter); }
.close .h2 { margin: 0; }
.footer-join { display: grid; gap: 18px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-join form { display: grid; gap: 8px; }
.footer-join__row { display: grid; gap: 12px; }
@media (min-width: 760px) { .footer-join__row { grid-template-columns: 1fr 1fr auto; align-items: end; } }
@media (min-width: 900px) { .footer-join { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: end; gap: 40px; } }
.builder .emblem.emblem--sm { width: 88px; aspect-ratio: 1; border-radius: 20px; }
.builder .emblem.emblem--sm span { font-size: 1.6rem; }
.builder { grid-template-columns: 1fr; }
/* with the middle sections hidden, the close follows the services directly */
#services.section { padding-bottom: clamp(32px, 5vw, 56px); }
#contact.section { padding-top: 0; }

/* workshops card: online and in-person paths (Von 2026-10-23) */
.dev-phone--tagged { position: relative; }
.tag-chip { position: absolute; z-index: 1; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--electric); color: #04070F; font: 600 0.75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 20px var(--electric-glow); }
.logos__cap { font: 500 0.75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: -8px; }
.show__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.show__actions .btn { margin-top: 0; }
.show__actions .link { display: inline-flex; align-items: center; min-height: 44px; }

/* workshops card: Blender "build path" render with numbered steps (Von 2026-10-23) */
.show__media--learn { padding: 0; place-items: stretch; background: #050912; }
.bp { margin: 0; display: grid; }
.bp__art { position: relative; }
.bp__art img { display: block; width: 100%; height: auto; }
.bp__dot { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--electric); color: #04070F; font: 700 0.9rem/1 var(--sans); box-shadow: 0 0 0 4px rgba(111, 168, 255, 0.22), 0 6px 18px rgba(0, 0, 0, 0.5); }
.bp__legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 18px; margin-top: -6px; }
@media (min-width: 560px) { .bp__legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bp__legend li { display: flex; align-items: center; gap: 8px; font: 600 1rem/1.2 var(--sans); }
.bp__legend span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(111, 168, 255, 0.16); color: var(--electric); font: 700 0.8rem/1 var(--sans); }
@media (min-width: 900px) { .show__media--learn { align-content: center; } }
/* match the render's own navy so its edges disappear */
.show__media--learn { background: linear-gradient(180deg, #050C1A 0%, #061326 100%); }
.bp__dot { width: 28px; height: 28px; font-size: 0.85rem; }

/* all four cards use Blender renders in the hero's world (Von 2026-10-23) */
.show__media--render { padding: 0; place-items: stretch; background: linear-gradient(180deg, #050C1A 0%, #061326 100%); }
.show__media--render > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .show__media--render > img { position: absolute; inset: 0; } }   /* renders fill the whole half on desktop */
.bp__legend--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* AI assistants card: the real Creo conversation on a phone in front of the hologram (Von 2026-10-23) */
.show__media--chat > img { object-position: 0% 50%; }
.chat-phone { position: absolute; right: 6%; bottom: 7%; width: 40%; max-width: 230px; border-radius: 24px; padding: 6px; background: #0E1628; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(111, 168, 255, 0.22); overflow: hidden; }
.chat-phone__still, .chat-phone__vid { display: block; width: 100%; height: auto; aspect-ratio: 480 / 935; border-radius: 19px; object-fit: cover; }
.chat-phone__vid { position: absolute; left: 6px; top: 6px; width: calc(100% - 12px); opacity: 0; transition: opacity .3s ease; }
.chat-phone.is-playing .chat-phone__vid { opacity: 1; }
@media (max-width: 899px) { .show__media--chat { min-height: 360px; } .chat-phone { width: 44%; right: 5%; bottom: 6%; } }

/* Von 2026-10-23: no hologram; the real conversation on a phone is the whole picture */
.show__media--chat { padding: 32px 20px 40px; place-items: center;
  background: radial-gradient(60% 28% at 50% 92%, rgba(111, 168, 255, 0.42) 0%, rgba(47, 107, 255, 0.12) 55%, transparent 75%),
              radial-gradient(90% 70% at 50% 40%, rgba(47, 107, 255, 0.16) 0%, transparent 70%), linear-gradient(180deg, #050C1A, #061326); }
.show__media--chat .chat-phone { position: relative; right: auto; bottom: auto; width: min(62%, 260px); max-width: none; }
@media (min-width: 900px) { .show__media--chat .chat-phone { width: min(46%, 270px); } }

/* Von 2026-10-23: the phone stands on the display; the real chat video plays exactly on its rendered screen */
.show__media--chat { padding: 0; place-items: center; background: linear-gradient(180deg, #050C1A 0%, #061326 100%); }
.disp { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.disp__art { display: block; width: 100%; height: 100%; }
.disp__screen { position: absolute; right: auto; bottom: auto; max-width: none; padding: 0; border: 0; border-radius: 1.2%; background: transparent; box-shadow: none; overflow: hidden; }
.disp__screen .chat-phone__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; border-radius: 0; aspect-ratio: auto; }
.show__media--chat .chat-phone.disp__screen { position: absolute; padding: 0; border: 0; box-shadow: none; background: transparent; }
/* phone-on-display framing: zoom in on phones so the chat is readable; fill the half on desktop */
.show__media--chat { min-height: 0; overflow: hidden; }
@media (max-width: 899px) { .show__media--chat { display: block; position: relative; aspect-ratio: 1 / 0.98; overflow: clip; } .show__media--chat .disp { position: absolute; top: 2%; left: 50%; width: 150%; transform: translateX(-50%); } }
@media (min-width: 900px) { .show__media--chat { position: relative; } .show__media--chat .disp { position: absolute; top: 0; left: 50%; height: 100%; width: auto; transform: translateX(-50%); } }

/* automations: sequential glow video over the still, badges glow in sync (Von 2026-10-23) */
.bp__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; }
.bp__art.is-playing .bp__vid { opacity: 1; }
.bp__dot { z-index: 1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.bp__dot.is-on { transform: translate(-50%, -50%) scale(1.22); background: #CFE2FF; box-shadow: 0 0 0 6px rgba(111, 168, 255, 0.35), 0 0 26px 6px rgba(111, 168, 255, 0.85); }
@media (prefers-reduced-motion: reduce) { .bp__dot { transition: none; } }

/* websites card: a scroll through our homepage plays on the laptop's rendered screen (Von 2026-10-23).
   JS maps the 960x620 box onto the screen's four corners (matrix3d) and cuts it around the phone (clip-path). */
.site-scroll { position: absolute; left: 0; top: 0; pointer-events: none; }
.site-scroll__screen { position: absolute; left: 0; top: 0; width: 960px; height: 620px; transform-origin: 0 0; overflow: hidden; background: #050912; }
.site-scroll__still, .site-scroll__vid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: fill; filter: brightness(.9) saturate(1.05); }
.site-scroll__vid { opacity: 0; transition: opacity .3s ease; }
.site-scroll.is-playing .site-scroll__vid { opacity: 1; }
.site-scroll__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.18) 100%); }
.site-scroll:not(.is-ready) { visibility: hidden; }

/* UX review 2026-10-23: tags as pills; clearer type steps in the cards (label < body < heading), softer body text */
.pills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(111, 168, 255, 0.32); background: rgba(111, 168, 255, 0.08); color: #CFDDF2; font: 500 0.8rem/1 var(--sans); letter-spacing: 0.01em; white-space: nowrap; }
.creds { font: 400 0.9rem/1.6 var(--sans); color: var(--muted); }
.creds span { display: inline-block; margin-right: 4px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--electric); }
.show__body { gap: 14px; }
.show__num { font-size: 0.74rem; letter-spacing: 0.16em; }
.show__body .h3 { font-size: clamp(1.75rem, 3.8vw, 2.3rem); line-height: 1.08; color: #F3F7FC; }
.show__body p:not(.show__num):not(.creds) { color: #B6C3D6; font-size: 1rem; line-height: 1.7; max-width: 34rem; }
