/* TivloLab Web, home in the calm-product style: white paper, bone panels, ink pills, cobalt and sun only as accents (6:3:1).
   Type: Instrument Sans for display, Geist for text, Geist Mono for small labels. Every motion is CSS keyframes or one small script. */
:root {
  --paper: #FFFFFF; --bone: #FFFFFF; --bone-2: #ECE9E1; --line: #E4E0D6; --card: #fff;
  --ink: #0B0B0C; --ink-2: #2A2A2F; --dim: rgb(11 11 12 / .64); --faint: rgb(11 11 12 / .58);
  --cobalt: #1565C0; --sun: #2196F3; --sky: #9DB0FF;
  --d: 'Instrument Sans', 'Geist', system-ui, sans-serif; --f: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --m: 'Geist Mono', ui-monospace, Menlo, monospace;
  --r: 14px; --ease: cubic-bezier(.23, 1, .32, 1); --gut: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.dim { color: var(--dim); }

/* buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; font: 500 15px/1 var(--f); white-space: nowrap;
  transition: background-color .2s ease, transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn.ink { background: var(--ink); color: #fff; } .btn.ink:hover { background: var(--ink-2); }
.btn.soft { background: var(--bone-2); } .btn.soft:hover { background: #E3DFD4; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 var(--gut);
  background: rgb(255 255 255 / .97); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.stuck { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; font: 700 17px/1 'Times New Roman', Times, 'Liberation Serif', serif; letter-spacing: 0; }
.links { display: flex; gap: 28px; font-size: 15px; color: var(--dim); }
.links a:hover { color: var(--ink); }
.acts { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 900px) { .links { display: none; } .nav { grid-template-columns: 1fr auto; } .acts .soft { display: none; } }

/* hero */
.hero { position: relative; padding: 0 var(--gut) 40px; }
.hgrid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-in { position: relative; z-index: 1; text-align: center; padding: clamp(70px, 12vh, 140px) 0 clamp(70px, 11vh, 130px); pointer-events: none; }
.hero-in a { pointer-events: auto; }
.display { font: 500 clamp(2.6rem, 6.4vw, 5.6rem)/1.02 var(--d); letter-spacing: -.035em; margin-top: 22px; }

/* announcement pill: grows out of its caret, a sun highlight passes once */
.ann { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; border-radius: 999px; font-size: 14px; color: var(--dim);
  overflow: hidden; clip-path: inset(0 calc(100% - 34px) 0 0 round 999px); animation: annOpen .9s var(--ease) .25s forwards; }
.ann::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgb(33 150 243 / .35), transparent); transform: translateX(-110%); animation: annSweep 1.2s ease .9s forwards; }
.ann:hover { color: var(--ink); background: var(--bone); }
.ann-caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.ann:hover .ann-caret { transform: translateX(3px); }
@keyframes annOpen { to { clip-path: inset(0 0 0 0 round 999px); } }
@keyframes annSweep { to { transform: translateX(110%); } }

/* letter cascade: letters fall in, two flash cobalt and sun, then hop under the cursor */
.cas .w { white-space: nowrap; display: inline-block; }
.cas .l { display: inline-block; opacity: 0; }
.cas.play .l { animation: casIn .72s cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc(var(--i) * 24ms); }
.cas.play .l[data-m] { animation-name: casMagic; }
.cas.done .l { opacity: 1; }
.cas .l.hop { animation: casHop .5s cubic-bezier(.3, 1.4, .5, 1) both !important; opacity: 1; }
@keyframes casIn { from { opacity: 0; transform: translateY(-.12em); } to { opacity: 1; transform: none; } }
@keyframes casMagic { 0% { opacity: 0; transform: translateY(-.12em); color: var(--mc); } 58% { opacity: 1; transform: none; color: var(--mc); } 100% { opacity: 1; transform: none; } }
@keyframes casHop { 42% { transform: translateY(calc(-.12em / var(--mass, 1))); color: var(--cobalt); } 100% { transform: none; opacity: 1; } }

/* product cards with working mock-ups */
.duo { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 26px); max-width: 1440px; margin: 0 auto; }
.prod-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.prod-head p { font: 500 clamp(1.15rem, 1.7vw, 1.5rem)/1.25 var(--d); letter-spacing: -.02em; }
.mock { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 22px 0 0 22px; height: clamp(300px, 30vw, 390px); background: var(--bone); border-radius: 4px; overflow: hidden; font-size: 12px; }
.mk-side { display: grid; align-content: start; gap: 9px; padding: 14px 0 0 14px; color: var(--faint); background: rgb(255 255 255 / .55); border-radius: 10px 10px 0 0; }
.mk-side span.on { color: var(--ink); font-weight: 500; }
.mk-side span.on::before { content: '• '; color: var(--cobalt); }
.mk-logo { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--cobalt); color: #fff; font: 600 11px var(--d); margin-bottom: 8px; }
.mk-main { display: grid; align-content: start; gap: 10px; padding: 14px 14px 0; background: rgb(255 255 255 / .7); border-radius: 12px 0 0 0; }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; opacity: 0; transform: translateY(14px); }
.mock.on .mk-card { animation: arrive .7s var(--ease) both; }
.mock.on .mk-card:nth-child(2) { animation-delay: .14s; } .mock.on .mk-card:nth-child(3) { animation-delay: .28s; }
@keyframes arrive { to { opacity: 1; transform: none; } }
.mk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.mk-top b { font-weight: 600; font-size: 13px; }
.mk-dim, .mk-k { color: var(--faint); font: 400 11px/1.4 var(--m); }
.mk-k { display: block; margin-bottom: 6px; }
.mk-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--bone-2); }
.mk-row:first-of-type { border-top: 0; }
.mk-row b { display: block; font-weight: 500; } .mk-row small { color: var(--faint); font-size: 11px; }
.mk-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 10px var(--m); font-style: normal; }
.chip { font: 500 10.5px/1 var(--m); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.chip.ok { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.note p { color: var(--dim); font-size: 12px; }
.ask { display: flex; justify-content: space-between; align-items: center; color: var(--faint); min-height: 44px; }
.send { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.bars { display: grid; grid-template-columns: repeat(36, 1fr); gap: 3px; height: 26px; margin: 4px 0 8px; }
.bars i { border-radius: 2px; background: var(--cobalt); opacity: .85; transform-origin: bottom; animation: barIn .5s var(--ease) both; animation-delay: calc(var(--k) * 18ms); }
.bars i.slow { background: var(--sun); }
.bars.big { height: 64px; grid-template-columns: repeat(48, 1fr); }
@keyframes barIn { from { transform: scaleY(0); } }
.mk-line { display: flex; align-items: center; gap: 6px; color: var(--dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); position: relative; flex: none; }
.dot.live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--cobalt); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.mk-list { list-style: none; display: grid; gap: 7px; }
.ck { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--bone); color: var(--cobalt); font-size: 10px; }
.hours { height: 8px; border-radius: 99px; background: var(--bone); overflow: hidden; margin-bottom: 8px; }
.hours i { display: block; height: 100%; width: calc(var(--h) * 100%); background: linear-gradient(90deg, var(--cobalt), var(--sky)); border-radius: inherit; transform-origin: left; }
.mock.on .hours i { animation: grow 1.4s var(--ease) .4s both; }
@keyframes grow { from { transform: scaleX(0); } }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .prod-head { align-items: flex-start; flex-direction: column; } .mock { grid-template-columns: 1fr; } .mk-side { display: none; } }

/* names marquee */
.trust { padding: 56px 0 72px; text-align: center; }
.trust-k { font: 400 12px var(--m); color: var(--faint); margin-bottom: 22px; }
.fade { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.fade:hover .track { animation-play-state: paused; }
.set { display: flex; align-items: center; gap: 46px; padding-right: 46px; flex-shrink: 0; }
.set span { font-size: 26px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.n1 { font: 600 26px var(--d); font-stretch: 75%; text-transform: uppercase; } .n2 { font: 500 26px var(--d); } .n3 { font: 400 24px var(--m); letter-spacing: -.04em; }
.n4 { font: 700 25px var(--d); letter-spacing: -.05em; } .n5 { font: 400 26px var(--d); font-stretch: 85%; letter-spacing: .02em; } .n6 { font: 600 25px var(--f); }
@keyframes marq { to { transform: translateX(-50%); } }

/* the two sides */
.fe { position: relative; margin: 0 var(--gut); padding: clamp(70px, 9vw, 120px) clamp(16px, 6vw, 84px) 140px; background: var(--bone); border-radius: 4px; overflow: hidden; }
.sec-h { font: 500 clamp(2rem, 4.2vw, 3.6rem)/1.05 var(--d); letter-spacing: -.035em; text-align: center; }
.sec-h.left { text-align: left; }
.seg { position: sticky; top: 80px; z-index: 5; display: flex; width: max-content; margin: 40px auto 46px; padding: 5px; border-radius: 999px; background: var(--bone-2); }
.seg button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; color: var(--dim); transition: color .25s; }
.seg button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.seg-bg { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: var(--sw, 120px); transform: translateX(var(--sx, 0)); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(11 11 12 / .1); transition: transform .45s var(--ease), width .45s var(--ease); }
.pane[hidden] { display: none; }
.pane { display: grid; gap: clamp(60px, 8vw, 110px); max-width: 1080px; margin: 0 auto; }
.pane.enter .step { animation: paneIn .6s var(--ease) both; }
.pane.enter .step:nth-child(2) { animation-delay: .08s; } .pane.enter .step:nth-child(3) { animation-delay: .16s; }
@keyframes paneIn { from { opacity: 0; transform: translateY(18px); } }
.ill { position: relative; height: clamp(240px, 26vw, 320px); background: #fff; border-radius: 4px; display: grid; place-items: center; overflow: hidden; padding: 24px; }
.step-t { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; margin-top: 30px; }
.step-t h3 { font: 500 clamp(1.25rem, 1.9vw, 1.6rem)/1.25 var(--d); letter-spacing: -.02em; }
.step-t p { color: var(--dim); font-size: 17px; }
@media (max-width: 760px) { .step-t { grid-template-columns: 1fr; } }

/* illustrations */
.msg-wrap { display: flex; gap: 16px; align-items: flex-start; max-width: 460px; width: 100%; }
.face { position: relative; flex: none; width: 34px; height: 40px; }
.face i { position: absolute; top: 9px; width: 4px; height: 7px; border-radius: 2px; background: var(--cobalt); animation: blink 4s infinite; }
.face i:first-child { left: 8px; } .face i:nth-child(2) { right: 8px; }
.face b { position: absolute; left: 7px; right: 7px; bottom: 9px; height: 8px; border: 2px solid var(--cobalt); border-top: 0; border-radius: 0 0 12px 12px; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
.typed { font-size: 15px; min-height: 3.2em; margin-top: 4px; }
.typed::after, .mk-typed::after { content: ''; display: inline-block; width: 1px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.quote-card { position: absolute; right: 24px; bottom: 22px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); opacity: 0; transform: translateY(16px) rotate(2deg); }
.quote-card span { font: 400 11px var(--m); color: var(--faint); } .quote-card b { font: 600 22px var(--d); letter-spacing: -.02em; } .quote-card small { color: var(--dim); font-size: 11px; }
.ill.on .quote-card { animation: arrive .8s var(--ease) 2.6s forwards; }
.browser { width: min(440px, 100%); border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.b-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fff; }
.b-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--bone-2); }
.b-bar span { margin-left: 8px; font: 400 10.5px var(--m); color: var(--faint); }
.b-body { display: grid; gap: 10px; padding: 18px; }
.sk { height: 12px; border-radius: 4px; background: var(--bone-2); transform-origin: left; }
.ill.on .sk { animation: skIn .6s var(--ease) both; }
.sk.w60 { width: 60%; height: 18px; } .sk.w40 { width: 40%; animation-delay: .15s !important; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .sk.box { height: 54px; animation-delay: .3s !important; }
.ill.on .sk.box { background: linear-gradient(90deg, var(--bone-2), #F6F6F8, var(--bone-2)); background-size: 200% 100%; animation: skIn .6s var(--ease) .3s both, shimmer 1.6s linear 1s infinite; }
@keyframes skIn { from { transform: scaleX(0); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.pop { position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 30px) scale(.9); opacity: 0; height: 52px; padding: 0 26px; border-radius: 999px; display: flex; align-items: center; gap: 10px;
  background: var(--cobalt); color: #fff; font: 500 18px var(--d); box-shadow: 0 16px 30px -12px rgb(21 101 192 / .55); }
.ill.on .pop { animation: popIn .7s cubic-bezier(.3, 1.5, .5, 1) 1.2s forwards; }
@keyframes popIn { to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.own { list-style: none; width: min(420px, 100%); display: grid; gap: 8px; }
.own li { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; opacity: 0; transform: translateX(-14px); }
.ill.on .own li { animation: arrive .6s var(--ease) both; } .ill.on .own li:nth-child(2) { animation-delay: .25s; } .ill.on .own li:nth-child(3) { animation-delay: .5s; }
.own span { font: 400 11px var(--m); color: var(--faint); } .own b { font-weight: 500; }
.own em { font-style: normal; font: 500 10.5px var(--m); color: var(--cobalt); }
.own em::before { content: '✓ '; }
.stars { display: flex; align-items: center; gap: 4px; margin-top: 16px; }
.stars i { width: 12px; height: 12px; background: var(--sun); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transform: scale(0); }
.ill.on .stars i { animation: starIn .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(1s + var(--s, 0) * 90ms); }
.stars i:nth-child(2) { --s: 1; } .stars i:nth-child(3) { --s: 2; } .stars i:nth-child(4) { --s: 3; } .stars i:nth-child(5) { --s: 4; }
.stars span { margin-left: 8px; font: 400 11px var(--m); color: var(--dim); }
@keyframes starIn { to { transform: scale(1); } }
.mon { width: min(480px, 100%); padding: 16px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; }
.mon-top { display: flex; align-items: center; gap: 8px; font-size: 13px; } .mon-top small { margin-left: auto; }
.mon-foot { font: 400 11px var(--m); color: var(--dim); }
.bk { list-style: none; width: min(420px, 100%); display: grid; gap: 8px; }
.bk li { display: flex; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; opacity: 0; transform: translateY(10px); }
.bk li small { margin-left: auto; font: 400 11px var(--m); color: var(--faint); }
.ill.on .bk li { animation: arrive .55s var(--ease) both; animation-delay: calc(var(--k, 0) * .22s); }
.bk li:nth-child(2) { --k: 1; } .bk li:nth-child(3) { --k: 2; } .bk li:nth-child(4) { --k: 3; }
.chat { width: min(440px, 100%); display: grid; gap: 10px; }
.chat p { max-width: 80%; padding: 11px 15px; border-radius: 16px; font-size: 14px; opacity: 0; transform: translateY(10px) scale(.96); }
.chat .me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.chat .us { justify-self: start; background: var(--bone); border-bottom-left-radius: 4px; }
.ill.on .chat .me { animation: arrive .5s var(--ease) .2s both; } .ill.on .chat .us { animation: arrive .5s var(--ease) 1.4s both; }

.fe-cta { text-align: center; margin-top: clamp(80px, 10vw, 130px); display: grid; justify-items: center; gap: 18px; }
.fe-cta h3 { font: 500 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--d); letter-spacing: -.02em; }
.fe-cta p { font-size: 13px; color: var(--dim); }
.blinks { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; }
.blinks i { position: absolute; width: 10px; height: 15px; animation: blinkCell 3.2s ease-in-out infinite; animation-delay: var(--d); opacity: 0; }
@keyframes blinkCell { 0%, 100% { opacity: 0; } 20%, 60% { opacity: 1; } }

/* showpieces */
.stories { padding: clamp(90px, 11vw, 140px) 0 40px; }
.st-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--gut); margin-bottom: 34px; }
.arrows { display: flex; gap: 6px; }
.arr { width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background-color .2s; }
.arr:hover { background: var(--bone); }
.rail { overflow: hidden; padding: 0 0 20px; cursor: grab; touch-action: pan-y; }
.rail.drag { cursor: grabbing; }
.rail-track { display: flex; gap: 18px; width: max-content; padding-left: var(--gut); will-change: transform; }
.story { flex: 0 0 clamp(220px, 23vw, 300px); opacity: 0; transform: translateX(40px); -webkit-user-drag: none; }
.stories.on .story { animation: sweep .8s var(--ease) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes sweep { to { opacity: 1; transform: none; } }
.st-img { position: relative; aspect-ratio: 291 / 471; border-radius: 4px; overflow: hidden; background: var(--bone); }
.st-img::before { content: ''; position: absolute; inset: 0; background: var(--img) center top / cover; transition: transform .8s var(--ease); }
.story:hover .st-img::before { transform: scale(1.06); }
.st-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(0 0 0 / .55)); pointer-events: none; }
.story p, .story .sub { transition: opacity .45s ease; }
.story.swap p, .story.swap .sub { opacity: 0; }
.st-note { margin-top: 10px; color: var(--dim); font-size: 15px; }
.st-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgb(11 11 12 / .68); transition: transform .3s var(--ease), background-color .3s; }
.st-play::after { content: ''; position: absolute; left: 22px; top: 18px; border: 9px solid transparent; border-left: 13px solid #fff; border-right: 0; }
.story:hover .st-play { transform: scale(1.1); background: var(--cobalt); }
.sub { position: absolute; z-index: 1; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--sun); font: 500 13px var(--f); text-shadow: 0 1px 6px rgb(0 0 0 / .6); }
.story p { margin-top: 14px; font-size: 15px; color: var(--dim); }
.story p b { color: var(--ink); font-weight: 500; }

/* numbers */
.stats { max-width: 1440px; margin: 0 auto; padding: 60px var(--gut) 40px; }
.stat { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat p { color: var(--dim); font-size: 15px; }
.odo { display: inline-flex; font: 500 clamp(3rem, 7vw, 6rem)/1 var(--d); letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow: hidden; height: 1em; }
.odo .dg { display: inline-flex; flex-direction: column; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--k) * 90ms); }
.odo .dg span { height: 1em; line-height: 1; }
@media (max-width: 640px) { .stat { grid-template-columns: 1fr; gap: 8px; } }

/* mission with the orbit */
@property --orbit { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.mission { position: relative; padding: 40px var(--gut) 110px; text-align: center; border-top: 1px solid var(--line); margin-top: 80px; }
.m-stage { position: relative; height: clamp(440px, 52vw, 700px); display: grid; place-items: center; container-type: size; }
.orbit { position: absolute; inset: 0; pointer-events: none; animation: spin 40s linear infinite; }
.orbit.inner { animation: spin-back 28s linear infinite; --rx: 30cqw; --ry: 25cqh; }
@keyframes spin-back { to { --orbit: -360deg; } }
@keyframes spin { to { --orbit: 360deg; } }
.orbit img { position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 4; object-fit: cover; --t: calc(var(--a) + var(--orbit));
  transform: translate(-50%, -50%) translate(calc(cos(var(--t)) * var(--rx, 44cqw)), calc(sin(var(--t)) * var(--ry, 40cqh))); box-shadow: 0 10px 24px -14px rgb(11 11 12 / .45); }
.mission-h { position: relative; font: 500 clamp(2.2rem, 4.8vw, 4.2rem)/1.04 var(--d); letter-spacing: -.035em; }
.mission-t { position: relative; max-width: 620px; margin: 30px auto 0; text-align: left; display: grid; gap: 18px; }
.mission-t .lead { font: 400 clamp(1.3rem, 2vw, 1.65rem)/1.35 var(--d); letter-spacing: -.015em; color: var(--dim); }
.mission-t p { color: var(--dim); }
.more { justify-self: end; font-weight: 500; }
.more span { display: inline-block; transition: transform .25s var(--ease); } .more:hover span { transform: translateX(4px); }
@media (max-width: 760px) { .orbit img { width: calc(var(--w) * .7); } }

/* footer */
.foot { position: relative; background: var(--bone); padding: 40px var(--gut) 34px; overflow: hidden; }
.fgrid { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot > :not(canvas) { position: relative; z-index: 1; }
.foot-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; padding: 36px 0 60px; }
.foot-cols div { display: grid; align-content: start; gap: 10px; font-size: 14px; color: var(--dim); }
.foot-cols h4 { font: 500 14px var(--f); color: var(--ink); margin-bottom: 6px; }
.foot-cols a:hover { color: var(--ink); }
.legal { font-size: 12px; color: var(--faint); max-width: 560px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
/* the App column (the app's policy pages): full width with two columns of links on a phone */
@media (max-width: 760px) { .foot-cols .fapp { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 30px; } .foot-cols .fapp h4 { grid-column: 1 / -1; } }

.totop { position: fixed; right: 20px; bottom: 20px; z-index: 20; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; display: flex; gap: 6px; align-items: center;
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

[data-guard] img, [data-guard] .st-img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .cas .l, .mk-card, .story, .own li, .bk li, .chat p, .quote-card, .pop { opacity: 1 !important; transform: none !important; }
  .pop { transform: translate(-50%, 0) !important; } .ann { clip-path: none; } .orbit { animation: none; } .track { animation: none; flex-wrap: wrap; }
}

/* black hole stage under the headline */
.bh-track { position: relative; z-index: 2; height: 300vh; }
.bh-stage { position: sticky; top: 76px; transform-origin: 50% 0; will-change: transform; height: calc(100vh - 92px); min-height: 460px; border-radius: 4px; overflow: hidden; background: #030304; touch-action: pan-y; cursor: grab; }
.bh-stage:active { cursor: grabbing; }
#hole, .atoms { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.atoms { pointer-events: none; }
.bh-fallback { position: absolute; inset: 0; display: none; background: radial-gradient(circle at 50% 36%, #030304 0 9%, #F2C27A 9.6%, rgb(140 90 46 / .4) 13%, transparent 22%), radial-gradient(ellipse 60% 6% at 50% 36%, rgb(255 228 180 / .8), transparent 70%); }
.bh-stage.nogl .bh-fallback { display: block; }
.bh-words { position: absolute; left: 0; right: 0; top: 66%; text-align: center; font: 600 clamp(2.6rem, 7.6vw, 8rem)/.9 var(--d); font-stretch: 75%; text-transform: uppercase; letter-spacing: -.01em;
  background: linear-gradient(180deg, #FFF4DC 0%, #F2C27A 45%, #8C5A2E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; }
.bh-stage.live .bh-words { opacity: 0; }   /* the atoms canvas draws it once it is ready */
.bh-hint { position: absolute; left: 18px; bottom: 16px; font: 400 11px var(--m); color: rgb(236 232 225 / .55); pointer-events: none; transition: opacity .4s; }
@media (max-width: 760px) { .bh-track { height: 200vh; } .bh-stage { top: 72px; height: calc(100svh - 90px); } .bh-words { top: 62%; font-size: clamp(2.6rem, 15vw, 4.4rem); line-height: .92; } }
@media (prefers-reduced-motion: reduce) { .bh-track { height: auto; } .bh-stage { position: relative; height: 80vh; } }


/* after the fall: the dark carries on full-width and fades into the page */
.bh-exit { position: relative; z-index: 1; height: 70vh; margin: -2px calc(-1 * var(--gut)) clamp(60px, 8vw, 100px); background: linear-gradient(#030304 0%, #030304 22%, #1A1A22 45%, var(--paper) 100%); }
.bh-stage.falling .bh-hint { opacity: 0; pointer-events: none; transition: opacity .3s; }
.bh-stage.falling { cursor: default; }
@media (max-width: 760px) { .bh-track { height: 260vh; } }
@media (prefers-reduced-motion: reduce) { .bh-exit { display: none; } }

body.in-hole .nav { background: rgb(3 3 4 / .82); color: #ECE8E1; border-bottom-color: transparent; }
body.in-hole .links { color: rgb(236 232 225 / .6); } body.in-hole .links a:hover { color: #fff; }
body.in-hole .nav .btn.soft { background: rgb(236 232 225 / .12); }
body.in-hole .nav .btn.ink { background: #FFFFFF; color: #0B0B0C; }
.nav, .nav .btn, .links { transition: background-color .35s ease, color .35s ease, border-color .35s; }

/* the words: small, bold, white, widely tracked */
.bh-words { top: 72%; font: 800 clamp(.95rem, 1.75vw, 1.5rem)/1.5 'Manrope', var(--f); font-stretch: normal; letter-spacing: .32em; text-transform: uppercase; color: #fff; background: none; -webkit-background-clip: border-box; background-clip: border-box; padding-left: .32em; }
@media (max-width: 760px) { .bh-words { top: 68%; font-size: clamp(.85rem, 3.9vw, 1.05rem); letter-spacing: .24em; padding: 0 12%; line-height: 1.7; } }

/* ===== the opening: a five-second black hole before the page ===== */
#intro { display: none; position: fixed; inset: 0; z-index: 100; background: #030304; overflow: hidden; cursor: default; }
html.intro-on #intro { display: block; }
html.intro-on, html.intro-on body { overflow: hidden; }
#intro #hole, #intro .atoms { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#intro .atoms { pointer-events: none; }
#intro.nogl .bh-fallback { display: block; }
#intro .bh-fallback { background: radial-gradient(circle at 50% 39%, #030304 0 9%, #EEEAE4 9.6%, rgb(200 196 190 / .4) 13%, transparent 22%), radial-gradient(ellipse 60% 6% at 50% 39%, rgb(240 236 230 / .85), transparent 70%); }
#intro.live .bh-words { opacity: 0; }
.skip-intro { position: absolute; right: 18px; bottom: 16px; height: 32px; padding: 0 14px; border-radius: 999px; font: 400 11px var(--m); color: rgb(236 232 225 / .6); border: 1px solid rgb(236 232 225 / .18); }
.skip-intro:hover { color: #fff; border-color: rgb(236 232 225 / .5); }
/* the page waits underneath, then settles in as the dark lifts */
html.intro-on .nav, html.intro-on main { transform: scale(calc(1.14 - .14 * var(--open, 0))); transform-origin: 50% 50vh; }
/* the opening iris: the page shows through a soft-edged circle at the centre of the black hole */
#intro.iris { -webkit-mask-image: radial-gradient(circle at 50% var(--hy, 50%), transparent calc(var(--r, 0) * 1vmax), #000 calc(var(--r, 0) * 1vmax + 7vmax)); mask-image: radial-gradient(circle at 50% var(--hy, 50%), transparent calc(var(--r, 0) * 1vmax), #000 calc(var(--r, 0) * 1vmax + 7vmax)); }
html.intro-on body::after { content: ''; position: fixed; inset: 0; z-index: 99; background: #030304; opacity: var(--veil, 1); pointer-events: none; }
html.intro-on .ann, html.intro-on .ann::after { animation-play-state: paused; }

/* showpieces now sit under the headline */
.stories.in-hero { position: relative; z-index: 1; margin: 0 calc(-1 * var(--gut)); padding: clamp(90px, 10vw, 130px) 0 20px; }
.replay { margin-left: 6px; font: inherit; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; } .replay:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .rail { overflow-x: auto; cursor: auto; } }
.st-img > .st-b { position: absolute; inset: 0; background: var(--img2) center / cover; opacity: 0; transition: opacity .9s ease; }
#intro .bh-words { top: 76%; }
@media (max-width: 760px) { #intro .bh-words { top: 72%; } }
/* the black hole draws the words itself, so the page copy stays hidden (it is only measured); it shows only when there is no WebGL */
#intro .bh-words { opacity: 0; }
#intro.nogl .bh-words { opacity: 1; }

/* cursor trail over the whole site */
.trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 150; }
.hgrid, .fgrid { display: none; }
html.intro-on .trail { display: none; }

/* widescreen bars for the opening shot */
#intro::before, #intro::after { content: ''; position: absolute; left: 0; right: 0; height: calc(11vh * var(--lb, 0)); background: #000; z-index: 3; pointer-events: none; }
#intro::before { top: 0; } #intro::after { bottom: 0; }
#intro .skip-intro { z-index: 4; }
/* the sound switch: same chip as skip, bottom left; clicking it never skips the intro */
.sound-intro { position: absolute; left: 18px; bottom: 16px; z-index: 4; height: 32px; padding: 0 14px 0 30px; border-radius: 999px; font: 400 11px var(--m); color: rgb(236 232 225 / .6); border: 1px solid rgb(236 232 225 / .18); }
.sound-intro::before { content: ''; position: absolute; left: 13px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: rgb(236 232 225 / .6); box-shadow: 0 0 0 0 rgb(236 232 225 / .4); animation: snd 1.6s ease-out infinite; }
.sound-intro:hover { color: #fff; border-color: rgb(236 232 225 / .5); }
.sound-intro[hidden] { display: none; }
@keyframes snd { to { box-shadow: 0 0 0 8px rgb(236 232 225 / 0); } }
@media (max-width: 760px) { #intro::before, #intro::after { height: calc(7vh * var(--lb, 0)); } }

/* product rows on their own: words on the left, the working mock-up on the right */
.duo.single { grid-template-columns: 1fr; }
.duo.single .prod { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.duo.single .prod-head { flex-direction: column; align-items: flex-start; gap: 22px; margin: 0; }
.duo.single .prod-head p { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.15; }
.duo.single .mock { height: clamp(320px, 32vw, 420px); }
.care-row { margin-top: clamp(30px, 5vw, 70px); padding-bottom: 20px; }
.duo.single.care-row .prod { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); }
.care-row .prod-head { order: 2; }
@media (max-width: 900px) { .duo.single .prod, .duo.single.care-row .prod { grid-template-columns: 1fr; } .care-row .prod-head { order: 0; } }

/* ===== Premium page ===== */
.pmain { padding: 0 var(--gut) 40px; }
/* premium opening, the same as the other pages: a mono line, then one huge lowercase headline with a cobalt phrase */
.ph { margin: 0 calc(20px - var(--gut)); padding: 30px 0 clamp(50px, 7vw, 90px); }
.ph-top { display: flex; justify-content: space-between; gap: 20px; font: 400 12px/1.5 var(--m); }
.ph-top .dim { color: var(--dim); }
.ph-h { font: 500 clamp(3rem, 9vw, 8.6rem)/.92 var(--f); letter-spacing: -.05em; margin-top: 50px; }
.ph-h em { font-style: normal; color: var(--cobalt); }
.ph-row { display: grid; grid-template-columns: 1fr minmax(0, 34ch); gap: 20px 40px; align-items: end; margin-top: 40px; }
.ph-row .chips { margin-top: 0; justify-self: start; grid-row: 1; }
.ph-t { font-size: 15px; color: var(--dim); grid-column: 2; }
.chips button { white-space: nowrap; }
@media (max-width: 760px) { .ph-row .chips { max-width: 100%; overflow-x: auto; } .chips button { padding: 0 13px; } .ph-top .dim { display: none; } .ph-row { grid-template-columns: 1fr; } .ph-t { grid-column: 1; } .ph-row .chips { grid-row: 2; } }
html.p-ready .ph > * { animation: phIn .9s var(--ease) both; }
html.p-ready .ph > :nth-child(2) { animation-delay: .08s; } html.p-ready .ph > :nth-child(3) { animation-delay: .18s; }
@keyframes phIn { from { opacity: 0; transform: translateY(18px); } }
.chips { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--bone-2); }
.chips button { height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; color: var(--dim); transition: background-color .25s, color .25s; }
.chips button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgb(11 11 12 / .1); }
.pgrid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 20px; }
.pcard { display: block; opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); scroll-margin-top: 90px; }
.pcard.in { opacity: 1; transform: none; }
.pcard[hidden] { display: none; }
.pcard .st-img::before { content: ''; position: absolute; inset: 0; background: var(--img) center top / cover; transition: transform .8s var(--ease); }
.pcard:hover .st-img::before { transform: scale(1.05); }
.pcard:hover .st-play { transform: scale(1.1); background: var(--cobalt); }
.pcard p { margin-top: 14px; font-size: 15px; color: var(--dim); }
.pcard p b { color: var(--ink); font-weight: 500; }
.pcard.lit .st-img { animation: lit 2.2s var(--ease); }
@keyframes lit { 0%, 100% { box-shadow: 0 0 0 0 rgb(33 150 243 / 0); } 15%, 60% { box-shadow: 0 0 0 4px #2196F3, 0 20px 40px -18px rgb(33 150 243 / .7); } }
.pcta { text-align: center; padding: clamp(90px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); display: grid; justify-items: center; gap: 16px; }
.pcta h2 { font: 500 clamp(1.8rem, 3.4vw, 3rem)/1.05 var(--d); letter-spacing: -.035em; }
.pcta p { color: var(--dim); }
@media (prefers-reduced-motion: reduce) { .pcard { opacity: 1; transform: none; } }

/* locked showpieces: a small "free ID" pill on the picture */
.pcard .st-img .lock { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: rgb(11 11 12 / .78); color: #fff; font: 500 12px/1 'Geist', system-ui, sans-serif; letter-spacing: 0; pointer-events: none; }
.pcard .st-img .lock svg { width: 12px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.pcard .st-img .lock svg path { fill: none; }

/* seven header links: a little tighter until the window is wide */
@media (max-width: 1180px) { .links { gap: 18px; font-size: 14px; } }
@media (min-width: 901px) and (max-width: 1100px) { .links { gap: 12px; font-size: 13.5px; margin-right: 16px; } .acts .btn { padding-inline: 14px; } }
/* premium: the next page, like the other pages' "next" link */
.pnext { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 0 var(--gut); padding: 34px 0 70px; border-top: 1px solid var(--ink); }
.pnext span { font-size: 14px; color: var(--dim); }
.pnext a { font: 600 clamp(2rem, 6vw, 5rem)/1 var(--d); letter-spacing: -.045em; color: var(--ink); transition: color .25s; }
.pnext a:hover { color: var(--cobalt, #1565C0); }
.pnext a i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.pnext a:hover i { transform: translateX(8px); }
/* eight header links: the middle column takes the free space, and the links tighten on laptops */
@media (min-width: 901px) { .nav { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; } .links { justify-content: center; } }
@media (min-width: 901px) and (max-width: 1360px) { .links { gap: 16px; font-size: 14px; margin-right: 0; } }
@media (min-width: 901px) and (max-width: 1140px) { .links { gap: 11px; font-size: 13px; } .nav { gap: 14px; } .acts .btn { padding-inline: 12px; font-size: 13px; } }

/* Tivlolab Web brand in every top bar: the TivloLab dot mark in black, then the name, larger than the menu words (user, 2026-10-19) */
header .brand, header.jnav .jbrand, .tlx-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px !important; color: #0B0B0C !important; }
header .brand::before, header.jnav .jbrand::before, .tlx-brand::before, .mnu-top b::before, .tlx-sheet-top b::before { content: '' !important; display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-63 -63 126 126'%3E%3Cg fill='%230B0B0C'%3E%3Ccircle cx='-16.1' cy='-16.1' r='11'/%3E%3Ccircle cx='-43.5' cy='-43.5' r='6.1'/%3E%3Ccircle cx='-14.5' cy='-43.5' r='6.1'/%3E%3Ccircle cx='-43.5' cy='-14.5' r='6.1'/%3E%3Ccircle cx='-14.5' cy='-59.6' r='2.75'/%3E%3Ccircle cx='-59.6' cy='-14.5' r='2.75'/%3E%3Ccircle cx='-16.1' cy='16.1' r='11'/%3E%3Ccircle cx='-43.5' cy='43.5' r='6.1'/%3E%3Ccircle cx='-14.5' cy='43.5' r='6.1'/%3E%3Ccircle cx='-43.5' cy='14.5' r='6.1'/%3E%3Ccircle cx='-14.5' cy='59.6' r='2.75'/%3E%3Ccircle cx='-59.6' cy='14.5' r='2.75'/%3E%3Ccircle cx='16.1' cy='-16.1' r='11'/%3E%3Ccircle cx='43.5' cy='-43.5' r='6.1'/%3E%3Ccircle cx='14.5' cy='-43.5' r='6.1'/%3E%3Ccircle cx='43.5' cy='-14.5' r='6.1'/%3E%3Ccircle cx='14.5' cy='-59.6' r='2.75'/%3E%3Ccircle cx='59.6' cy='-14.5' r='2.75'/%3E%3Ccircle cx='16.1' cy='16.1' r='11'/%3E%3Ccircle cx='43.5' cy='43.5' r='6.1'/%3E%3Ccircle cx='14.5' cy='43.5' r='6.1'/%3E%3Ccircle cx='43.5' cy='14.5' r='6.1'/%3E%3Ccircle cx='14.5' cy='59.6' r='2.75'/%3E%3Ccircle cx='59.6' cy='14.5' r='2.75'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.mnu-top b, .tlx-sheet-top b { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; color: #0B0B0C; }
@media (max-width: 900px) { header .brand, header.jnav .jbrand, .tlx-brand { font-size: 20px !important; gap: 9px; } }

/* the intro plays without sound (user, 2026-10-19): the sound button is gone */
.sound-intro { display: none !important; }

/* phones: the header buttons start as the menu script leaves them, so nothing shrinks while the page loads */
@media (max-width: 900px) { header.nav .acts .btn.ink, header.jnav .jbtn.ink { display: none !important; } }

/* premium grid: cards further down are not drawn (and their pictures not fetched) until they come near the screen */
.pcard:nth-child(n+6) { content-visibility: auto; contain-intrinsic-size: auto 560px; }

/* phones: the intro is a 5-second video of the same shot (public/n/intro-phone.mp4); the page fades in out of the dark */
html.intro-video #intro { display: block; transition: opacity .7s ease; }
html.intro-video, html.intro-video body { overflow: hidden; }
html.intro-video #intro #hole, html.intro-video #intro .atoms, html.intro-video #intro .bh-words, html.intro-video #intro .bh-fallback { display: none; }
#intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.intro-video #intro.out { opacity: 0; pointer-events: none; }

/* premium cards on phones and tablets are drawn at up to 1,074 device pixels wide: the full-size capture, not the laptop one */
@media (min-width: 601px) and (max-width: 900px), (min-width: 901px) and (min-resolution: 2.5dppx) { .st-img::before, .pcard .st-img::before { background-image: var(--imghd, var(--img)); } }   /* tablets and very dense screens: the full-size capture; phones show two cards a row, where the 640 px one is sharp */

/* "Live site ↗" in the corner of every showpiece card (replaces the play button; user, 2026-10-19) */
.st-play { display: none; }
.st-live, .fsq-live { position: absolute; z-index: 3; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px 0 11px; border-radius: 999px; background: rgb(255 255 255 / .94); color: #0B0B0C; font: 500 12px/1 'Geist', system-ui, sans-serif; letter-spacing: 0; white-space: nowrap; box-shadow: 0 1px 2px rgb(0 0 0 / .18); transition: background-color .25s, color .25s; }
.st-live svg, .fsq-live svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pcard:hover .st-live, .story:hover .st-live, .fsq:hover .fsq-live { background: var(--cobalt, #1565C0); color: #fff; }
/* phones: two cards a row, so the pictures are drawn at a size they are sharp at */
@media (max-width: 600px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .pcard p { margin-top: 10px; font-size: 13px; line-height: 1.45; }
  .pcard .st-img .sub { font-size: 11px; }
  .pcard .st-img .lock { left: 7px; top: 7px; height: 22px; padding: 0 8px 0 7px; font-size: 11px; }
  .st-live, .fsq-live { right: 7px; top: 7px; height: 22px; padding: 0 7px 0 9px; font-size: 11px; gap: 4px; }
  .st-live svg, .fsq-live svg { width: 10px; height: 10px; }
  .pcard:nth-child(n+6) { contain-intrinsic-size: auto 380px; }
}

/* accessibility pass (2026-10-20): 12 px minimum, 44 pt touch targets on phones, comfortable line length */
.pol p, .pol li, details p { max-width: 70ch; }
@media (max-width: 900px) {
  .btn, .chips button, .ann { height: 44px; }
  header.nav .brand, footer .brand, .foot-cols a, .mission .more, .replay { min-height: 44px; display: inline-flex; align-items: center; }
  .mnu-btn { height: 44px !important; }
}
@media (max-width: 600px) {
  .pcard .st-img .sub, .pcard .st-img .lock, .st-live, .fsq-live { font-size: 12px; }
  .pcard .st-img .lock, .st-live, .fsq-live { height: 24px; }
}
@media (max-width: 900px) { .pnext a, .seg button { min-height: 44px; display: inline-flex; align-items: center; } .mj-field input, .mj-form input, .mj-form select { font-size: 16px !important; min-height: 44px; } }

/* Premium page: pure white behind the showpiece cards (user's choice, 2026-10-21; the rest of the site stays paper) */
.pmain { background: #FFFFFF; }
.pmain .pgrid { background: #FFFFFF; padding-top: 56px; padding-bottom: 72px; }
.pmain .pcard .st-img { box-shadow: 0 18px 44px rgba(11, 11, 12, .14), 0 0 0 1px rgba(11, 11, 12, .06); }
.pmain .pcard:hover .st-img, .pmain .pcard:focus-visible .st-img { box-shadow: 0 24px 60px rgba(11, 11, 12, .2), 0 0 0 1px rgba(30, 63, 174, .5); }
