/* ==========================================================================
   Components: icons, buttons, phone frames, page sections, interactive pieces,
   showcases, the phone action bar and the menu. Phone layout first.
   ========================================================================== */

:root { --dock: 0px; --safe-b: env(safe-area-inset-bottom, 0px); --go: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22square%22%3E%3Cpath%20d%3D%22M7%2017%2017%207M8.5%207H17v8.5%22%2F%3E%3C%2Fsvg%3E"); }

/* Icons */
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }

/* Buttons and links */
.button { gap: 10px; min-height: 52px; justify-content: center; transition: background .3s var(--ease), transform .2s var(--ease), color .3s var(--ease); }
.button .i { width: 1.2em; height: 1.2em; }
.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button--ghost:hover { background: var(--ink); color: var(--white); }
.link { display: inline-flex; align-items: center; gap: 8px; }
.link .i { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.button:active, .cta:active, .chip:active, .chooser__item:active, .pick:active, .dock a:active, .svc-row:active, .work-item:active { transform: scale(.975); }

/* Big contact actions */
.cta { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--rule-dark); color: var(--white); text-decoration: none; transition: background .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }
.cta > .i:first-child { width: 26px; height: 26px; }
.cta span { display: flex; flex-direction: column; min-width: 0; }
.cta b { font-weight: 600; font-size: 1.0625rem; }
.cta small { color: var(--dim); font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cta__go { margin-left: auto; opacity: .7; transition: transform .35s var(--ease), opacity .3s; }
.cta:hover { border-color: #555; }
.cta:hover .cta__go { transform: translate(3px, -3px); opacity: 1; }
.cta--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta--light small { color: var(--graphite); }
.cta--light:hover { background: #E9E9E9; border-color: #E9E9E9; }
.cta--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta--dark:hover { background: #2A2A2A; }
.cta--outline { color: var(--ink); border-color: var(--ink); }
.cta--outline small { color: var(--graphite); }
.cta--outline:hover { background: var(--paper); border-color: var(--ink); }

.contact__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(40px, 5vw, 64px); max-width: 920px; }
.contact__where { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 32px; color: var(--dim); font-size: .9375rem; font-variant-numeric: tabular-nums; }

/* Phone frame */
.device { position: relative; display: block; padding: 8px; border-radius: 40px; background: #0E0E0E; box-shadow: inset 0 0 0 1.5px #2C2C2C, 0 50px 90px -40px rgba(0,0,0,.55), 0 20px 30px -20px rgba(0,0,0,.35); }
.device__screen { position: relative; display: block; overflow: hidden; border-radius: 32px; aspect-ratio: 390 / 844; background: #fff; isolation: isolate; }
.device__screen::before { content: ""; position: absolute; z-index: 5; top: 9px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 99px; background: #0E0E0E; }
.device__screen > img { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }

/* Page hero */
.phero { padding: calc(var(--header) + clamp(28px, 5vw, 72px)) 0 clamp(48px, 6vw, 96px); }
.phero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(24px, 4vw, 48px); }
.phero__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--graphite); font-size: .9375rem; margin-top: clamp(24px, 4vw, 44px); }
.phero__grid .phero__kicker { margin-top: 0; }
.phero__kicker .i { width: 22px; height: 22px; color: var(--ink); }
.phero__title { margin-top: 16px; font-stretch: var(--wide); font-weight: 560; font-size: clamp(2.6rem, 5.8vw, 6.25rem); line-height: .97; letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.phero--hub .phero__title { max-width: 18ch; font-size: clamp(2.6rem, 6.4vw, 7rem); }
.phero__lead { margin-top: clamp(20px, 2.6vw, 32px); font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.55; max-width: 48ch; color: #222; }
.phero__lead a { text-underline-offset: 3px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phero__module { display: flex; justify-content: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--graphite); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #BDBDBD; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Sections */
.sec { padding: clamp(64px, 8vw, 128px) 0; border-top: 1px solid var(--rule); }
.sec--tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec--paper { background: var(--paper); border-top: 0; }
.sec--flush { border-top: 0; padding-top: 0; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 64px); }
.sec__title { font-stretch: var(--wide); font-weight: 560; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
.sec__note { margin-top: 28px; color: var(--graphite); }
.sec__note a, .story a, .ticks a, .faq a { color: var(--ink); text-underline-offset: 3px; }
.eyebrow { margin: 0 0 20px; font-size: .9375rem; font-weight: 500; color: var(--graphite); letter-spacing: 0; }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; }
.split__title { align-self: start; position: sticky; top: calc(var(--header) + 32px); font-size: clamp(1.75rem, 3vw, 2.75rem); }

.story__big { font-stretch: var(--wide); font-weight: 500; font-size: clamp(1.75rem, 3.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 24ch; text-wrap: balance; }
.story__body, .story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(28px, 4vw, 56px); font-size: 1.125rem; line-height: 1.65; color: #2A2A2A; max-width: 1100px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--ink); }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.ticks .i { width: 22px; height: 22px; margin-top: 2px; }
.ticks h3 { margin: 0; font-stretch: var(--wide); font-weight: 560; font-size: 1.125rem; letter-spacing: -0.01em; }
.ticks p { margin-top: 6px; color: #3A3A3A; }

/* Related work rail: two up on desktop, swipeable on phones */
.rail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.rail__item { position: relative; display: block; text-decoration: none; }
.rail__shot { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 30px 60px -34px rgba(0,0,0,.4); }
.rail__shot img { width: 100%; transition: transform .9s var(--ease); }
.rail__item:hover .rail__shot img { transform: scale(1.03); }
.rail__phone { position: absolute; z-index: 2; right: 5%; top: 18%; width: 22%; border-radius: 16px; overflow: hidden; border: 4px solid #0E0E0E; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); }
.rail__phone img { width: 100%; }
.rail__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; }
.rail__meta b { font-stretch: var(--wide); font-weight: 560; font-size: clamp(1.375rem, 2vw, 1.875rem); letter-spacing: -0.025em; }
.rail__meta span { color: var(--graphite); font-size: .9375rem; }
.rail__text { display: block; margin-top: 6px; color: #3A3A3A; max-width: 50ch; }

/* Project path */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.path li { position: relative; padding-top: 34px; border-top: 1.5px solid var(--ink); }
.path li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 13px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.path h3 { margin: 0; font-stretch: var(--wide); font-weight: 560; font-size: clamp(1.25rem, 1.8vw, 1.625rem); letter-spacing: -0.015em; }
.path p { margin-top: 8px; color: var(--graphite); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.trio h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-stretch: var(--wide); font-weight: 560; font-size: 1.1875rem; }
.trio p { margin-top: 10px; color: #3A3A3A; }

/* Questions */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 64px; font-stretch: var(--wide); font-weight: 560; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq__a { padding: 0 52px 26px 0; color: #333; max-width: 66ch; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--rule); border-radius: 99px; text-decoration: none; font-weight: 500; transition: border-color .3s, background .3s, color .3s, transform .2s; }
.chip:hover { border-color: var(--ink); }

/* Services list */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 56px 4fr 6fr 40px; gap: 20px; align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .4s var(--ease); }
.svc-row__icon .i { width: 34px; height: 34px; }
.svc-row__name { font-stretch: var(--wide); font-weight: 560; font-size: clamp(1.625rem, 3.4vw, 3.25rem); line-height: 1; letter-spacing: -0.03em; }
.svc-row__text { color: var(--graphite); }
.svc-row__go { justify-self: end; transition: transform .35s var(--ease); }
.svc-row:hover { padding-left: 12px; }
.svc-row:hover .svc-row__go { transform: translate(3px, -3px); }

/* Chooser: pick the sentence that sounds like you */
.chooser { display: grid; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
.chooser__item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); text-decoration: none; transition: border-color .3s, background .3s, color .3s, transform .2s; }
.chooser__item > .i { width: 28px; height: 28px; }
.chooser__t { font-stretch: var(--wide); font-weight: 500; font-size: clamp(1.125rem, 1.9vw, 1.625rem); letter-spacing: -0.015em; line-height: 1.2; }
.chooser__s { display: inline-flex; align-items: center; gap: 8px; color: var(--graphite); font-size: .9375rem; white-space: nowrap; }
.chooser__item:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chooser__item:hover .chooser__s { color: #BDBDBD; }

/* Website design: anatomy of a real homepage */
.anatomy { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: center; margin: 0; width: 100%; max-width: 640px; }
.anatomy .device__screen > img, .anatomy__dot { transform: translateY(var(--ty, 0)); transition: transform .8s var(--ease); }
.anatomy__dot { position: absolute; z-index: 3; left: 8%; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.anatomy__dot span { position: absolute; inset: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.anatomy__dot.is-on span { transform: scale(1.35); }
.anatomy__dot.is-on::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); animation: dot-ring 1.6s var(--ease) infinite; }
@keyframes dot-ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.anatomy__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.anatomy__notes button { display: grid; gap: 2px; width: 100%; text-align: left; padding: 10px 0 10px 16px; border: 0; border-left: 2px solid var(--rule); background: none; cursor: pointer; color: var(--graphite); transition: border-color .3s, color .3s; }
.anatomy__notes b { font-weight: 600; font-size: .9375rem; }
.anatomy__notes span { font-size: .875rem; line-height: 1.45; display: none; }
.anatomy__notes .is-on { border-color: var(--ink); color: var(--ink); }
.anatomy__notes .is-on span { display: block; color: #3A3A3A; }
.anatomy figcaption, .momo figcaption, .chatdemo figcaption { grid-column: 1 / -1; font-size: .8125rem; color: var(--graphite); }

/* Online shops: Mobile Money checkout */
.momo { display: grid; justify-items: center; gap: 18px; margin: 0; }
.momo .device { width: min(300px, 74vw); }
.momo__top { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding-bottom: 10px; font-size: .75rem; color: var(--graphite); border-bottom: 1px solid #EEE; background: #fff; }
.momo__top .i { width: 14px; height: 14px; }
.momo__stage { position: absolute; inset: 64px 0 0; }
.momo__screen { position: absolute; inset: 0; padding: 22px 20px; display: flex; flex-direction: column; opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.momo__screen.is-on { opacity: 1; transform: none; }
.momo__shop, .momo__pay, .momo__wait, .momo__done { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.momo__tag { font-size: .6875rem; color: var(--graphite); }
.momo__img { flex: 1; min-height: 0; border-radius: 14px; background: #C9A27A repeating-linear-gradient(45deg, rgba(90,52,24,.35) 0 6px, transparent 6px 14px), repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 6px, transparent 6px 14px); }
.momo__name { font-size: 1rem; }
.momo__price { font-stretch: var(--wide); font-weight: 600; font-size: 1.25rem; }
.momo__btn { display: grid; place-items: center; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9375rem; }
.momo__btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); margin-top: auto; }
.momo__h { font-stretch: var(--wide); font-weight: 600; font-size: 1.125rem; }
.momo__opt { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid #E2E2E2; border-radius: 12px; font-size: .9375rem; }
.momo__opt i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #BBB; }
.momo__opt.is-on { border-color: var(--ink); }
.momo__opt.is-on i { border: 5px solid var(--ink); }
.momo__field { display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-top: auto; }
.momo__wait, .momo__done { align-items: center; justify-content: center; text-align: center; color: #3A3A3A; font-size: .9375rem; }
.momo__ring { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #E6E6E6; border-top-color: var(--ink); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.momo__ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; }
.momo__ok .i { width: 30px; height: 30px; }
.momo__steps { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--paper); }
.momo__steps button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: none; font-weight: 500; cursor: pointer; color: var(--graphite); transition: background .3s, color .3s; }
.momo__steps .is-on { background: var(--ink); color: var(--white); }

/* SEO: Google preview */
.serp { width: 100%; max-width: 560px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--rule); border-radius: 20px; background: var(--white); box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); }
.serp__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.serp__form label { display: grid; gap: 6px; font-size: .75rem; color: var(--graphite); }
.serp__form input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #DCDCDC; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.serp__form input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.serp__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: .8125rem; color: var(--graphite); }
.serp__examples button { min-height: 34px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 99px; background: none; font-size: .8125rem; cursor: pointer; }
.serp__examples button:hover { border-color: var(--ink); }
.serp__result { margin-top: 18px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ECECEC; font-family: Arial, sans-serif; }
.serp__site { display: flex; align-items: center; gap: 10px; }
.serp__fav { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F1F3F4; color: #202124; font-size: .8125rem; font-weight: 700; }
.serp__site b { display: block; font-size: .875rem; font-weight: 400; color: #202124; }
.serp__site small { display: block; font-size: .75rem; color: #4D5156; }
.serp__title { display: block; margin-top: 10px; color: #1A0DAB; font-size: 1.25rem; line-height: 1.3; text-decoration: none; }
.serp__desc { margin-top: 4px; color: #4D5156; font-size: .875rem; line-height: 1.55; }
.serp__checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .875rem; }
.serp__checks li { display: flex; align-items: center; gap: 8px; color: #9A9A9A; transition: color .3s; }
.serp__checks li.is-ok { color: var(--ink); }
.serp__checks small { margin-left: auto; color: var(--graphite); font-variant-numeric: tabular-nums; }

/* AI assistants: example conversation */
.chatdemo { display: grid; justify-items: center; gap: 18px; margin: 0; }
.chatdemo .device { width: min(300px, 74vw); }
.chatdemo__top { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 92px; display: flex; align-items: flex-end; gap: 10px; padding: 0 16px 10px; background: #fff; border-bottom: 1px solid #EEE; }
.chatdemo__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; }
.chatdemo__av .i { width: 18px; height: 18px; }
.chatdemo__top b { display: block; font-size: .875rem; }
.chatdemo__top small { display: block; font-size: .75rem; color: var(--graphite); }
.chatdemo__log { position: absolute; inset: 92px 0 0; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.chatdemo__m { max-width: 86%; margin: 0; padding: 10px 13px; font-size: .8125rem; line-height: 1.45; border-radius: 16px; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.chatdemo__m.is-in { opacity: 1; transform: none; }
.chatdemo__m--v { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.chatdemo__m--a { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; }
.chatdemo__typing { display: none; gap: 4px; align-self: flex-start; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--paper); }
.chatdemo__typing.is-on { display: inline-flex; }
.chatdemo__typing i { width: 6px; height: 6px; border-radius: 50%; background: #999; animation: blink 1.2s infinite; }
.chatdemo__typing i:nth-child(2) { animation-delay: .15s; }
.chatdemo__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chatdemo__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Plugins: what they needed, what was built */
.stories { width: 100%; max-width: 560px; }
.stories__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.stories__tabs::-webkit-scrollbar { display: none; }
.stories__tabs button { flex: none; min-height: 42px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 99px; background: none; font-weight: 500; cursor: pointer; color: var(--graphite); }
.stories__tabs .is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stories__card { display: none; margin-top: 14px; padding: clamp(20px, 2.6vw, 30px); border-radius: 20px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); }
.stories__card.is-on { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.stories__k { color: var(--graphite); font-size: .875rem; }
.stories__row { margin-top: 14px; }
.stories__row span { font-size: .8125rem; color: var(--graphite); }
.stories__row p { margin-top: 4px; font-size: 1.0625rem; line-height: 1.5; }
.stories__row--built { padding: 18px; border-radius: 14px; background: var(--ink); color: var(--white); }
.stories__row--built span { color: #9A9A9A; }
.stories__arrow { display: grid; place-items: center; margin: 10px 0 -4px; color: var(--graphite); }

/* Showcase: real sites scrolling inside the frames */
.show { position: relative; height: calc(var(--steps) * 80vh + 50vh); }
.show + .show { margin-top: clamp(40px, 6vw, 96px); }
.show__sticky { position: sticky; top: var(--header); height: calc(100vh - var(--header)); display: grid; grid-template-columns: minmax(300px, 3.6fr) 8.4fr; gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: clamp(20px, 3.5vh, 44px); }
.show__logo { width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.show__title { font-stretch: var(--wide); font-weight: 560; font-size: clamp(2.25rem, 3.8vw, 3.75rem); line-height: 1; letter-spacing: -0.035em; margin-top: clamp(16px, 2.4vh, 26px); }
.show__title--bare { margin-top: 0; font-size: clamp(1.75rem, 2.8vw, 2.75rem); }
.show__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(16px, 2.6vh, 28px); padding-top: 14px; border-top: 1px solid var(--rule); font-size: .875rem; }
.show__meta dt { color: var(--graphite); }
.show__meta dd { margin: 2px 0 0; }
.show__bars { display: flex; gap: 6px; margin-top: clamp(18px, 3vh, 30px); }
.show__bars i { flex: 1; height: 3px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.show__bars b { display: block; height: 100%; width: var(--fill, 0%); background: var(--ink); }
.show__steps { list-style: none; margin: 14px 0 0; padding: 0; }
.show__step { display: block; width: 100%; text-align: left; background: none; border: 0; padding: clamp(9px, 1.4vh, 14px) 0; cursor: pointer; color: var(--ink); }
.show__step-title { display: block; font-stretch: var(--wide); font-weight: 560; font-size: clamp(1rem, 1.2vw, 1.1875rem); letter-spacing: -0.01em; color: #A4A4A4; transition: color .4s var(--ease); }
.show__step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.show__step-body > span { overflow: hidden; color: #3A3A3A; font-size: .9375rem; line-height: 1.55; max-width: 40ch; }
.show__steps li.is-active .show__step-title { color: var(--ink); }
.show__steps li.is-active .show__step-body { grid-template-rows: 1fr; }
.show__steps li.is-active .show__step-body > span { padding-top: 6px; }
.show__actions { display: flex; align-items: center; gap: 22px; margin-top: clamp(18px, 3vh, 30px); flex-wrap: wrap; }
.show__stage { position: relative; height: 100%; display: flex; align-items: center; }
.show__browser { position: relative; width: 100%; max-height: 100%; aspect-ratio: 16 / 10.2; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.09), 0 30px 60px -24px rgba(0,0,0,.22), 0 70px 120px -60px rgba(0,0,0,.28); }
.show__bar { flex: none; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F6F6F6; border-bottom: 1px solid #E6E6E6; }
.show__bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCDCDC; }
.show__bar span { margin: 0 auto; transform: translateX(-26px); font-size: .75rem; color: var(--graphite); background: #fff; border: 1px solid #E6E6E6; border-radius: 6px; padding: 3px 40px; }
.show__viewport { position: relative; flex: 1; overflow: hidden; }
.show__viewport img { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.show__phone { position: absolute; left: clamp(-44px, -2.8vw, -16px); bottom: 4%; width: clamp(130px, 17%, 220px); padding: 6px; border-radius: 30px; }
.show__phone .device__screen { border-radius: 25px; }
.show__phone .device__screen::before { height: 14px; top: 6px; }

/* Case studies */
.case-logo { width: auto; margin-top: clamp(24px, 4vw, 44px); }
.phero--case .phero__title { margin-top: 18px; max-width: none; }
.case-lead { margin-top: clamp(18px, 2.4vw, 28px); font-stretch: var(--wide); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; max-width: 34ch; }
.case-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 4vw, 64px); margin: clamp(24px, 3vw, 40px) 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .9375rem; }
.case-facts dt { color: var(--graphite); font-size: .8125rem; }
.case-facts dd { margin: 4px 0 0; }
.case-facts a { display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 3px; }
.next-case { display: block; background: var(--black); color: var(--white); text-decoration: none; overflow: hidden; }
.next-case__in { display: grid; grid-template-columns: 1fr minmax(240px, 40%); grid-template-rows: auto 1fr; gap: 8px 40px; padding-block: clamp(56px, 7vw, 104px); align-items: end; }
.next-case__k { color: var(--dim); font-size: .9375rem; }
.next-case__name { grid-row: 2; display: inline-flex; align-items: center; gap: .3em; font-stretch: var(--wide); font-weight: 560; font-size: clamp(2.5rem, 7vw, 7rem); line-height: 1; letter-spacing: -0.045em; }
.next-case__name .i { width: .6em; height: .6em; transition: transform .5s var(--ease); }
.next-case:hover .next-case__name .i { transform: translateX(10px); }
.next-case__img { grid-column: 2; grid-row: 1 / 3; border-radius: 10px; overflow: hidden; opacity: .75; transition: opacity .4s, transform .8s var(--ease); }
.next-case:hover .next-case__img { opacity: 1; transform: translateY(-6px); }

/* Work overview */
.work-list { display: grid; gap: clamp(64px, 9vw, 140px); }
.work-item { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; text-decoration: none; }
.work-item:nth-child(even) .work-item__media { order: 2; }
.work-item__media { position: relative; display: block; padding: 0 0 6% 0; }
.work-item__desk { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 40px 80px -40px rgba(0,0,0,.4); }
.work-item__desk img { width: 100%; transition: transform .9s var(--ease); }
.work-item:hover .work-item__desk img { transform: scale(1.025); }
.work-item__phone { position: absolute; right: -4%; bottom: 0; width: 24%; padding: 5px; border-radius: 26px; }
.work-item__phone .device__screen { border-radius: 21px; }
.work-item__phone .device__screen::before { height: 12px; top: 6px; }
.work-item__body { display: grid; gap: 10px; }
.work-item__sector { color: var(--graphite); font-size: .9375rem; }
.work-item__name { font-stretch: var(--wide); font-weight: 560; font-size: clamp(2.25rem, 4.4vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; }
.work-item__text { color: #3A3A3A; font-size: 1.0625rem; max-width: 44ch; }
.work-item__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; }
.work-item__go .i { transition: transform .35s var(--ease); }
.work-item:hover .work-item__go .i { transform: translateX(4px); }

/* Contact brief builder */
.brief { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 860px; }
.brief fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; }
.brief legend { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-stretch: var(--wide); font-weight: 560; font-size: clamp(1.375rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.brief legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .875rem; font-stretch: 100%; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 14px; cursor: pointer; font-weight: 500; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .i { width: 24px; height: 24px; }
.pick:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pick:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.pick--small { min-height: 52px; }
.field { display: grid; gap: 8px; }
.field span { font-size: .875rem; color: var(--graphite); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid #D4D4D4; border-radius: 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.brief__send { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brief__note { color: var(--graphite); font-size: .875rem; }

/* Home hero extras */
.hero__eyebrow { display: none; }
.show__controls { display: none; }
.hero__actions .button { min-width: 180px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 68px; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: var(--white); animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.index__arrow .i { width: 1.4rem; height: 1.4rem; }
.section-note a { color: inherit; text-underline-offset: 3px; }
.also { margin-top: clamp(80px, 9vw, 140px); }

/* Assistant: icons instead of characters */
.ask__close { display: grid; place-items: center; }
.ask__close::before, .ask__close::after { display: none; }
.ask__close .i { width: 22px; height: 22px; }
.ask__starters button { align-items: center; min-height: 48px; }
.ask__starters button::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--go) center / contain no-repeat; mask: var(--go) center / contain no-repeat; opacity: .6; }
.ask__handoff button, .ask__handoff a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.ask__handoff .i { width: 16px; height: 16px; }
.ask__form button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.ask__form button .i { width: 20px; height: 20px; }

/* Header menu button */
.header__menu { align-items: center; gap: 10px; min-height: 44px; }
.burger { position: relative; width: 22px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10.4px; }
.header__menu[aria-expanded="true"] .burger i:first-child { top: 5.2px; transform: rotate(45deg); }
.header__menu[aria-expanded="true"] .burger i:last-child { top: 5.2px; transform: rotate(-45deg); }

/* Full screen menu */
.menu { overflow-y: auto; justify-content: flex-start; padding: calc(var(--header) + 16px) var(--gutter) calc(28px + var(--safe-b)); }
.menu__inner { display: flex; flex-direction: column; min-height: 100%; gap: 32px; }
.menu__main { display: grid; }
.menu__main a { font-size: clamp(2.5rem, 12vw, 4rem); border-bottom: 1px solid var(--rule-dark); padding: 4px 0 8px; }
.menu__main a[aria-current="page"] { color: var(--dim); }
.menu__services p { color: var(--dim); font-size: .875rem; margin-bottom: 10px; }
.menu__services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.menu__services p { grid-column: 1 / -1; }
.menu__services a { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; border-bottom: 1px solid var(--rule-dark); font-size: .9375rem; }
.menu__services .i { width: 20px; height: 20px; color: var(--dim); }
.menu__foot { margin-top: auto; display: grid; gap: 14px; }
.menu__foot p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--dim); font-size: .9375rem; }
.menu__foot p a { text-decoration: none; }
.menu:not([hidden]) .menu__main a, .menu:not([hidden]) .menu__services, .menu:not([hidden]) .menu__foot { animation: menu-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
@keyframes menu-in { from { opacity: 0; transform: translateY(24px); } }

/* Phone action bar */
.dock { display: none; }

/* ==========================================================================
   Tablet and phone
   ========================================================================== */
@media (max-width: 960px) {
  :root { --dock: 76px; }
  body { -webkit-tap-highlight-color: transparent; }

  /* Action bar, within thumb reach */
  .dock { position: fixed; z-index: 65; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: #111; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); transition: transform .45s var(--ease), opacity .3s; }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 15px; color: var(--white); text-decoration: none; font-size: .75rem; font-weight: 500; transition: background .2s, transform .2s; }
  .dock a .i { width: 22px; height: 22px; }
  .dock .dock__main { flex-direction: row; gap: 10px; background: var(--white); color: var(--ink); font-size: .9375rem; font-weight: 600; }
  .dock .dock__main .i { width: 24px; height: 24px; }
  body.menu-open .dock, .ask.is-open ~ .dock, body.ask-open .dock { transform: translateY(150%); opacity: 0; }
  .footer { padding-bottom: calc(var(--dock) + var(--safe-b)); }
  .ask__launch { display: none; }
  .ask { right: 0; bottom: 0; left: 0; }
  .ask__panel { width: 100%; height: calc(92svh - var(--safe-b)); border-radius: 22px 22px 0 0; padding-bottom: var(--safe-b); box-shadow: 0 -20px 60px rgba(0,0,0,.3); animation: sheet .45s var(--ease); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .ask__head { padding: 16px 18px; }
  .ask__form textarea { font-size: 16px; }

  .header__menu { display: inline-flex; }

  .hero { min-height: 100svh; min-height: 100dvh; background: var(--ink); color: var(--white); }
  .hero__mark { position: absolute; width: min(78vw, 440px); right: -18%; top: calc(var(--header) + 12px); margin: 0; transform: none; opacity: 1; pointer-events: none; }
  .hero__mark svg > g { fill: #343434; }
  .hero__inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding-top: calc(var(--header) + 28px); padding-bottom: 36px; }
  .hero__eyebrow { display: block; position: relative; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #C6C6C6; margin-bottom: clamp(76px, 23vw, 120px); }
  .hero__title { font-size: clamp(2.75rem, 15.2vw, 5rem); line-height: .98; letter-spacing: -.055em; }
  .hero__title span { display: block; }
  .hero__aside { width: 100%; margin-top: 26px; }
  .hero__lead { font-size: 1rem; line-height: 1.6; color: #C6C6C6; max-width: 38ch; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .hero__actions .button { min-width: 0; padding-inline: 10px; font-size: .9375rem; background: var(--white); color: var(--ink); }
  .hero__actions .button--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px #666; }
  .hero__actions .button:hover { background: #DDD; }
  .hero__actions .button--ghost:hover { background: #333; }
  .hero__scroll { display: none; }
  .hero__foot { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; padding-top: 16px; padding-bottom: calc(24px + var(--safe-b)); color: #A4A4A4; font-size: .75rem; background-image: linear-gradient(#3A3A3A, #3A3A3A); }
  .hero__foot span:last-child { display: none; }
  body.hero-visible .dock { transform: translateY(150%); opacity: 0; visibility: hidden; }

  .work { padding-top: 72px; }
  .index { display: none; }
  .section-head { margin-bottom: 28px; }

  .show { height: auto; padding-top: 28px; border-top: 1px solid var(--rule); }
  .show + .show { margin-top: 64px; }
  .show__sticky { position: static; height: auto; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 0; }
  .show__stage { grid-row: 2; height: auto; min-width: 0; justify-content: center; padding: 28px 16px; background: var(--paper); border-radius: 12px; overflow: hidden; }
  .show__browser { display: none; }
  .show__phone { position: relative; left: auto; bottom: auto; height: auto; width: clamp(164px, 54vw, 228px); flex: none; padding: 7px; border-radius: 30px; }
  .show__phone .device__screen { height: auto; width: 100%; border-radius: 24px; }
  .show__phone .device__screen::before { height: 18px; top: 8px; }
  .show__viewport img, .show__phone .device__screen > img { transition: transform .55s var(--ease); will-change: auto; }
  .show__text { display: contents; }
  .show__intro { grid-row: 1; min-width: 0; }
  .show__logo { display: none; }
  .show__title { margin: 0; font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .show__title--bare { font-size: 1.5rem; }
  .show__meta { display: block; margin-top: 10px; padding: 0; border: 0; color: var(--graphite); font-size: .875rem; }
  .show__meta div:first-child, .show__meta dt { display: none; }
  .show__meta dd { margin: 0; }
  .show__actions { grid-row: 5; display: flex; justify-content: space-between; margin: 0; gap: 12px; }
  .show__actions .button { min-height: 48px; padding: 12px 18px; font-size: .875rem; }
  .show__actions .link { display: inline-flex; min-height: 48px; font-size: .875rem; }
  .show__bars { display: none; }
  .show__controls { grid-row: 3; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8125rem; color: var(--graphite); }
  .show__controls > div { display: flex; gap: 6px; }
  .show__controls button { width: 44px; min-height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: var(--white); cursor: pointer; font-size: .8125rem; font-variant-numeric: tabular-nums; }
  .show__controls button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .show__steps { grid-row: 4; display: grid; margin: 0; min-width: 0; }
  .show__steps li { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; pointer-events: none; }
  .show__steps li.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
  .show__step { padding: 0; cursor: default; }
  .show__step-title { color: var(--ink); font-size: 1.0625rem; }
  .show__step-body { grid-template-rows: 1fr; }
  .show__step-body > span { padding-top: 6px; font-size: .9375rem; max-width: none; }

  /* Page hero */
  .phero { padding-top: calc(var(--header) + 20px); }
  .phero__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 20px; }
  .phero__title { font-size: clamp(2.5rem, 11.5vw, 4rem); max-width: none; }
  .phero--hub .phero__title { font-size: clamp(2.5rem, 11.5vw, 4rem); }
  .phero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .phero__actions .button { padding-inline: 12px; }

  /* Sections */
  .split { grid-template-columns: 1fr; }
  .split__title { position: static; margin-bottom: 8px; }
  .story__body, .story__cols { grid-template-columns: 1fr; gap: 16px; font-size: 1.0625rem; }
  .ticks { grid-template-columns: 1fr; }
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail__item { flex: 0 0 84%; scroll-snap-align: start; }
  .rail__phone { width: 26%; }
  .path { grid-template-columns: 1fr; gap: 0; border-left: 1.5px solid var(--ink); margin-left: 6px; }
  .path li { border-top: 0; padding: 0 0 28px 26px; }
  .path li::before { top: 4px; left: -7.5px; }
  .path li:last-child { padding-bottom: 0; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .faq__a { padding-right: 0; }
  .svc-row { grid-template-columns: 40px 1fr 28px; gap: 6px 14px; }
  .svc-row__text { grid-column: 2; grid-row: 2; font-size: .9375rem; }
  .svc-row__go { grid-row: 1; grid-column: 3; }
  .svc-row__icon .i { width: 28px; height: 28px; }
  .chooser__item { grid-template-columns: 32px 1fr; gap: 6px 14px; padding: 16px 18px; }
  .chooser__item > .i { width: 24px; height: 24px; grid-row: 1 / 3; align-self: start; margin-top: 2px; }
  .chooser__s { font-size: .875rem; }

  /* Interactive pieces */
  .anatomy { grid-template-columns: 1fr; justify-items: center; }
  .anatomy .device { width: min(280px, 76vw); }
  .anatomy__notes { width: 100%; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; padding-bottom: 4px; }
  .anatomy__notes::-webkit-scrollbar { display: none; }
  .anatomy__notes li { scroll-snap-align: center; }
  .anatomy__notes button { height: 100%; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 14px; }
  .anatomy__notes span { display: block; }
  .anatomy__notes .is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .anatomy__notes .is-on span { color: #CFCFCF; }
  .serp__form { grid-template-columns: 1fr; }
  .serp { padding: 16px; }

  /* Case studies and work */
  .case-facts { grid-template-columns: 1fr 1fr; }
  .next-case__in { grid-template-columns: 1fr; }
  .next-case__img { grid-column: 1; grid-row: 3; }
  .work-item, .work-item:nth-child(even) { grid-template-columns: 1fr; }
  .work-item:nth-child(even) .work-item__media { order: 0; }
  .work-item__phone { right: 4%; width: 26%; }

  /* Contact */
  .contact__actions { grid-template-columns: 1fr; }
  .brief__send { grid-template-columns: 1fr; }
  .picks { grid-template-columns: 1fr 1fr; }
  .pick { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pick--small { flex-direction: row; align-items: center; }
}

@media (max-width: 380px) {
  .picks { grid-template-columns: 1fr; }
  .phero__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll, .anatomy__dot.is-on::after, .momo__ring { animation: none; }
}

@media (max-width: 960px) {
  .rail__phone { width: 20%; top: 8%; right: 4%; border-width: 3px; border-radius: 12px; }
}

@media (min-width: 600px) and (max-width: 960px) {
  .hero__mark { right: -6%; }
  .hero__inner { padding-top: calc(var(--header) + 40px); }
  .hero__eyebrow { margin-bottom: 64px; }
  .hero__actions { max-width: 420px; }
  .show__stage { padding: 40px; }
  .show__browser { display: flex; margin-left: 8%; }
  .show__phone { position: absolute; left: 20px; bottom: 24px; width: 22%; padding: 5px; border-radius: 20px; }
  .show__phone .device__screen { border-radius: 16px; }
  .show__phone .device__screen::before { height: 10px; top: 5px; }
}

@media (max-width: 960px) and (max-height: 700px) {
  .hero__inner { padding-top: calc(var(--header) + 12px); padding-bottom: 12px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__title { font-size: clamp(2.25rem, min(15.2vw, 7.5svh), 5rem); }
  .hero__aside { margin-top: 16px; }
  .hero__lead { font-size: .9375rem; line-height: 1.5; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .button { min-height: 48px; padding-block: 12px; }
  .hero__foot { padding-top: 12px; padding-bottom: calc(12px + var(--safe-b)); }
}

@media (max-width: 960px) and (max-height: 540px) {
  .hero__eyebrow, .hero__foot { display: none; }
}

@media (min-width: 480px) and (max-width: 960px) and (max-height: 520px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; align-content: center; align-items: center; padding-bottom: calc(16px + var(--safe-b)); }
  .hero__title { grid-column: 1; font-size: clamp(2.25rem, min(7.3vw, 14.5svh), 4rem); }
  .hero__aside { grid-column: 2; margin: 0; }
  .hero__lead { max-width: none; }
  .hero__actions { max-width: none; }
  .hero__actions .button { font-size: .8125rem; padding-inline: 8px; }
  .hero__mark { width: min(48vw, 330px); right: -10%; }
}

@media (min-width: 961px) and (max-height: 760px) {
  .hero__inner { padding-top: calc(var(--header) + 24px); padding-bottom: 24px; gap: 16px; }
  .hero__title { font-size: clamp(2.9rem, min(8.2vw, 13svh), 9.75rem); }
  .hero__aside { grid-column: 1 / span 6; margin-top: 16px; }
  .hero__lead { font-size: 1rem; max-width: 48ch; }
  .hero__actions { margin-top: 20px; }
  .hero__actions .button { min-height: 48px; padding-block: 12px; }
  .hero__foot { padding-block: 14px; }
}
