/* ==========================================================================
   NickShana — svc.css: the service pages
   Loaded after site.css, which gives the tokens, type, header, menu, cursor,
   links and the gold WhatsApp button. Each page has one showpiece at the top,
   pinned while the scroll plays it (.px: shared parts; .wx, .vx ...: its own).
   ========================================================================== */
.svc { background: var(--night); }
.svc .corner-cta { white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; font-size: .86rem; color: var(--dim-d); }
.crumbs a { text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--cream); }
.svc h2 { font: 400 clamp(2.4rem, 5.2vw, 5.6rem)/.96 var(--f-disp); letter-spacing: -.028em; }

/* ---------------------------------------------------------------- shared: a pinned showpiece played by the scroll */
.wx-pin, .px-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wx-stage, .px-stage { position: absolute; inset: 0; isolation: isolate; background: #000; }
.wx-shade, .px-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 24%, rgba(0, 0, 0, 0) 42%), linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 26%); }
.wx-copy, .px-copy { position: absolute; z-index: 3; left: var(--gut); top: calc(var(--top) + clamp(96px, 15vh, 150px)); width: min(33vw, 540px); display: grid; gap: clamp(14px, 2.2vh, 24px); }
.wx-copy h1, .px-copy h1 { font: 400 clamp(2.4rem, 4.3vw, 4.9rem)/.95 var(--f-disp); letter-spacing: -.03em; }
.wx-copy .lead, .px-copy .lead { color: var(--dim-d); font-size: clamp(.98rem, 1.08vw, 1.12rem); max-width: 40ch; }
.wx-try, .px-try { display: grid; gap: 6px; max-width: 360px; }
.wx-try > span:first-child, .px-try > span:first-child { font-size: .82rem; color: var(--dim-d); }
.wx-try-f, .px-try-f { display: flex; border-bottom: 1px solid rgba(233, 184, 114, .45); transition: border-color .3s; }
.wx-try-f:focus-within, .px-try-f:focus-within { border-color: #E9B872; }
.wx-try input, .px-try input { flex: 1; min-width: 0; padding: 4px 0 7px; background: none; border: 0; font: 400 clamp(1.4rem, 1.7vw, 1.8rem)/1.1 var(--f-disp); letter-spacing: .04em; text-transform: uppercase; outline: none; caret-color: #E9B872; }
.wx-dock, .px-dock { position: absolute; z-index: 3; left: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(30px, 6vh, 64px)); width: min(36vw, 560px); display: grid; gap: clamp(22px, 3.4vh, 34px); }
.wx-steps, .px-steps { position: relative; height: 6.6em; }
.wx-steps li, .px-steps li { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; opacity: 0; }
.wx-steps b, .px-steps b { font: 400 clamp(1.5rem, 2.2vw, 2.4rem)/1.04 var(--f-disp); letter-spacing: -.02em; background: linear-gradient(180deg, #FFF8EC 12%, #F0CB93 58%, #BE813D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wx-steps span, .px-steps span { color: var(--dim-d); font-size: .95rem; max-width: 44ch; }
/* progress: a gold ring of arcs, one per step, the step number in it (built by svc.js) */
.px-row { display: flex; align-items: flex-end; gap: clamp(14px, 1.6vw, 22px); }
.px-row > ol { flex: 1; min-width: 0; }
.px-dial { flex: none; width: clamp(64px, 5.4vw, 84px); height: auto; overflow: visible; margin-bottom: .1em; }
.px-dial .tr { fill: none; stroke: rgba(244, 239, 228, .24); stroke-width: 3; stroke-linecap: round; }
.px-dial .fl { fill: none; stroke: #F0C47F; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(255, 200, 120, .55)); }
.px-dial .cm { fill: #FFF3DC; }
.px-dial .halo { fill: rgba(255, 205, 140, .32); transform-box: fill-box; transform-origin: center; }
.px-dial text { font: 400 25px/1 var(--f-disp); fill: #F3C98B; text-anchor: middle; dominant-baseline: central; }
/* what comes next: says it, and nudges when the visitor stops */
.px-next { position: absolute; z-index: 4; right: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(30px, 6vh, 64px)); display: flex; align-items: center; gap: 14px; padding: 6px 6px 6px 0; color: var(--cream); font: 600 clamp(.95rem, 1vw, 1.05rem)/1.2 var(--f-text); text-align: right; text-shadow: 0 1px 14px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .6); transition: color .5s var(--ease); }
.px-next:hover, .px-idle .px-next, .px-start .px-next { color: #FFE2B0; }
.px-chev { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 8, 5, .5); box-shadow: inset 0 0 0 1.5px rgba(233, 184, 114, .75), 0 0 22px -6px rgba(233, 184, 114, .7); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.px-next:hover .px-chev { transform: translateY(2px); box-shadow: inset 0 0 0 1.5px #FFE2B0, 0 0 28px -4px rgba(233, 184, 114, .9); }
.px-chev b { position: absolute; left: 50%; top: 13px; width: 10px; height: 10px; margin-left: -5px; border-right: 2px solid #FFE2B0; border-bottom: 2px solid #FFE2B0; transform: rotate(45deg); }
.px-chev b + b { top: 19px; opacity: .45; }
.px-start .px-chev b, .px-idle .px-chev b { animation: pxChev 1.5s var(--ease) infinite; }
.px-start .px-chev b + b, .px-idle .px-chev b + b { animation-delay: .15s; }
.px-start .px-dial .halo, .px-idle .px-dial .halo { animation: pxHalo 1.5s ease-in-out infinite; }
.px-last .px-next { opacity: .7; }
@keyframes pxChev { 0% { opacity: 0; transform: translateY(-6px) rotate(45deg); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px) rotate(45deg); } }
@keyframes pxHalo { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(2.1); opacity: .25; } }
.wx-hint, .px-hint { position: absolute; z-index: 3; right: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(28px, 6vh, 64px)); font-size: .85rem; color: var(--dim-d); display: flex; align-items: center; gap: 10px; }
.wx-hint::before, .px-hint::before { content: ""; width: 1px; height: 34px; background: linear-gradient(180deg, transparent, #E9B872); animation: wxHint 1.8s var(--ease) infinite; }
@keyframes wxHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.px-watch { justify-self: start; }

/* ---------------------------------------------------------------- Websites: a site builds itself inside a laptop and a phone */
.wx { position: relative; height: 620vh; background: #000; }
.wx-film { position: absolute; left: 0; top: 0; mix-blend-mode: screen; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.ready-film .wx-film { opacity: 1; }
.wx-scr { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; backface-visibility: hidden; }
.wx-l { width: 1440px; height: 900px; }
.wx-p { width: 390px; height: 844px; border-radius: 54px; }

/* the site that lives in the screens: a dark perfume shop for the visitor's brand */
.ms { position: relative; width: 100%; height: 100%; overflow: hidden; color: #F2EADB; font-family: var(--f-text); background: radial-gradient(80% 90% at 70% 30%, #2a1d10, #0c0907 70%); }
.ms img { width: 100%; height: 100%; object-fit: cover; }
.ms-nav { display: flex; align-items: center; justify-content: space-between; }
.ms-brand { font: 400 1em/1 var(--f-disp); letter-spacing: .16em; }
.ms-bag { font-style: normal; }
.ms-btn { display: inline-flex; position: relative; overflow: hidden; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; color: #1C1307; background: linear-gradient(180deg, #FBEBCD, #E4B575); }
.ms-copy small { letter-spacing: .2em; text-transform: uppercase; color: #E9B872; font-weight: 600; }
.ms-copy h4 { font: 400 1em/1 var(--f-disp); letter-spacing: -.01em; }
.ms-shot { position: relative; overflow: hidden; }
.ms-lab { position: absolute; font: 400 1em/1 var(--f-disp); letter-spacing: .14em; color: #A88552; white-space: nowrap; transform: translate(-50%, -50%); text-shadow: 0 0 1px rgba(0, 0, 0, .5); }
.ms-wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ms-wire * { fill: none; stroke: #E9B872; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ms-d { font-size: 18px; }
.ms-d .ms-nav { height: 104px; padding: 0 56px; font-size: 17px; border-bottom: 1px solid rgba(242, 234, 219, .12); }
.ms-d .ms-brand { font-size: 30px; }
.ms-d .ms-links { display: flex; gap: 44px; color: rgba(242, 234, 219, .75); }
.ms-d .ms-links i { font-style: normal; }
.ms-d .ms-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 46px 90px 0 96px; height: 560px; align-items: center; }
.ms-d .ms-copy { display: grid; gap: 22px; }
.ms-d .ms-copy small { font-size: 15px; }
.ms-d .ms-copy h4 { font-size: 92px; }
.ms-d .ms-copy p { font-size: 21px; color: rgba(242, 234, 219, .7); max-width: 26ch; }
.ms-d .ms-btn { justify-self: start; padding: 20px 40px; font-size: 18px; }
.ms-d .ms-shot { height: 470px; border-radius: 6px; }
.ms-d .ms-shot .ms-lab { left: 49.7%; top: 64.2%; font-size: 19px; }
.ms-d .ms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 22px 56px 0; }
.ms-d .ms-row figure { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: end; height: 190px; padding: 14px; border-radius: 8px; background: rgba(242, 234, 219, .05); }
.ms-d .ms-row img { grid-row: 1 / span 2; height: 162px; border-radius: 4px; }
.ms-d .ms-row b { font: 400 25px/1.1 var(--f-disp); align-self: end; }
.ms-d .ms-row small { font-size: 15px; color: rgba(242, 234, 219, .6); align-self: start; padding-top: 6px; }
/* a search page: the brand on top */
.ms-serp { position: absolute; inset: 0; background: #17150f; opacity: 0; font-size: 18px; }
.ms-serp-bar { display: flex; align-items: center; gap: 30px; height: 120px; padding: 0 70px; border-bottom: 1px solid rgba(242, 234, 219, .1); }
.ms-serp-bar svg { width: 34px; height: 34px; flex: none; stroke: rgba(242, 234, 219, .8); fill: none; stroke-width: 1.8; }
.ms-q { flex: 1; max-width: 760px; height: 62px; display: flex; align-items: center; padding: 0 28px; border-radius: 31px; background: #2a2620; font-size: 22px; }
.ms-caret { width: 2px; height: 26px; margin-left: 3px; background: #E9B872; animation: msBlink 1s steps(1) infinite; }
@keyframes msBlink { 50% { opacity: 0; } }
.ms-serp ol { display: grid; gap: 44px; padding: 48px 70px 0 168px; max-width: 1160px; }
.ms-serp li { display: grid; gap: 10px; }
.ms-site { display: flex; align-items: center; gap: 14px; }
.ms-site b { display: block; font-weight: 500; font-size: 17px; }
.ms-site small { font-size: 15px; color: rgba(242, 234, 219, .55); }
.ms-fav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 400 19px/1 var(--f-disp); font-style: normal; color: #1C1307; background: linear-gradient(180deg, #FBEBCD, #E4B575); }
.ms-fav.dim { background: rgba(242, 234, 219, .14); }
.ms-serp strong { font: 400 31px/1.2 var(--f-text); color: #F3C98B; }
.ms-serp li:not(.ms-top) strong { color: rgba(242, 234, 219, .55); font-size: 26px; }
.ms-serp p { color: rgba(242, 234, 219, .65); font-size: 19px; max-width: 64ch; }
.ms-serp li:not(.ms-top) { opacity: .5; }
.ms-top { position: relative; }
.ms-top::before { content: ""; position: absolute; inset: -20px -26px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(233, 184, 114, .55); opacity: var(--hl, 0); }
/* the phone */
.ms-m { font-size: 16px; display: grid; grid-template-rows: 54px 64px 400px auto; }
.ms-status { display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 38px; font-size: 16px; }
.ms-status i { width: 26px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(242, 234, 219, .7); }
.ms-m .ms-nav { padding: 0 24px; border-bottom: 1px solid rgba(242, 234, 219, .1); }
.ms-m .ms-brand { font-size: 22px; }
.ms-m .ms-shot { margin: 16px 18px 0; border-radius: 16px; }
.ms-m .ms-shot .ms-lab { left: 49.5%; top: 64.9%; font-size: 17px; }
.ms-m .ms-copy { display: grid; gap: 10px; padding: 22px 24px 0; }
.ms-m .ms-copy small { font-size: 12px; }
.ms-m .ms-copy h4 { font-size: 46px; }
.ms-m .ms-copy p { font-size: 16px; color: rgba(242, 234, 219, .7); }
.ms-m .ms-btn { margin-top: 10px; height: 56px; font-size: 17px; border-radius: 14px; }
.ms-tap { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: rgba(255, 255, 255, .8); transform: scale(0); opacity: 0; }
.ms-note { position: absolute; left: 12px; right: 12px; top: 12px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 22px; background: rgba(40, 33, 25, .92); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(242, 234, 219, .1); transform: translateY(-140%); }
.ms-note-ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, #F6DDAF, #C98E46); }
.ms-note b { display: block; font-size: 16px; }
.ms-note span { font-size: 14px; color: rgba(242, 234, 219, .7); }
.ms-note small { font-size: 13px; color: rgba(242, 234, 219, .55); align-self: start; }

/* ---------------------------------------------------------------- AI video ads: the film, and how it was made, played by the scroll */
.vx { position: relative; height: 700vh; background: #000; }
.vx-film { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.ready-film .vx-film { opacity: 1; }
.vx .px-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 26%, rgba(0, 0, 0, 0) 44%), linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 28%); transition: opacity .8s var(--ease); }
.vx.vx-edit .px-shade { opacity: .55; }
.vx-note { position: absolute; z-index: 3; right: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(96px, 14vh, 150px)); max-width: 32ch; display: grid; gap: 6px; text-align: right; pointer-events: none; }
.vx-note-t { font: 400 clamp(1.15rem, 1.5vw, 1.5rem)/1.1 var(--f-disp); color: #F3C98B; }
.vx-note-s { font-size: .9rem; color: var(--dim-d); }
/* the edit: a timeline under the viewer, its playhead on the film */
.vx-tl { position: absolute; z-index: 3; left: 0; top: 0; display: grid; grid-template-rows: auto 1fr; gap: 10px; opacity: 0; pointer-events: none; }
.vx-tc { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .82rem; color: var(--dim-d); }
.vx-tc b { font: 500 1.05rem/1 var(--f-text); color: var(--cream); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.vx-tracks { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; min-height: 0; }
.vx-lab { display: grid; grid-template-rows: 1.5fr 1fr .8fr; gap: 6px; font-size: .74rem; color: var(--dim-d); }
.vx-lab i { font-style: normal; align-self: center; }
.vx-lanes { position: relative; display: grid; grid-template-rows: 1.5fr 1fr .8fr; gap: 6px; min-height: 0; }
.vx-clips { display: flex; gap: 3px; min-height: 0; }
.vx-clips span { position: relative; flex: 1 1 0; min-width: 0; border-radius: 5px; overflow: hidden; background: #1a1612; box-shadow: inset 0 0 0 1px rgba(233, 184, 114, .2); transition: box-shadow .4s; }
.vx-clips img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .4s; }
.vx-clips b { position: absolute; left: 8px; bottom: 6px; font-size: .72rem; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); white-space: nowrap; }
.vx-clips .cur { box-shadow: inset 0 0 0 1.5px #E9B872; }
.vx-clips .cur img { opacity: .95; }
.vx-wave { display: flex; align-items: center; gap: 2px; padding: 0 4px; border-radius: 5px; background: rgba(242, 234, 219, .04); min-height: 0; }
.vx-wave i { flex: 1 1 0; height: var(--h); min-height: 2px; border-radius: 1px; background: rgba(242, 234, 219, .22); }
.vx-wave i.on { background: #E9B872; }
.vx-sfx { position: relative; border-radius: 5px; background: rgba(242, 234, 219, .03); }
.vx-sfx span { position: absolute; top: 18%; bottom: 18%; left: var(--x); width: var(--w); padding: 0 6px; display: flex; align-items: center; border-radius: 4px; font-size: .68rem; white-space: nowrap; overflow: hidden; color: #1C1307; background: linear-gradient(180deg, #F6DDAF, #D9A462); }
.vx-ph { position: absolute; top: -6px; bottom: -4px; left: 0; width: 2px; margin-left: -1px; background: #FFE9C4; box-shadow: 0 0 12px rgba(255, 220, 160, .8); }
.vx-ph::before { content: ""; position: absolute; left: -5px; top: -6px; width: 12px; height: 8px; border-radius: 2px; background: #FFE9C4; }
/* the grade: a gold line wipes the flat colour away */
.vx-wipe { position: absolute; z-index: 3; left: 0; top: 0; width: 2px; margin-left: -1px; height: 100%; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 226, 176, 0), #FFE2B0 14%, #BE813D 86%, rgba(190, 129, 61, 0)); box-shadow: 0 0 18px rgba(255, 210, 150, .6); }
.vx-wipe span { position: absolute; top: 18%; font: 400 clamp(1rem, 1.3vw, 1.3rem)/1 var(--f-disp); white-space: nowrap; color: var(--cream); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.vx-wipe span:first-child { right: 16px; }
.vx-wipe span:last-child { left: 16px; color: rgba(244, 239, 228, .7); }
/* delivery: the formats, named under each */
.vx-fmt { position: absolute; z-index: 3; left: 0; top: 0; opacity: 0; font-size: .86rem; color: var(--dim-d); pointer-events: none; }
.vx-fmt b { display: block; font: 400 1.25rem/1.1 var(--f-disp); color: var(--cream); margin-bottom: 2px; }

/* ---------------------------------------------------------------- Ads and growth: an audience as gold dust, six versions of an ad, a sales curve */
.gx { position: relative; height: 660vh; background: #000; }
.gx-dust { position: absolute; left: 0; top: 0; }
.gx .px-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 60% 50%, rgba(80, 52, 22, .22), rgba(0, 0, 0, 0) 70%); pointer-events: none; }
.gx-ad { position: absolute; z-index: 2; margin: 0; border-radius: 10px; overflow: hidden; background: #14110d; opacity: 0; box-shadow: 0 0 0 1px rgba(233, 184, 114, .18), 0 30px 60px -30px rgba(0, 0, 0, .9); transition: box-shadow .6s var(--ease); }
.gx-ad img { width: 100%; height: 100%; object-fit: cover; }
.gx-ad::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 45%); }
.gx-ad figcaption { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 16px; font-size: .78rem; font-weight: 600; line-height: 1.2; }
.gx-m { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 9px; height: 2px; border-radius: 1px; background: rgba(244, 239, 228, .18); overflow: hidden; }
.gx-m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #BE813D, #FFE2B0); transform-origin: left; transform: scaleX(var(--m, 0)); }
.gx-ad.won { box-shadow: 0 0 0 1.5px #E9B872, 0 0 46px -8px rgba(233, 184, 114, .6), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.gx-o { position: absolute; z-index: 2; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FFE2B0; box-shadow: 0 0 14px 3px rgba(255, 200, 120, .6); opacity: 0; transform: scale(.2); transition: transform .6s var(--ease); }
.gx-o.on { transform: none; }
.gx-o[data-label]::after { content: attr(data-label); position: absolute; left: 18px; top: -5px; white-space: nowrap; font-size: .82rem; font-weight: 600; color: var(--cream); }
.gx-rep { position: absolute; z-index: 3; opacity: 0; display: grid; gap: 14px; align-content: start; padding: clamp(18px, 2vw, 28px); border-radius: 14px; background: rgba(18, 15, 11, .94); box-shadow: inset 0 0 0 1px rgba(233, 184, 114, .25), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.gx-rep-h { font: 400 clamp(1.3rem, 1.8vw, 1.9rem)/1.1 var(--f-disp); }
.gx-rep dl { display: grid; gap: 12px; margin: 0; }
.gx-rep dl div { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid var(--line-d); }
.gx-rep dt { font-weight: 600; }
.gx-rep dd { margin: 0; color: var(--dim-d); font-size: .92rem; }
.gx-flat .gx-dust { background: radial-gradient(60% 50% at 30% 50%, rgba(233, 184, 114, .18), rgba(0, 0, 0, 0)); }

/* ---------------------------------------------------------------- Social media: a month of content for the visitor's brand */
.sox { position: relative; height: 700vh; background: #000; }
.sox .px-stage { background: radial-gradient(90% 70% at 72% 45%, #1a140c, #000 72%); }
.sox .px-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .3) 30%, rgba(0, 0, 0, 0) 42%), linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 26%); }
.so-cal { position: absolute; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; }
.so-mon { font: 400 clamp(1.5rem, 2.2vw, 2.4rem)/1 var(--f-disp); }
.so-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: .74rem; color: var(--dim-d); }
.so-wk i { font-style: normal; padding-left: 8px; }
.so-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); min-height: 0; }
.so-day { position: relative; padding: 6px 8px; font-size: .74rem; color: var(--dim-d); border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.so-day b { font-weight: 500; color: var(--cream); }
.so-day span { position: absolute; right: 8px; top: 6px; font-size: .66rem; color: #E9B872; }
.so-day.off { background: rgba(244, 239, 228, .025); }
.so-posts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.so-p { position: absolute; left: 0; top: 0; width: 400px; height: 500px; transform-origin: 0 0; opacity: 0; will-change: transform, opacity; }
.so-guide { position: absolute; z-index: 4; left: 0; top: 0; width: 400px; height: 500px; transform-origin: 0 0; opacity: 0; overflow: visible; pointer-events: none; }
.so-guide * { fill: none; stroke: #FFD9A0; stroke-width: 1.2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.so-kit { position: absolute; z-index: 4; display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; opacity: 0; }
.so-kit > span { display: flex; align-items: center; gap: 10px; }
.so-kit small { font-size: .82rem; color: var(--dim-d); }
.so-type b { font: 400 2rem/1 var(--f-disp); color: #F3C98B; }
.so-sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .25); }
.so-sw i + i { margin-left: -14px; }
.so-gr i { width: 26px; height: 32px; border: 1px dashed #FFD9A0; border-radius: 3px; }
.so-lab { position: absolute; z-index: 4; opacity: 0; font: 400 1.15rem/1 var(--f-disp); color: var(--cream); }
/* the posts: designed at 400 x 500 and scaled to wherever they are */
.so-post { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: #0f0c08; color: #F4EFE4; font-family: var(--f-text); backface-visibility: hidden; }
.so-post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-photo::after, .sp-reel::after, .sp-car::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 6, 4, .86), rgba(8, 6, 4, 0) 52%), linear-gradient(180deg, rgba(8, 6, 4, .55), rgba(8, 6, 4, 0) 24%); }
.sp-b { position: absolute; z-index: 2; left: 28px; top: 28px; font: 400 19px/1 var(--f-disp); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.sp-bc { left: 0; right: 0; top: auto; bottom: 32px; text-align: center; }
.sp-h { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 30px; font: 400 50px/.98 var(--f-disp); letter-spacing: -.02em; }
.sp-sm { font-size: 34px; }
.sp-play { position: absolute; z-index: 2; left: 50%; top: 44%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: rgba(10, 8, 5, .3); box-shadow: inset 0 0 0 2px rgba(244, 239, 228, .9); }
.sp-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 24px solid #F4EFE4; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.sp-n { position: absolute; z-index: 2; right: 28px; top: 28px; font-size: 17px; font-weight: 600; }
.sp-arr { position: absolute; z-index: 2; right: 28px; top: 74px; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #E9B872; }
.sp-arr::after { content: ""; position: absolute; left: 15px; top: 15px; width: 11px; height: 11px; border-top: 2px solid #E9B872; border-right: 2px solid #E9B872; transform: rotate(45deg); }
.sp-car .sp-h { right: 40px; }
.sp-quote { background: radial-gradient(120% 90% at 30% 20%, #2c2013, #0b0906 70%); }
.sp-rule { position: absolute; left: 34px; top: 84px; width: 64px; height: 2px; background: #E9B872; }
.sp-q { position: absolute; left: 34px; right: 34px; top: 106px; font: 400 52px/1.02 var(--f-disp); letter-spacing: -.015em; }
.sp-notes, .sp-lang { background: #EFE6D6; color: #1A130B; }
.sp-t { position: absolute; left: 28px; right: 28px; top: 96px; font: 400 46px/1 var(--f-disp); letter-spacing: -.02em; }
.sp-notes dl { position: absolute; left: 28px; right: 28px; bottom: 32px; display: grid; gap: 14px; margin: 0; }
.sp-notes dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1.5px solid rgba(26, 19, 11, .22); font-size: 22px; }
.sp-notes dt { font-weight: 600; color: #8A5A2B; }
.sp-notes dd { margin: 0; }
.sp-launch { background: #0b0906; }
.sp-frame { position: absolute; inset: 18px; border: 1.5px solid #E9B872; border-radius: 8px; }
.sp-l { position: absolute; left: 0; right: 0; top: 118px; text-align: center; font: 400 84px/.9 var(--f-disp); letter-spacing: -.02em; color: #F3C98B; }
.sp-launch .sp-d { position: absolute; left: 0; right: 0; top: 300px; text-align: center; font-size: 21px; }
.sp-gift { background: #120e09; }
.sp-gift figure { position: absolute; left: 60px; right: 60px; top: 78px; height: 270px; margin: 0; overflow: hidden; border-radius: 10px; }
.sp-prod .sp-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 88px; display: flex; align-items: center; gap: 14px; padding: 0 28px; background: #F4EFE4; color: #1A130B; font-size: 21px; }
.sp-bar > b:first-child { font: 400 32px/1 var(--f-disp); }
.sp-bar .sp-b0 { margin-left: auto; font: 400 18px/1 var(--f-disp); letter-spacing: .24em; text-transform: uppercase; }
.sp-lang .sp-b { color: #1A130B; }
.sp-big { position: absolute; left: 28px; right: 28px; top: 150px; font: 400 76px/1.15 var(--f-disp); }
.sp-lang .sp-d { position: absolute; left: 28px; bottom: 34px; font-size: 22px; }
[lang="si"] { font-family: "Noto Sans Sinhala", "Iskoola Pota", "Nirmala UI", "Sinhala Sangam MN", var(--f-text); font-weight: 600; }
.sp-h [lang="si"] { font-size: .86em; }
/* the phone: a profile that fills with the month, then the film */
.so-phone { position: absolute; z-index: 1; opacity: 0; }
.so-prof { position: absolute; inset: 0; padding-top: 15cqw; background: #0b0906; font: 400 3.4cqw/1.35 var(--f-text); color: #F4EFE4; }
.so-ph { display: flex; align-items: center; gap: 3.6cqw; padding: 0 5cqw; }
.so-av { flex: none; width: 16cqw; height: 16cqw; border-radius: 50%; display: grid; place-items: center; font: 400 7.6cqw/1 var(--f-disp); font-style: normal; color: #1C1307; background: linear-gradient(180deg, #FBEBCD, #E4B575); box-shadow: 0 0 0 .8cqw #0b0906, 0 0 0 1.4cqw #E9B872; }
.so-ph b { display: block; font: 400 5.6cqw/1.05 var(--f-disp); letter-spacing: .14em; }
.so-handle { font-size: 3.2cqw; color: rgba(244, 239, 228, .6); }
.so-bio { padding: 3.4cqw 5cqw 0; font-size: 3.3cqw; color: rgba(244, 239, 228, .82); }
.so-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; padding: 3.4cqw 5cqw 0; }
.so-btns span { padding: 2cqw 0; border-radius: 2cqw; text-align: center; font-weight: 600; font-size: 3.3cqw; background: rgba(244, 239, 228, .1); }
.so-btns span:first-child { color: #1C1307; background: linear-gradient(180deg, #FBEBCD, #E4B575); }
.so-tabs { position: relative; height: 1px; margin-top: 4cqw; background: rgba(244, 239, 228, .14); }
.so-tabs i { position: absolute; left: 0; top: -1px; width: 33.3%; height: 2px; background: #F4EFE4; }
.so-grid12 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6cqw; margin-top: .6cqw; }
.so-slot { aspect-ratio: 4 / 5; background: rgba(244, 239, 228, .05); }
.so-reel { position: absolute; inset: 0; z-index: 5; opacity: 0; background: #000; }
.so-reel video { width: 100%; height: 100%; object-fit: cover; object-position: 61% 50%; }
.so-reel p { position: absolute; left: 5cqw; right: 5cqw; bottom: 9cqw; display: grid; gap: 1.2cqw; font-size: 3.4cqw; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.so-reel b { font: 400 5cqw/1 var(--f-disp); letter-spacing: .14em; }
.sox .ip-status { justify-content: flex-start; }
/* feeds we keep: square and 3:4 posts in rows of four */
.vw-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vw-sq { aspect-ratio: 1; }
.vw-34 { aspect-ratio: 3 / 4; }
.vw-t figcaption { margin: 0; }

/* ---------------------------------------------------------------- Branding: the visitor's mark, drawn, set and pressed onto an identity */
.bx { position: relative; height: 700vh; background: #000; }
.bx-film { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.ready-film .bx-film { opacity: 1; }
.bx .px-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .4) 26%, rgba(0, 0, 0, 0) 42%), linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 28%); }
.bx-marks { position: absolute; inset: 0; pointer-events: none; }
.bx-m { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; backface-visibility: hidden; }
.bx-box, .bx-bag, .bx-seal { width: 400px; height: 400px; }
.bx-card { width: 400px; height: 256px; }
.bx-label { width: 400px; height: 90px; }
.bx-m svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mk text, .bx-m text { text-anchor: middle; font-family: var(--f-disp); }
.mk-i { font-size: 128px; }
.mk-seal { font-size: 236px; }
.mk-w { font-size: 46px; letter-spacing: .26em; }
.mk-s { font: 600 15px/1 var(--f-text) !important; letter-spacing: .32em; }
/* foil catches a little light at its edge; letterpress sits in the paper; the seal is pressed into wax */
.bx-box, .bx-bag, .bx-label { filter: drop-shadow(0 -.6px 0 rgba(255, 236, 200, .35)) drop-shadow(0 1px 1px rgba(0, 0, 0, .55)); }
.mk-press { fill: #3a2c1c; fill-opacity: .9; }
.bx-card { filter: drop-shadow(0 1.2px 0 rgba(255, 250, 238, .55)) drop-shadow(0 -1px .5px rgba(30, 20, 10, .45)); }
.bx-card .mk-w { font-size: 42px; }
.bx-card .mk-s { letter-spacing: .08em; font-weight: 500 !important; font-size: 17px !important; }
.bx-seal { filter: drop-shadow(0 -2px 0 rgba(255, 230, 180, .6)) drop-shadow(0 3px 2px rgba(60, 30, 5, .8)); }
.mk-seal { fill-opacity: .85; }
/* the board: a construction grid, guides, the mark drawn in gold */
.bx-board { position: absolute; z-index: 2; overflow: visible; }
.bd-grid * { fill: none; stroke: rgba(233, 184, 114, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bd-guide * { fill: none; stroke: rgba(255, 217, 160, .55); stroke-width: 1; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
.bd-ring { fill: none; stroke: #E9B872; stroke-width: 3.5; }
.bd-ring + .bd-ring { stroke-width: 1.2; }
.bd-mark text { text-anchor: middle; font-family: var(--f-disp); fill: #F0CB93; }
.bd-ini { font-size: 128px; fill-opacity: 0; stroke: #FFD9A0; stroke-width: 1.2; stroke-dasharray: 700; stroke-dashoffset: 700; }
.bd-word { font-size: 46px; letter-spacing: .26em; }
.bd-sub { font: 600 15px/1 var(--f-text) !important; letter-spacing: .32em; opacity: 0; }
.bd-sys { opacity: 0; }
.bd-cs * { fill: none; stroke: #FFD9A0; stroke-width: 1; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
.bd-x { font: 400 18px/1 var(--f-disp); fill: #FFD9A0; }
.bd-sw circle { stroke: rgba(244, 239, 228, .3); stroke-width: 1; }
.bd-t { font: 400 46px/1 var(--f-disp); fill: #F3C98B; }
.bd-cap { font: 500 15px/1 var(--f-text); fill: rgba(244, 239, 228, .7); text-anchor: middle; }
/* identities at work */
.vw-c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vw-d { grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); }
.vw-wide { aspect-ratio: auto; height: 100%; min-height: 0; }
.vw-d .vw-sq { aspect-ratio: 1; }
figure.vw-t { margin: 0; }

/* ---------------------------------------------------------------- 3D visualisation: drawing, model and finished room, wiped by the scroll */
.dx { position: relative; height: 600vh; background: #000; }
.dx-film { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.ready-film .dx-film { opacity: 1; }
.dx .px-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .4) 26%, rgba(0, 0, 0, 0) 44%), linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0) 28%); }
.dx-ovl { position: absolute; inset: 0; pointer-events: none; }
.dx-sign, .dx-lab { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; }
.dx-sign { width: 1800px; height: 300px; filter: drop-shadow(0 0 22px rgba(255, 196, 120, .55)) drop-shadow(3px 5px 3px rgba(30, 15, 5, .5)); }   /* halo-lit brass letters, standing off the wall */
.dx-lab { width: 400px; height: 90px; }
.dx-sign svg, .dx-lab svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dx-sign text, .dx-lab text { text-anchor: middle; font-family: var(--f-disp); letter-spacing: .24em; }
.dx-sign text { font-size: 268px; }
.dx-lab text { font-size: 44px; letter-spacing: .26em; }
.dx-line { position: absolute; z-index: 3; left: 0; top: 0; width: 2px; margin-left: -1px; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 226, 176, 0), #FFE2B0 10%, #BE813D 90%, rgba(190, 129, 61, 0)); box-shadow: 0 0 18px rgba(255, 210, 150, .55); }
.dx-tag { position: absolute; top: 16%; font: 400 clamp(1rem, 1.3vw, 1.3rem)/1 var(--f-disp); white-space: nowrap; color: var(--cream); text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.dx-tag:first-child { right: 16px; }
.dx-tag:nth-child(2) { left: 16px; color: #F3C98B; }
.dx-handle { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; opacity: 0; pointer-events: none; cursor: ew-resize; background: rgba(13, 11, 8, .8); box-shadow: inset 0 0 0 1.5px #E9B872, 0 10px 30px -10px rgba(0, 0, 0, .8); touch-action: none; }
.dx-handle i::before, .dx-handle i::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 2px solid #FFE2B0; border-left: 2px solid #FFE2B0; }
.dx-handle i::before { left: 13px; transform: rotate(-45deg); }
.dx-handle i::after { right: 13px; transform: rotate(135deg); }
.has-cursor .dx-handle { cursor: none; }
.vw-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vw-45 { aspect-ratio: 4 / 5; }

/* ---------------------------------------------------------------- films: a screening wall that previews on hover */
.vw { padding: 0 var(--gut) var(--sec); }
.vw-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 6vw, 90px); }
.vw-head p { color: var(--dim-d); max-width: 44ch; justify-self: end; }
.vw-row { display: grid; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(10px, 1.2vw, 18px); }
.vw-a { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.vw-a > div { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.vw-b { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vw-t { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 10px; background: #14110d; text-align: left; color: var(--cream); isolation: isolate; }
.vw-h { aspect-ratio: 16 / 9; }
.vw-v { aspect-ratio: 9 / 16; }
.vw-a > .vw-t { aspect-ratio: auto; height: 100%; min-height: 0; }
.vw-t img, .vw-t video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.vw-t video { opacity: 0; }
.vw-t.playing video { opacity: 1; }
.vw-t:hover img, .vw-t:hover video { transform: scale(1.035); }
.vw-t::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 46%); pointer-events: none; }
.vw-c { position: absolute; z-index: 2; left: clamp(12px, 1.4vw, 22px); right: 12px; bottom: clamp(12px, 1.4vw, 20px); display: grid; gap: 3px; }
.vw-c b { font: 400 clamp(1.05rem, 1.4vw, 1.5rem)/1.1 var(--f-disp); }
.vw-c small { font-size: .82rem; color: var(--dim-d); }
.vw-more { margin-top: clamp(30px, 4vw, 54px); }

/* the cinema: a film with sound, over everything */
.cine { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: calc(var(--top) + 64px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 64px); background: rgba(5, 4, 3, .96); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.cine.open { opacity: 1; visibility: visible; }
.cine-box { width: min(100%, calc((100vh - 160px) * 16 / 9)); aspect-ratio: 16 / 9; }
.cine.vert .cine-box { width: auto; height: min(100%, calc(100vh - 160px)); aspect-ratio: 9 / 16; }
.cine video { width: 100%; height: 100%; background: #000; border-radius: 8px; }
.cine-t { position: absolute; left: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); font-size: .9rem; color: var(--dim-d); }
.cine-x { position: absolute; right: var(--gut); top: calc(var(--top) + 18px); padding: 10px 16px; border-radius: 22px; font-weight: 600; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .3); transition: box-shadow .3s; }
.cine-x:hover { box-shadow: inset 0 0 0 1px #E9B872; }

/* ---------------------------------------------------------------- what we make: one sentence that opens up */
.wm { padding: var(--sec) var(--gut); overflow-x: clip; }   /* a description near the edge must not widen the page */
.wm-s { font: 400 clamp(2rem, 4.2vw, 4.6rem)/1.12 var(--f-disp); letter-spacing: -.025em; max-width: 22ch; color: var(--dim-d); }
.wm-k { position: relative; color: var(--cream); font: inherit; letter-spacing: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: rgba(233, 184, 114, .5); transition: color .4s, text-decoration-color .4s; }
.wm-k:hover, .wm-k[aria-expanded="true"] { color: #F3C98B; text-decoration-color: #E9B872; }
.wm-d { position: absolute; z-index: 2; left: 0; top: calc(100% + .35em); width: 24ch; padding: .9em 1em; border-radius: 10px; font: 400 1rem/1.4 var(--f-text); letter-spacing: 0; color: var(--cream); text-align: left; background: rgba(28, 23, 17, .96); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(233, 184, 114, .25); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.wm-k:hover .wm-d, .wm-k:focus-visible .wm-d, .wm-k[aria-expanded="true"] .wm-d { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- the work: a real site scrolling inside a laptop and a phone */
.wk { padding: 0 var(--gut) var(--sec); }
.wk-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.wk-head p { color: var(--dim-d); max-width: 44ch; justify-self: end; }
.wk-devs { position: relative; margin-top: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .3fr); gap: clamp(20px, 3vw, 56px); align-items: end; }
.wk-lap .wk-scr { aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; border: 12px solid #141210; border-bottom-width: 18px; background: #0c0b09; box-shadow: 0 0 0 1px rgba(244, 239, 228, .12), 0 60px 120px -50px rgba(0, 0, 0, .9); }
.wk-lap::after { content: ""; display: block; height: 16px; margin: 0 -4%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #2b2824, #141210); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.wk-ph .wk-scr { aspect-ratio: 9 / 19.5; border-radius: 38px; border: 9px solid #1b1814; box-shadow: 0 0 0 1px rgba(244, 239, 228, .14), 0 50px 100px -40px rgba(0, 0, 0, .9); }
.wk-scr { overflow: hidden; position: relative; }
.wk-scr img { width: 100%; height: auto; max-width: none; will-change: transform; }
.wk-devs figcaption { margin-top: 14px; font-size: .86rem; color: var(--dim-d); }
.wk-lap figcaption { margin-top: 20px; }
.wk-more { margin-top: clamp(30px, 4vw, 54px); }

/* ---------------------------------------------------------------- how it works: one gold line through three moves */
.wh { padding: 0 var(--gut) var(--sec); }
.wh-track { position: relative; margin-top: clamp(40px, 6vw, 90px); }
.wh-line { position: absolute; left: 0; top: 0; width: 100%; height: clamp(90px, 10vw, 150px); overflow: visible; }
.wh-line path { fill: none; stroke: #E9B872; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.wh ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-top: clamp(110px, 12vw, 170px); }
.wh li { display: grid; gap: 12px; align-content: start; }
.wh li:nth-child(2) { margin-top: clamp(-70px, -5vw, -40px); }
.wh li:nth-child(3) { margin-top: clamp(-120px, -9vw, -70px); }
.wh li b { font: 400 clamp(1.6rem, 2.4vw, 2.6rem)/1 var(--f-disp); }
.wh li p { color: var(--dim-d); max-width: 34ch; }

/* ---------------------------------------------------------------- questions */
.wq { padding: 0 var(--gut) var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--gap); align-items: start; }
.wq-list details { border-bottom: 1px solid var(--line-d); }
.wq-list details:first-child { border-top: 1px solid var(--line-d); }
.wq summary { cursor: pointer; list-style: none; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font: 400 clamp(1.25rem, 1.7vw, 1.6rem)/1.2 var(--f-disp); }
.wq summary::-webkit-details-marker { display: none; }
.wq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .3em; background: linear-gradient(#E9B872, #E9B872) center / 100% 1.5px no-repeat, linear-gradient(#E9B872, #E9B872) center / 1.5px 100% no-repeat; transition: transform .5s var(--ease); }
.wq details[open] summary::after { transform: rotate(135deg); }
.wq details p { padding-bottom: 26px; color: var(--dim-d); max-width: 58ch; }

/* ---------------------------------------------------------------- start */
.wc { position: relative; overflow: hidden; padding: var(--sec) var(--gut); display: grid; gap: 22px; justify-items: start; }
.wc-glow { position: absolute; left: 62%; top: 52%; width: 90vmax; height: 90vmax; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(242, 166, 90, .26), rgba(242, 166, 90, .06) 34%, rgba(242, 166, 90, 0) 62%); pointer-events: none; }
.wc > :not(.wc-glow) { position: relative; }   /* the glow stays out of the grid, or it widens the column past a phone screen */
.wc h2 { max-width: 13ch; }
.wc p { color: var(--dim-d); max-width: 46ch; }
.wc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 10px; max-width: none !important; }
.wc-direct { display: flex; flex-wrap: wrap; gap: 6px 28px; font-weight: 500; color: var(--cream) !important; max-width: none !important; }

/* ---------------------------------------------------------------- footer */
.sf { padding: 56px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 34px); display: grid; gap: 14px; font-size: .95rem; border-top: 1px solid var(--line-d); }
.sf nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.sf nav a { text-decoration: none; opacity: .72; transition: opacity .3s, color .3s; }
.sf nav a:hover, .sf nav a[aria-current="page"] { opacity: 1; color: #F3C98B; }
.sf .fine { font-size: .82rem; color: var(--dim-d); }

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  .wx { height: 560vh; }
  .vx { height: 620vh; }
  .gx { height: 600vh; }
  .sox { height: 640vh; }
  .bx { height: 640vh; }
  .dx { height: 560vh; }
  .vw-c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vw-c3 > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .vw-c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vw-d { grid-template-columns: minmax(0, 1fr); }
  .vw-wide { aspect-ratio: 1400 / 756; height: auto; }
  .so-day { padding: 3px 4px; font-size: .62rem; }
  .so-day span { display: none; }
  .so-wk i { padding-left: 4px; font-size: .62rem; }
  .so-kit { gap: 8px 16px; }
  .so-kit small { font-size: .7rem; }
  .so-type b { font-size: 1.4rem; }
  .so-lab { font-size: .9rem; }
  .vw-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-ad figcaption { font-size: .66rem; left: 7px; bottom: 12px; }
  .gx-m { left: 7px; right: 7px; bottom: 6px; }
  .gx-rep { gap: 8px; padding: 14px; }
  .gx-rep dl { gap: 6px; }
  .gx-rep dl div { padding-top: 6px; }
  .gx-rep dd { font-size: .8rem; }
  .gx-o[data-label]::after { left: auto; right: 16px; }
  .wx-shade, .px-shade, .vx .px-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, 0) 44%), linear-gradient(0deg, rgba(0, 0, 0, .95) 8%, rgba(0, 0, 0, 0) 32%); }
  .wx-copy, .px-copy { top: calc(var(--top) + 76px); right: var(--gut); width: auto; gap: 10px; }
  .wx-copy h1, .px-copy h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .wx-copy .lead, .px-copy .lead { display: none; }
  .wx-try, .px-try { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; max-width: none; }
  .wx-try input, .px-try input { font-size: 1.15rem; }
  .wx-dock, .px-dock { width: auto; right: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + 26px); gap: 18px; }
  .wx-steps, .px-steps { height: 6em; }
  .wx-steps b, .px-steps b { font-size: 1.45rem; }
  .wx-steps span, .px-steps span { font-size: .88rem; }
  .wx-hint, .px-hint { display: none; }
  .px-dial { width: 54px; }
  .px-dial text { font-size: 27px; }
  .px-next { position: static; justify-self: end; padding: 0; gap: 10px; font-size: .86rem; }
  .px-chev { width: 34px; height: 34px; }
  .px-chev b { top: 9px; width: 8px; height: 8px; margin-left: -4px; }
  .px-chev b + b { top: 14px; }
  .wx-dock, .px-dock { gap: 12px; }
  .vx-note { right: var(--gut); left: var(--gut); max-width: none; text-align: left; }
  .vx-tc span { display: none; }
  .vx-clips b { display: none; }
  .vx-fmt { font-size: .74rem; }
  .vx-fmt b { font-size: 1rem; }
  .vw-head, .wk-head, .wq { grid-template-columns: minmax(0, 1fr); }
  .vw-head p, .wk-head p { justify-self: start; }
  .vw-a { grid-template-columns: minmax(0, 1fr); }
  .vw-a > .vw-t { aspect-ratio: 16 / 9; height: auto; }
  .vw-a > div { grid-template-columns: 1fr 1fr; }
  .vw-b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vw-b .vw-t:last-child:nth-child(odd) { display: none; }
  .wk-devs { grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); }
  .wh-line { display: none; }
  .wh ol { grid-template-columns: minmax(0, 1fr); padding-top: 34px; gap: 34px; border-left: 1px solid rgba(233, 184, 114, .5); padding-left: 22px; }
  .wh li:nth-child(n) { margin-top: 0; }
  .wm-s { position: relative; }
  .wm-k { position: static; }   /* phones: a description opens under the whole sentence, inside the screen */
  .wm-d { left: 0; right: 0; width: auto; }
  .px-copy .crumbs, .wx-copy .crumbs { display: none; }
  .vx-fmt { font-size: 0; color: var(--cream); text-shadow: 0 1px 10px rgba(0, 0, 0, .85); }   /* phones: just the ratio, inside its frame */
  .vx-fmt b { font-size: 1.05rem; margin: 0; }
}
@media (max-width: 760px) and (max-height: 820px) {   /* short phones: the step title, the ring and the cue; the scene gets the rest */
  .px-steps span, .wx-steps span { display: none; }
  .px-steps, .wx-steps { height: 3.3em; }
}
@media (prefers-reduced-motion: reduce) { .wx-hint::before, .px-hint::before { animation: none; } .ms-caret { animation: none; } .px-chev b, .px-dial .halo { animation: none !important; } }
