/* The Studio page: a plum opening, the three services as pinned chapters, then four short chapters.
   Uses the tokens and shared pieces from patrace.css (how-sec, how, close, reveal, split). */

.studio-page { --ease: cubic-bezier(.16,.84,.24,1); }

/* Opening: the shared film hero (same as Home and About), then the three paths as one line */
.sx-paths { display: grid; grid-template-columns: repeat(3, 1fr); margin-inline: var(--edge-gap); border-bottom: 1px solid var(--line-strong); }
.sx-path { font-family: var(--font-serif); font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 24px var(--inset); color: var(--ink); text-decoration: none; transition: background-color .5s ease; }
.sx-path + .sx-path { border-left: 1px solid var(--line); }
.sx-path .num { text-align: right; transition: transform .5s var(--ease); }
.sx-path:hover { background: var(--tint-denim-1); }
.sx-path:hover .num { transform: translateY(3px); }
.sx-stmt { min-height: 0; }

/* Three ways in: the home stacked cards, with what each one leaves you and who it suits */
.ways { padding-top: 0; padding-bottom: clamp(60px, 6vw, 100px); }
.ways-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-bottom: 34px; }
.ways-head .body-s { margin: 0; max-width: 420px; color: var(--soft-ink); }
.ways-stack { padding-inline: var(--edge-gap); }
.way { position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 14px); margin-bottom: 4vh; transform-origin: 50% 0; will-change: transform; scroll-margin-top: calc(var(--header-h) + 16px); }
.way:last-of-type { margin-bottom: 0; }
.way-anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 16px + var(--i) * 14px); }
.way-in { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: stretch; padding: clamp(24px, 2.6vw, 40px); border-radius: 14px; overflow: hidden; }
.way:nth-of-type(1) .way-in { background: var(--tint-denim-1); }
.way:nth-of-type(2) .way-in { background: var(--tint-denim-2); }
.way:nth-of-type(3) .way-in { background: var(--tint-denim-3); }
.way-text { display: flex; flex-direction: column; padding-left: clamp(0px, 1.4vw, 16px); }
.way-text .num { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; margin: 0 0 22px; text-transform: uppercase; }
.way-text .title { margin: 0 0 10px; }
.way-text .nri { display: block; color: var(--soft-ink); margin: 0 0 24px; }
.way-text .body-s { margin: 0 0 12px; max-width: 460px; }
.way-facts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px 34px; margin: 26px 0 34px; padding-top: 22px; border-top: 1px solid var(--line-strong); max-width: 480px; }
.way-facts dt { margin: 0 0 6px; }
.way-facts dt { margin: 0 0 10px; }
.way-facts dd { margin: 0; font-family: var(--font-serif); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.38; letter-spacing: -.01em; }
.way-text .suite-scope { margin-top: 26px; }
.way-text .suite-list { margin-bottom: 30px; }
.way-cta { margin-top: auto; display: grid; justify-items: start; gap: 14px; }
.way-more { margin: 0; font-size: 13px; line-height: 1.6; color: var(--soft-ink); max-width: 360px; }
.way-cta .button { background: var(--bordeaux); border-color: var(--bordeaux); }
.way-cta .button:hover { background: var(--plum); border-color: var(--plum); }
.way-media { justify-self: end; align-self: end; width: min(100%, 440px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 130px); overflow: hidden; }
.way-media img, .way-media video { width: 100%; height: 100%; object-fit: cover; }

/* Everything connected: every place a brand lives, linked to one direction */
.sx-net { padding-block: clamp(90px, 9vw, 140px) clamp(60px, 7vw, 110px); }
.sx-net-hd { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 70px); }
.sx-net-hd .h2 { margin: 16px 0 16px; }
.sx-net-hd .body-s { margin: 0 auto; max-width: 560px; color: var(--soft-ink); }
.eco { margin: 0 var(--edge-gap); background: var(--tint-denim-1); border-radius: 14px; padding: clamp(20px, 3vw, 48px); overflow: hidden; }
.eco-svg { display: block; width: 100%; max-width: min(1040px, calc((100svh - var(--header-h) - 110px) * 1.5625)); height: auto; margin: 0 auto; overflow: visible; }
.eco-ring-c { fill: none; stroke: var(--deep-denim); stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 1.5 6; stroke-linecap: round; transform-origin: 500px 320px; transform: scale(.7); opacity: 0; transition: transform 2s cubic-bezier(.16,.84,.24,1), opacity 1.4s ease; }
.eco-orbit--1 .eco-ring-c { transition-delay: .15s; }
.eco-orbit--2 .eco-ring-c { transition-delay: .3s; }
.eco-glow { transform-origin: 500px 320px; opacity: 0; transition: opacity 2s ease; }
.eco-l { stroke: var(--deep-denim); stroke-opacity: .28; stroke-width: .8; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.6s cubic-bezier(.65,0,.2,1) calc(1.2s + var(--k) * .06s); }
.eco-n { opacity: 0; transform: translateY(6px); transition: opacity .8s ease calc(.9s + var(--k) * .09s), transform 1s cubic-bezier(.16,.84,.24,1) calc(.9s + var(--k) * .09s); }
.eco-n circle { fill: var(--plum); }
.eco-n text { font-family: var(--font-sans); font-size: 13px; letter-spacing: .01em; fill: var(--ink); }
.eco-ring { font-family: var(--font-serif); font-style: italic; font-size: 14px; fill: var(--soft-ink); opacity: 0; transition: opacity 1.2s ease 1.6s; }
.eco-core-k { font-family: var(--font-label); font-size: 8.5px; letter-spacing: .24em; fill: var(--soft-ink); opacity: 0; transition: opacity 1.2s ease .8s; }
.eco-core { font-family: var(--font-serif); font-size: 24px; letter-spacing: -.01em; fill: var(--ink); opacity: 0; transition: opacity 1.2s ease .8s; }
.sx-net.is-on .eco-ring-c { transform: scale(1); opacity: 1; }
.eco-orbit { transform-origin: 500px 320px; }
.eco-p { fill: var(--bordeaux); opacity: 0; transition: opacity .8s ease 2.4s; }
.sx-net.is-on .eco-p { opacity: .8; }
.eco-glow2 { transform-origin: 518px 330px; }
.sx-net.is-on .eco-glow2 { animation: ecoDrift 11s ease-in-out infinite; }
@keyframes ecoDrift { 0%, 100% { translate: 0 0; } 33% { translate: -26px 14px; } 66% { translate: 18px -16px; } }
.sx-net.is-on .eco-glow { opacity: 1; animation: ecoBreath 7s ease-in-out 2s infinite; }
.sx-net.is-on .eco-l { stroke-dashoffset: 0; }
.sx-net.is-on .eco-n { opacity: 1; transform: none; }
.sx-net.is-on .eco-ring, .sx-net.is-on .eco-core-k, .sx-net.is-on .eco-core { opacity: 1; }
@keyframes ecoBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.eco-list { display: none; }
.eco-why { margin-top: clamp(30px, 4vw, 56px); }
.eco-why-k { text-align: center; margin: 0 0 22px; }
.eco-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.eco-why-list li { background: var(--white); border-radius: 10px; padding: 22px 22px 26px; display: grid; grid-template-rows: auto auto 1fr; }
.eco-why-list .num { justify-self: end; margin-bottom: 22px; }
.eco-why-t { margin: 0 0 12px; font-family: var(--font-serif); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.25; letter-spacing: -.01em; }
.eco-why-list .body-s { margin: 0; font-size: 13.5px; color: var(--soft-ink); }
@media (prefers-reduced-motion: reduce) { .sx-net.is-on .eco-glow, .sx-net.is-on .eco-glow2, .sx-net.is-on .eco-orbit, .sx-net.is-on .eco-n text { animation: none; } }

/* Why one direction: a soft panel, the image beside, four benefits in serif */
.sx-why { padding-block: clamp(80px, 8vw, 120px) clamp(40px, 4vw, 60px); }
.sx-why-in { margin-inline: var(--edge-gap); padding: 0 var(--inset); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 130px); align-items: start; }
.sx-why-side { position: sticky; top: calc(var(--header-h) + 40px); }
.sx-why-side .h2 { margin: 18px 0 18px; max-width: 460px; }
.sx-why-side .body-s { margin: 0 0 32px; max-width: 400px; color: var(--soft-ink); }
.sx-why-img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; max-width: 460px; }
.sx-why-img img { width: 100%; height: 100%; object-fit: cover; }
.sx-why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(30px, 3.4vw, 48px); padding-top: 8px; }
.sx-why-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 10px; }
.sx-why-t { margin: 0; font-family: var(--font-sans); font-weight: 300; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; letter-spacing: -.01em; }
.sx-why-head .num { flex: none; text-align: right; }
.sx-why-list .body-s { margin: 0; max-width: 480px; color: var(--soft-ink); }

/* Where to start: plum panel with the three questions of the call, the button, and Patrizia at work */
.sx-call { padding-block: var(--edge-gap) 0; }
.sx-call-in { margin-inline: var(--edge-gap); background: var(--plum); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); }
.sx-call-img { margin: 0; min-height: 100%; }
.sx-call-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-call-txt { padding: clamp(50px, 6vw, 96px) var(--inset); }
.sx-call-txt, .sx-call-txt .h2, .sx-call-txt .label, .sx-call-txt .body-s, .sx-call-txt .num { color: var(--white); }
.sx-call-txt .h2 { margin: 18px 0 16px; max-width: 480px; }
.sx-call-txt > .body-s { max-width: 440px; margin: 0 0 36px; opacity: .85; }
.sx-call-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sx-call-list li { background: color-mix(in srgb, var(--white) 8%, transparent); border-radius: 10px; padding: 22px 20px 24px; }
.sx-call-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sx-call-t { margin: 0; font-size: 16px; line-height: 1.35; color: var(--white); }
.sx-call-head .num { flex: none; text-align: right; opacity: .7; }
.sx-call-list .body-s { margin: 0; font-size: 13px; opacity: .8; }

/* Most brands begin in one of three places: three cards over a photograph with a plum veil, each one turns to its answer */
.sx-begin { position: relative; margin: 0 var(--edge-gap); overflow: hidden; }
.sx-begin-in { position: relative; z-index: 2; padding: clamp(70px, 8vw, 120px) var(--inset); }
.sx-begin-hd { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sx-begin-hd .body-s, .sx-begin-note { color: var(--soft-ink); }
.sx-begin-note .link-bracket { color: var(--plum); }
.sx-begin-hd .h2 { margin: 16px 0 12px; }
.sx-begin-hd .body-s { margin: 0; }
.fc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 1040px; margin: 0 auto; }
.fc { perspective: 1400px; min-height: 360px; opacity: 0; transform: translateY(40px) rotate(calc((var(--i) - 1) * 4deg)); transition: opacity .9s ease calc(var(--i) * .12s), transform 1.2s cubic-bezier(.16,.84,.24,1) calc(var(--i) * .12s); }
.sx-begin.is-on .fc { opacity: 1; transform: none; }
.fc-in { position: relative; height: 100%; min-height: 360px; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.65,0,.2,1); }
.fc.is-turned .fc-in { transform: rotateY(180deg); }
.fc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; box-sizing: border-box; }
.fc-front { background: color-mix(in srgb, var(--washed-denim) 62%, var(--white)); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--deep-denim) 80%, transparent); }
.fc-front .num { align-self: flex-end; }
.fc-q { margin: auto 0 0; font-family: var(--font-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.01em; }
.fc-turn { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--deep-denim) 35%, transparent); font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--plum); }
.fc-turn::after { content: ""; position: absolute; inset: 0; }
.fc-arrow { font-family: var(--font-sans); letter-spacing: 0; font-size: 15px; transition: transform .5s var(--ease); }
.fc-front:hover .fc-arrow { transform: translateX(6px); }
.fc-turn:focus-visible { outline: 1px solid var(--plum); outline-offset: 6px; }
.fc-back { background: var(--tint-denim-2); transform: rotateY(180deg); }
.fc-name { margin: 12px 0 14px; font-family: var(--font-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.fc-back .body-s { margin: 0 0 20px; }
.fc-back .link-bracket { margin-top: auto; color: var(--plum); }
.fc-back-btn { all: unset; cursor: pointer; margin-top: 14px; font-size: 12px; color: var(--soft-ink); text-decoration: underline; text-underline-offset: 3px; }
.sx-begin-note { text-align: center; margin: clamp(36px, 4vw, 56px) 0 0; font-size: 13px; }
.sx-begin-note .link-bracket { display: inline-block; margin-left: 8px; }

/* Specialized in: the home triptych, numbers on the right, with the places each sector lives */
.sx-bf .hd { max-width: 660px; margin-bottom: clamp(22px, 3.5vh, 44px); }
.sx-bf .deck { max-width: 780px; }
.sx-bf .card .ph { height: min(40vh, 380px); }
.sx-bf .hd .h2 { margin-top: 10px; }
.sx-bf-intro { margin: 12px auto 0; max-width: 560px; color: var(--soft-ink); }
.studio-page .card figcaption { grid-template-columns: 1fr auto; gap: 0 16px; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.studio-page .card figcaption > div { display: contents; }
.studio-page .card figcaption .num { grid-column: 2; grid-row: 1; padding-top: 0; }
.studio-page .card figcaption .name { grid-column: 1; grid-row: 1; }
.studio-page .card figcaption .nri { grid-column: 1 / -1; margin-top: 8px; }
.studio-page .card figcaption .label { grid-column: 1 / -1; margin-top: 10px; color: var(--soft-ink); }
.card-places { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--soft-ink); }

/* Shared chapter head: a fine rule with the label and the chapter number */
.sx-sec { padding-block: clamp(80px, 9vw, 140px); }
.sx-rule { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.sx-rule p { margin: 0; }
.sx-title { margin: clamp(28px, 3vw, 44px) 0 clamp(40px, 5vw, 70px); max-width: 520px; }

/* Built for: three rows; the open row shows its picture and touchpoints, closed rows show a picture beside the cursor */
.sx-for { position: relative; }
.sx-rows { border-bottom: 1px solid var(--line-strong); }
.sx-row { border-top: 1px solid var(--line-strong); }
.sx-row:first-child { border-top: 0; }
.sx-row-head, .sx-row-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 80px; gap: 24px; }
.sx-row-head { font-family: var(--font-sans); width: 100%; align-items: baseline; padding: clamp(24px, 2.6vw, 34px) 0; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; }
.sx-row-head .name { margin: 0; transition: transform .7s var(--ease); }
.sx-row-head .nri { color: var(--soft-ink); transition: color .4s ease; }
.sx-row-head .num { justify-self: end; }
.sx-row.is-open .sx-row-head .nri { color: var(--ink); }
@media (hover: hover) { .sx-row:not(.is-open) .sx-row-head:hover .name { transform: translateX(10px); } }
.sx-plus { position: relative; width: 12px; height: 12px; align-self: center; justify-self: end; }
.sx-plus::before, .sx-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
.sx-plus::after { transform: rotate(90deg); }
details[open] .sx-plus::after { transform: rotate(0); }
.sx-row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.sx-row.is-open .sx-row-body { grid-template-rows: 1fr; }
.sx-row-inner { overflow: hidden; align-items: start; }
.sx-row-img { margin: 0 0 clamp(30px, 3vw, 44px); width: min(100%, 300px); aspect-ratio: 1; overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease) .1s; }
.sx-row.is-open .sx-row-img { clip-path: inset(0); }
.sx-row-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--ease); }
.sx-row.is-open .sx-row-img img { transform: none; }
.sx-row-list .label { margin: 0 0 14px; }
.sx-row-list ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(24px, 3vw, 48px); max-width: 620px; }
.sx-row-list li { break-inside: avoid; font-size: 13.5px; line-height: 1.5; padding: 11px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .7s var(--ease); }
.sx-row.is-open .sx-row-list li { opacity: 1; transform: none; }
.sx-row.is-open .sx-row-list li:nth-child(2) { transition-delay: .06s; } .sx-row.is-open .sx-row-list li:nth-child(3) { transition-delay: .12s; } .sx-row.is-open .sx-row-list li:nth-child(4) { transition-delay: .18s; } .sx-row.is-open .sx-row-list li:nth-child(5) { transition-delay: .24s; } .sx-row.is-open .sx-row-list li:nth-child(6) { transition-delay: .3s; }
.sx-float { position: fixed; left: 0; top: 0; z-index: 30; width: 200px; aspect-ratio: 1; margin: 0; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .4s ease, transform .5s var(--ease); }
.sx-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sx-float img { width: 100%; height: 100%; object-fit: cover; }

/* Where to start: choose a situation, read one answer */
.sx-finder { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 130px); align-items: end; }
.sx-finder .sx-title { margin-bottom: clamp(32px, 4vw, 52px); }
.sx-opts { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.sx-opts li { border-top: 1px solid var(--line); }
.sx-opts button { font-family: var(--font-sans); width: 100%; display: grid; grid-template-columns: 1fr 64px; gap: 16px; align-items: baseline; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; font-weight: 300; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; letter-spacing: -.01em; color: var(--soft-ink); transition: color .4s ease, padding .6s var(--ease); }
.sx-opts button:hover { color: var(--ink); }
.sx-opts button .num { justify-self: end; }
.sx-opts button.on { color: var(--ink); padding-left: 14px; box-shadow: inset 2px 0 0 var(--plum); }
.sx-answers { display: grid; background: var(--denim-mist); border-radius: 14px; padding: clamp(32px, 4vw, 52px); }
.sx-ans { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s ease, transform .7s var(--ease), visibility 0s .5s; }
.sx-ans.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .1s, transform .8s var(--ease) .1s; }
.sx-ans-name { margin: 12px 0 16px; font-family: var(--font-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.sx-ans .body-s { margin: 0 0 24px; }
.sx-ans-note { grid-area: 2 / 1; margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 13px; line-height: 1.7; color: var(--soft-ink); }
.sx-ans-note .link-bracket { display: inline-block; margin-top: 8px; color: var(--plum); }

/* How it works: the home timeline, with a short intro */
.sx-how { padding-block: clamp(80px, 9vw, 140px); border-radius: 14px; }
.sx-how-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 130px); align-items: start; }
.sx-how-top .sx-title { margin-bottom: 0; }
.sx-how-top .editorial { margin: clamp(28px, 3vw, 44px) 0 0; max-width: 560px; }
.sx-how .how { margin-top: clamp(56px, 6vw, 90px); }
.sx-how .sx-when { margin: 0 0 12px; font-size: var(--size-label); line-height: 1.6; color: var(--soft-ink); }
.sx-how .sx-time { margin-top: 10px; font-size: 15px; color: var(--soft-ink); }

/* How it works: the home layout, with the Client Access preview beside the intro */
.how-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.how-intro .h2 { margin: 18px 0 26px; }
.how-intro .body-s { max-width: 400px; margin: 0 0 14px; }
.how-ca { margin-top: 26px; }
.ca { position: relative; margin: 0; padding: 0 0 84px 46px; }
.ca-browser { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--ink) 45%, transparent); font-family: var(--font-sans); color: var(--ink); }
.ca-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--denim-mist); }
.ca-dots { display: flex; gap: 5px; }
.ca-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.ca-url { flex: 1; max-width: 300px; margin-inline: auto; text-align: center; font-size: 10px; background: var(--white); border-radius: 4px; padding: 3px 10px; color: var(--soft-ink); }
.ca-nav { display: flex; justify-content: space-between; padding: 10px 22px; border-bottom: 1px solid var(--line); font-family: var(--font-label); font-size: 7.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft-ink); }
.ca-nav b { font-weight: 400; color: var(--ink); }
.ca-screens { display: grid; }
.ca-screen { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.ca-screen.on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.ca-body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; padding: 20px 22px; align-items: start; }
.ca-tag { font-family: var(--font-label); font-size: 7px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft-ink); margin: 0 0 8px; }
.ca-greet { font-family: var(--font-serif); font-size: clamp(14px, 1.3vw, 18px); line-height: 1.25; margin: 0 0 8px; }
.ca-small { font-size: 9px; line-height: 1.55; color: var(--soft-ink); margin: 0; max-width: 240px; }
.ca-card { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; }
.ca-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 9px; line-height: 1.35; }
.ca-item em { display: block; font-style: normal; font-size: 7.5px; color: var(--soft-ink); }
.ca-go { font-family: var(--font-label); font-size: 6.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ca-btn { display: inline-block; margin-top: 10px; padding: 6px 10px; background: var(--plum); color: var(--white); font-family: var(--font-label); font-size: 6.5px; letter-spacing: .18em; text-transform: uppercase; border-radius: 2px; }
.ca-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ca-feed--ph { grid-template-columns: repeat(2, 1fr); }
.ca-th { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--denim-mist); }
.ca-th img { width: 100%; height: 100%; object-fit: cover; }
.ca-chip { position: absolute; left: 4px; bottom: 4px; padding: 2px 4px; background: var(--white); font-weight: 400; font-family: var(--font-label); font-size: 5.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-radius: 2px; }
.ca-chip--soft { color: var(--soft-ink); }
.ca-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ca-stats > div { padding: 10px 22px 14px; font-family: var(--font-serif); font-size: 11px; border-right: 1px solid var(--line); }
.ca-stats > div:last-child { border-right: 0; }
.ca-stats em { display: block; font-style: normal; font-family: var(--font-label); font-size: 6.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft-ink); margin-bottom: 4px; }
.ca-prog { display: block; height: 2px; background: var(--line); margin-top: 6px; border-radius: 2px; overflow: hidden; }
.ca-prog i { display: block; height: 100%; width: 0; background: var(--plum); transition: width 1.4s cubic-bezier(.2,.7,.2,1) .5s; }
.ca-screen.on .ca-prog i { width: var(--p, 40%); }
.ca-phone { position: absolute; left: 0; bottom: 0; width: clamp(108px, 9.5vw, 132px); background: var(--white); border: 5px solid var(--ink); border-radius: 20px; padding: 0 10px 12px; box-shadow: 0 24px 40px -24px color-mix(in srgb, var(--ink) 55%, transparent); font-family: var(--font-sans); color: var(--ink); }
.ca-ph-top { display: flex; justify-content: space-between; margin: 0 -10px 10px; padding: 16px 10px 8px; background: var(--plum); color: var(--white); border-radius: 14px 14px 0 0; font-family: var(--font-label); font-size: 6px; letter-spacing: .16em; text-transform: uppercase; }
.ca-phone .ca-btn { display: block; text-align: center; }
.ca-tabs { display: flex; justify-content: flex-end; gap: 22px; margin-top: 22px; }
.ca-tabs button { background: none; border: 0; padding: 0 0 4px; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--soft-ink); cursor: pointer; border-bottom: 1px solid transparent; transition: color .3s ease, border-color .3s ease; }
.ca-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* Motion: the screen rises, the phone slides in; each screen brings its items in one by one. */
.js .ca-browser { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.3s cubic-bezier(.2,.7,.2,1); }
.js .ca-phone { opacity: 0; transform: translate(-24px, 20px); transition: opacity 1s ease .45s, transform 1.3s cubic-bezier(.2,.7,.2,1) .45s; }
.ca.is-in .ca-browser, .ca.is-in .ca-phone { opacity: 1; transform: none; }
.js .ca-screen .ca-item, .js .ca-screen .ca-th, .js .ca-screen .ca-btn { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.ca.is-in .ca-screen.on .ca-item, .ca.is-in .ca-screen.on .ca-th, .ca.is-in .ca-screen.on .ca-btn { opacity: 1; transform: none; }
.ca-screen.on .ca-item:nth-of-type(1), .ca-screen.on .ca-th:nth-child(1) { transition-delay: .35s; }
.ca-screen.on .ca-item:nth-of-type(2), .ca-screen.on .ca-th:nth-child(2) { transition-delay: .5s; }
.ca-screen.on .ca-item:nth-of-type(3), .ca-screen.on .ca-th:nth-child(3) { transition-delay: .65s; }
.ca-screen.on .ca-th:nth-child(4) { transition-delay: .8s; }
.ca-screen.on .ca-th:nth-child(5) { transition-delay: .95s; }
.ca-screen.on .ca-th:nth-child(6) { transition-delay: 1.1s; }
.ca-screen.on .ca-btn { transition-delay: .9s; }
.ca.is-in .ca-phone { animation: ca-float 6s ease-in-out 2s infinite; }
@keyframes ca-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 900px) {
  .how-top { grid-template-columns: 1fr; }
  .ca { padding: 0; margin-top: 10px; }
  .ca-phone { display: none; }
  .ca-body { grid-template-columns: 1fr; }
  .ca-hello .ca-small { display: none; }
  .ca-stats > div:nth-child(2), .ca-stats > div:nth-child(3) { display: none; }
  .ca-stats { grid-template-columns: 1fr 1fr; }
  .ca-tabs { justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ca-browser, .js .ca-phone, .js .ca-screen .ca-item, .js .ca-screen .ca-th, .js .ca-screen .ca-btn { opacity: 1; transform: none; transition: none; animation: none; }
}


/* Selected work: the home grid, black and white, colour on hover */
.sx-work { padding-block: clamp(90px, 9vw, 140px) clamp(30px, 3vw, 50px); }
.wk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-inline: var(--edge-gap); }
.wk { display: block; }
.wk-im { aspect-ratio: 4 / 5; overflow: hidden; background: var(--denim-mist); }
.wk-im img, .wk-im video { width: 100%; height: 100%; object-fit: cover; transition: filter .9s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); }
.wk-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 2px 26px; }
.wk-name { font-size: 13.5px; }
.wk-cap .label { color: var(--soft-ink); }
@media (hover: hover) {
  .wk-im img, .wk-im video { filter: grayscale(1); }
  .wk:hover .wk-im img, .wk:hover .wk-im video, .wk:focus-visible .wk-im img { filter: none; transform: scale(1.03); }
}
@media (max-width: 900px) { .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Questions: every answer open, two columns, the question as a label beside its answer */

/* Questions (old list) */
.sx-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 130px); align-items: start; }
.sx-faq-grid .sx-title { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.sx-faq .faq-list { margin-top: clamp(28px, 3vw, 44px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 18px; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; font-size: 15px; transition: padding .5s var(--ease); }
.faq summary:hover { padding-left: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .body-s { margin: 0 0 24px; max-width: 560px; color: var(--soft-ink); }

@media (prefers-reduced-motion: reduce) {
  .way { transform: none !important; filter: none !important; }
}

@media (max-width: 860px) {
  .sx-paths { grid-template-columns: 1fr; }
  .sx-path + .sx-path { border-left: 0; border-top: 1px solid var(--line); }
  .sx-path { padding: 18px var(--inset); }
  .way { top: calc(var(--header-h) + 8px + var(--i) * 10px); }
  .way-in { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .way-text { padding-left: 0; }
  .way-cta { margin-top: 8px; }
  .way-media { justify-self: stretch; width: 100%; aspect-ratio: 4 / 3; }
  .sx-why-in, .sx-call-in { grid-template-columns: 1fr; }
  .fc-row { grid-template-columns: 1fr; max-width: 420px; }
  .fc, .fc-in { min-height: 320px; }
  .sx-why-side { position: static; }
  .sx-call-in { grid-template-columns: 1fr; }
  .sx-call-list { grid-template-columns: 1fr; }
  .sx-call-img { aspect-ratio: 4 / 5; }
  .eco-why-list { grid-template-columns: 1fr; }
  .eco-svg .eco-n text, .eco-svg .eco-ring { display: none; }
  .eco-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; list-style: none; margin: 18px 0 4px; padding: 0; font-size: 13px; }
  .sx-row-head, .sx-row-inner { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .sx-row-head .nri { grid-column: 1 / -1; grid-row: 2; }
  .sx-row-head .num { grid-column: 2; grid-row: 1; }
  .sx-row-inner { grid-template-columns: 1fr; }
  .sx-row-img { width: 100%; margin-bottom: 24px; }
  .sx-row-list { padding-bottom: 32px; }
  .sx-float { display: none; }
  .sx-finder, .sx-how-top, .sx-faq-grid { grid-template-columns: 1fr; }
  .sx-opts button { grid-template-columns: 1fr 44px; }
  .sx-faq-grid .sx-title { position: static; }
}
