/* CreatStrat homepage sections. Loaded after site.css on index.html only.
   Every animation below ends on its resting state, so a stopped animation
   (reduced motion) or a missing script shows finished content.
   The ad tile, the headline underline, and the final Gap Scan live in site.css. */

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(var(--ink-rgb) / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--ink-rgb) / 5%) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: linear-gradient(to bottom, var(--ink) 40%, transparent); mask-image: linear-gradient(to bottom, var(--ink) 40%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 610px 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 8px 0 28px; }

.scan { display: grid; grid-template-columns: 1fr 1fr auto; margin-top: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-card); }
.scan-field { min-width: 0; padding: 8px 14px; border-right: 1px solid var(--line); border-radius: 0; }
.scan-field:nth-of-type(2) { border-right: 0; }
.scan-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scan-field input { display: block; width: 100%; margin-top: 2px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.4; outline: none; }
.scan-field input::placeholder { color: var(--placeholder); opacity: 1; }
.scan-field:focus-within { border-radius: var(--r); box-shadow: inset 0 0 0 2px var(--violet); }
.scan-field .field-error { margin-top: 2px; font-size: 12px; }
.scan-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.scan.is-submitted { display: block; margin-top: 34px; padding: 0; border: 0; background: none; box-shadow: none; }
.scan.is-submitted > :not(.form-success) { display: none; }
.scan.is-submitted + .scan-note { display: none; }


.mini-proof { display: flex; align-items: center; gap: 14px; width: fit-content; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mini-proof img { width: 40px; height: 40px; border-radius: 50%; }
.mini-proof b { color: var(--ink); }
.mini-proof:hover span { color: var(--violet); }

/* Ad wall */
.wall { position: relative; height: 660px; overflow: hidden; border-radius: 32px; background: radial-gradient(120% 80% at 80% 0%, var(--violet-bright) 0%, var(--violet) 45%, var(--violet-dark) 100%); box-shadow: 0 50px 90px -40px rgb(var(--violet-dark-rgb) / 70%); }
.wall::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, var(--violet) 0, transparent 14%, transparent 84%, var(--violet-dark) 100%); }
.wall-cols { position: absolute; inset: -40px 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: rotate(-4deg) scale(1.06); }
.wall-col { display: flex; flex-direction: column; animation: wall-up 46s linear infinite; }
.wall-col:nth-child(2) { animation: wall-down 54s linear infinite; }
.wall-col:nth-child(3) { animation-duration: 40s; }
.wall-set { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.batch-chip { position: absolute; z-index: 3; left: 22px; top: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: var(--r-pill); background: rgb(var(--ink-rgb) / 72%); color: var(--white); font-weight: 700; font-size: 13px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.batch-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.sticker { position: absolute; z-index: 3; padding: 11px 15px; border-radius: var(--r-md); box-shadow: 0 20px 34px -16px rgb(var(--black-rgb) / 55%); animation: pop .6s var(--ease-pop) both, bob 5s ease-in-out infinite; }
.sticker small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.sticker b { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.st-lime { background: var(--lime); color: var(--ink); }
.st-white { background: var(--white); color: var(--ink); }
.st-white small { color: var(--violet); opacity: 1; }
.st-ink { background: var(--ink); color: var(--white); }
.st-ink b { display: flex; gap: 8px; align-items: center; }
.st-ink b::before { content: '\2713'; color: var(--lime); }
.s1 { left: 22px; top: 96px; rotate: -5deg; animation-delay: .9s, 1.5s; }
.s2 { right: 20px; top: 300px; rotate: 4deg; animation-delay: 1.4s, 2.2s; }
.s3 { left: 70px; bottom: 90px; rotate: -3deg; animation-delay: 1.9s, 0s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* ---------- Proof band ---------- */
.proof-band { padding: 40px 0; background: var(--ink); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: 200px repeat(3, 1fr) 380px; gap: 36px; align-items: center; }
.proof-lab { font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--on-dark); }
.num b { display: block; font-weight: 850; font-size: 60px; line-height: 1; letter-spacing: -0.06em; color: var(--lime); }
.num span { display: block; font-size: 14px; color: var(--on-dark-3); }
.proof-band blockquote { font: italic 400 19px/1.35 var(--serif); color: var(--white); }
.proof-band figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--on-dark); }
.proof-band figcaption img { width: 28px; height: 28px; border-radius: 50%; }
.proof-band figcaption strong { font-weight: 600; color: var(--on-dark-3); }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-card { position: relative; height: 520px; overflow: hidden; border-radius: var(--r-2xl); }
.ba-tag { position: absolute; z-index: 2; left: 28px; top: 26px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.ba-tag small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.before { background: var(--mist); border: 1.5px dashed var(--mist-line); }
.note { position: absolute; max-width: 250px; padding: 12px 15px; border-radius: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.35; box-shadow: 0 16px 28px -18px rgb(var(--ink-rgb) / 45%); animation: drift 6s ease-in-out infinite; }
.note small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.n-chat, .n-doc, .n-strike { background: var(--white); }
.n-yellow { background: var(--note); }
.n-violet { background: var(--violet-soft); }
.n-doc { display: flex; align-items: center; gap: 10px; }
.n-doc::before { content: ''; flex: none; width: 22px; height: 26px; border-radius: 3px; background: var(--doc); }
.n-job { background: var(--white); border: 1.5px solid var(--ink); }
.n-strike { color: var(--muted); }
.n1 { left: 40px; top: 120px; rotate: -4deg; }
.n2 { right: 44px; top: 108px; rotate: 5deg; animation-delay: -2s; }
.n3 { left: 34px; top: 244px; rotate: 2deg; animation-delay: -4s; max-width: 215px; }
.n4 { right: 26px; top: 252px; rotate: -3deg; animation-delay: -1s; max-width: 225px; }
.n5 { left: 36px; top: 346px; rotate: -2deg; animation-delay: -3s; }
.n6 { right: 56px; top: 356px; rotate: 3deg; animation-delay: -5s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 4px -8px; } }
.after { background: var(--ink); color: var(--white); }
.after .ba-tag small { color: var(--on-dark); }
.orbit-loop { position: absolute; left: 50%; top: 57%; width: 330px; height: 330px; transform: translate(-50%, -50%); }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--ring); }
.orbit-dot { position: absolute; inset: 0; animation: spin 7s linear infinite; }
.orbit-dot::before { content: ''; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgb(var(--lime-rgb) / 20%), 0 0 24px var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-hub { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 26px; background: var(--ink); border: 1.5px solid var(--line-dark-2); display: grid; place-items: center; box-shadow: 0 0 60px rgb(var(--violet-rgb) / 45%); }
.orbit-hub img { width: 70px; height: 70px; }
.node { position: absolute; transform: translate(-50%, -50%); padding: 9px 14px; border-radius: var(--r-pill); background: var(--ink-4); border: 1px solid var(--line-dark-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.node.hot { background: var(--violet); border-color: var(--violet); }
.node-1 { left: 50%; top: 0; }
.node-2 { left: 97.5%; top: 34.5%; }
.node-3 { left: 79.4%; top: 90.5%; }
.node-4 { left: 20.6%; top: 90.5%; }
.node-5 { left: 2.5%; top: 34.5%; }

/* ---------- How it works: stage tabs ---------- */
.hiw { position: relative; overflow: hidden; }
.hiw::before { content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; pointer-events: none; background: radial-gradient(circle, rgb(var(--violet-rgb) / 45%), transparent 60%); }
.hiw .wrap { position: relative; }
.stage-tabs { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.stage-tab { position: relative; overflow: hidden; padding: 16px 16px 18px; border: 1px solid var(--line-dark); border-radius: var(--r-md); background: var(--ink-3); color: var(--on-dark); text-align: left; transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.stage-tab:hover { border-color: var(--line-dark-2); }
.stage-tab span { display: block; margin-bottom: 8px; font: 700 12px/1 var(--mono); color: var(--on-dark-faint); }
.stage-tab b { display: block; font-weight: 750; font-size: 16px; letter-spacing: -0.02em; color: var(--white); }
.stage-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.stage-tab[aria-selected="true"] { background: var(--tab-on); border-color: var(--violet); }
.stage-tab[aria-selected="true"] span { color: var(--lime); }
.stages.is-playing .stage-tab[aria-selected="true"] .stage-bar { animation: fill var(--stage-dwell) linear forwards; }
.stages.is-playing:hover .stage-bar, .stages.is-playing:focus-within .stage-bar { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.stage-panels { position: relative; display: grid; gap: 20px; }
.stage-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; min-height: 520px; padding: 44px; border: 1px solid var(--line-dark); border-radius: var(--r-2xl); background: var(--ink-3); }
.stage-panel:focus-visible { outline-offset: -3px; }
.stage-no { font: 700 13px/1 var(--mono); color: var(--lime); }
.stage-panel h3 { margin: 16px 0 18px; font-weight: 830; font-size: 46px; line-height: 1; letter-spacing: -0.05em; }
.stage-panel p { font-size: 17px; color: var(--on-dark-2); }
.stage-panel ul { margin-top: 24px; }
.stage-panel li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-dark); font-size: 15px; font-weight: 600; }
.stage-panel li::before { content: '\2713'; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 900; line-height: 1; }
.stage-vis { position: relative; height: 430px; overflow: hidden; border-radius: var(--r-xl); background: radial-gradient(90% 90% at 30% 10%, var(--violet-bright), var(--violet) 50%, var(--violet-dark)); display: grid; place-items: center; }
.card { border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 30px 50px -24px rgb(var(--black-rgb) / 60%); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.card-h small { font: 600 11px/1 var(--mono); color: var(--muted); }
.w-420 { width: 420px; }
.w-430 { width: 430px; }
.w-470 { width: 470px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.c-lime { background: var(--lime); color: var(--ink); }
.c-vio { background: var(--violet-soft); color: var(--violet-dark); }
.c-ink { background: var(--ink); color: var(--white); }
.c-line { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.src { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-weight: 650; font-size: 14.5px; }
.src:first-child { border-top: 0; }
.src-icon { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; }
.src-icon svg { width: 16px; height: 16px; }
.src em { margin-left: auto; display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.src em::before { content: '\2713'; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 11px; }
.review-card { align-self: start; justify-self: start; margin: 26px; }
.review { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.card-h + .review { border-top: 0; }
.stars { font-size: 12px; letter-spacing: 1px; color: var(--star); }
.hl { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 85% / 100% 45%; }
.avatar-card { position: absolute; right: 26px; bottom: 26px; width: 250px; padding: 16px; }
.avatar-card small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.avatar-card b { display: block; margin: 4px 0 10px; font-weight: 800; font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tp { display: grid; grid-template-columns: 62px 96px 1fr; gap: 10px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.tp:first-child { border-top: 0; }
.tp code { font: 600 11.5px/1 var(--mono); color: var(--muted); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 18px 6px; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--mist-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame span { position: absolute; left: 7px; top: 7px; padding: 3px 6px; border-radius: var(--r-xs); background: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.frame-proof img { object-position: 50% 100%; transform: scale(1.6); transform-origin: 40% 90%; }
.frame-payoff img { object-position: 0 0; transform: scale(1.7); transform-origin: 10% 20%; }
.brief-lines { padding: 10px 18px 14px; }
.brief-lines small { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.brief-lines p { margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.typing { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.drop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(520px, 90%); }
.drop .creative { box-shadow: 0 20px 30px -16px rgb(var(--black-rgb) / 60%); }
.ready { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; border-radius: var(--r-xs); background: var(--lime); color: var(--ink); font-size: 10.5px; font-weight: 800; }
.crop-a img { object-position: 50% 100%; transform: scale(1.5); transform-origin: 45% 88%; }
.crop-b img { transform: scale(1.8); transform-origin: 28% 96%; }
.crop-c img { transform: scale(1.4); transform-origin: 80% 60%; }
.crop-d img { transform: scale(2); transform-origin: 70% 55%; }
.batch-ready { display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 850; font-size: 15px; line-height: 1.2; text-align: center; }
.bars { padding: 16px 18px 6px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 13.5px; font-weight: 650; }
.bar-track { height: 14px; overflow: hidden; border-radius: 7px; background: var(--track); }
.bar-fill { height: 100%; border-radius: 7px; background: var(--violet); transform-origin: left; }
.bar-fill.lime { background: var(--lime); }
.learn-next { padding: 12px 18px 18px; border-top: 1px solid var(--line); }
.learn-next small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.learn-next .chips { gap: 6px; margin-top: 8px; }
.steer { margin: 0 18px 18px; padding: 11px 13px; border: 1.5px dashed var(--mist-line); border-radius: var(--r); font-size: 13px; color: var(--ink-2); }

/* Tabs mode. Without scripts every stage stays visible and stacked. */
.stages:not(.is-live) .stage-tabs { display: none; }
.stages.is-live .stage-panels { display: block; }
.stages.is-live .stage-panel.on .seq > * { animation: rise .5s var(--ease-out) both; }
.stages.is-live .stage-panel.on .seq > :nth-child(2) { animation-delay: .25s; }
.stages.is-live .stage-panel.on .seq > :nth-child(3) { animation-delay: .5s; }
.stages.is-live .stage-panel.on .seq > :nth-child(4) { animation-delay: .75s; }
.stages.is-live .stage-panel.on .seq > :nth-child(5) { animation-delay: 1s; }
.stages.is-live .stage-panel.on .seq > :nth-child(6) { animation-delay: 1.25s; }
.stages.is-live .stage-panel.on .hl { animation: mark 1s .8s ease both; }
.stages.is-live .stage-panel.on .review + .review .hl { animation-delay: 1.6s; }
.stages.is-live .stage-panel.on .typing { animation: type 1.6s steps(40) .9s both; }
.stages.is-live .stage-panel.on .drop > * { animation: dropin .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.stages.is-live .stage-panel.on .drop > :nth-child(2) { animation-delay: .2s; }
.stages.is-live .stage-panel.on .drop > :nth-child(3) { animation-delay: .4s; }
.stages.is-live .stage-panel.on .drop > :nth-child(4) { animation-delay: .6s; }
.stages.is-live .stage-panel.on .drop > :nth-child(5) { animation-delay: .8s; }
.stages.is-live .stage-panel.on .drop > :nth-child(6) { animation-delay: 1s; }
.stages.is-live .stage-panel.on .drop > :nth-child(7) { animation-delay: 1.2s; }
.stages.is-live .stage-panel.on .drop > :nth-child(8) { animation-delay: 1.4s; }
.stages.is-live .stage-panel.on .bar-fill { animation: grow 1.2s .6s var(--ease-out) both; }
@keyframes mark { from { background-size: 0% 45%; } to { background-size: 100% 45%; } }
@keyframes type { from { width: 0; } to { width: 100%; } }
@keyframes dropin { from { opacity: 0; transform: translateY(-40px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Inside one ad ---------- */
.anat { position: relative; display: grid; grid-template-columns: 1fr 460px 1fr; gap: 70px; align-items: center; }
.anat-figure { position: relative; }
.anat-figure img { width: 460px; border-radius: var(--r-xl); box-shadow: 0 40px 80px -40px rgb(var(--ink-rgb) / 55%); }
.pin { position: absolute; z-index: 2; width: 26px; height: 26px; border: 3px solid var(--white); border-radius: 50%; background: var(--violet); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.pin::after { content: ''; position: absolute; inset: -3px; border: 2px solid var(--violet); border-radius: 50%; opacity: 0; animation: ripple 2s ease-out infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.pin-hook { left: 48%; top: 14%; }
.pin-avatar { left: 22%; top: 66%; }
.pin-test { left: 70%; top: 52%; }
.co { display: flex; flex-direction: column; gap: 18px; }
.co-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.co-k { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); }
.co-k i { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: var(--white); display: grid; place-items: center; font-style: normal; font-size: 11px; letter-spacing: 0; }
.co-v { margin-top: 8px; font-weight: 750; font-size: 19px; line-height: 1.25; letter-spacing: -0.025em; }
.co-v.s { font-weight: 500; font-size: 15px; line-height: 1.45; letter-spacing: 0; color: var(--ink-2); }
.meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.meta-row span { padding: 7px 11px; border-radius: var(--r-sm); background: var(--violet-soft); color: var(--violet-dark); font-size: 13px; white-space: nowrap; }
.anat-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 52px; }

/* ---------- Your creative strategist is built in ---------- */
.team { position: relative; overflow: hidden; }
.team::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(var(--white-rgb) / 7%) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--white-rgb) / 7%) 1px, transparent 1px); background-size: 80px 80px; }
.team .wrap { position: relative; }
.merge { display: grid; grid-template-columns: 1fr 120px 440px; align-items: center; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role { padding: 20px 22px; border: 1px solid rgb(var(--white-rgb) / 22%); border-radius: var(--r-lg); background: rgb(var(--white-rgb) / 10%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.role b { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.role b em { padding: 4px 7px; border-radius: var(--r-xs); background: var(--lime); color: var(--ink); font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.role p { margin-top: 8px; font-size: 14px; color: var(--on-violet); }
.merge.in .role { animation: gather .9s var(--ease-out) both; }
.merge.in .role:nth-child(2) { animation-delay: .12s; }
.merge.in .role:nth-child(3) { animation-delay: .24s; }
.merge.in .role:nth-child(4) { animation-delay: .36s; }
@keyframes gather { from { opacity: 0; transform: translateX(-30px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.merge-arrow { display: grid; place-items: center; height: 100%; }
.merge-arrow svg { width: 100px; height: 260px; overflow: visible; }
.merge-arrow path { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 6 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.plan-lime { padding: 30px; border-radius: 26px; background: var(--lime); color: var(--ink); box-shadow: var(--shadow-lift); }
.plan-lime .logo { margin-bottom: 20px; }
.plan-lime .wordmark { color: var(--ink); }
.plan-lime .wordmark span { color: var(--violet); }
.plan-lime .wordmark i { color: var(--ink); }
.plan-lime h3 { font-weight: 830; font-size: 26px; line-height: 1.05; letter-spacing: -0.045em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.plan-price small { font-weight: 700; font-size: 14px; }
.plan-price b { font-weight: 850; font-size: 54px; line-height: 1; letter-spacing: -0.06em; }
.plan-price span { font-weight: 600; font-size: 14px; }
.plan-lime ul { margin: 18px 0 22px; border-top: 1.5px solid rgb(var(--ink-rgb) / 15%); }
.plan-lime li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgb(var(--ink-rgb) / 10%); font-weight: 650; font-size: 14.5px; }
.plan-lime li::before { content: '\2713'; font-weight: 900; }
.plan-lime .btn { width: 100%; }
.team-quote { display: grid; grid-template-columns: 56px 1fr; gap: 20px; max-width: 980px; margin-top: 64px; }
.team-quote > img { width: 56px; height: 56px; border: 2px solid var(--lime); border-radius: 50%; }
.team-quote blockquote { font: italic 400 28px/1.3 var(--serif); }
.team-quote figcaption { margin-top: 12px; font-size: 14px; color: var(--on-violet); }
.team-quote figcaption strong { font-weight: 600; color: var(--white); }

/* ---------- Formats and the work ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.format-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); }
.format-stage { position: relative; display: grid; place-items: center; height: 300px; overflow: hidden; background: var(--violet-soft); }
.format-card:nth-child(2) .format-stage { background: var(--lime-soft); }
.format-card:nth-child(3) .format-stage { background: var(--mist-2); }
.format-card:nth-child(4) .format-stage { background: var(--night-2); }
.format-body { padding: 22px 22px 24px; }
.format-body h3 { font-weight: 820; font-size: 24px; letter-spacing: -0.045em; }
.format-body > p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.format-body dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.format-body dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.format-body dd { margin-top: 3px; font-weight: 600; }
.w-176 { width: 176px; }
.w-140 { width: 140px; }
.carousel { position: relative; width: 190px; height: 190px; overflow: hidden; border-radius: var(--r-md); box-shadow: 0 20px 30px -16px rgb(var(--black-rgb) / 45%); }
.carousel-track { display: flex; width: 300%; height: 100%; animation: slide 7.5s infinite; }
.carousel-track > div { flex: none; width: 33.333%; height: 100%; overflow: hidden; }
.carousel img { width: 100%; height: 100%; object-fit: cover; }
.slide-1 img { object-position: 50% 0; }
.slide-2 img { object-position: 50% 100%; transform: scale(1.6); transform-origin: 30% 85%; }
.slide-3 img { object-position: 50% 100%; transform: scale(1.9); transform-origin: 80% 80%; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; }
.carousel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--white-rgb) / 60%); }
@keyframes slide { 0%, 28% { transform: translateX(0); } 33%, 61% { transform: translateX(-33.333%); } 66%, 94% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.work-row { margin-top: 90px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, var(--ink) 8%, var(--ink) 92%, transparent); mask-image: linear-gradient(to right, transparent, var(--ink) 8%, var(--ink) 92%, transparent); }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.work-row:hover .marquee, .work-row:focus-within .marquee { animation-play-state: paused; }
.marquee-set { display: flex; gap: 18px; padding-right: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.work { display: block; flex: none; width: 240px; padding-bottom: 4px; }
.work .creative { border-radius: 16px; }
.work-cat { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.work b { display: block; margin-top: 3px; font-weight: 750; font-size: 16px; letter-spacing: -0.02em; }
a.work:hover .work-cat span:last-child { color: var(--violet); }

/* ---------- Results ---------- */
.results { padding-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.stat-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); }
.stat-big { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 850; font-size: 54px; line-height: 1; letter-spacing: -0.06em; color: var(--violet); }
.stat-big i { font-style: normal; font-size: 34px; color: var(--ink); }
.stat-u { margin-top: 8px; font-weight: 700; font-size: 14px; }
.stat-card blockquote { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.stat-card figcaption, .story figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.stat-card figcaption img, .story figcaption img { width: 30px; height: 30px; border-radius: 50%; }
.stat-card figcaption strong, .story figcaption strong { font-weight: 700; color: inherit; }
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story { padding: 32px; border-radius: var(--r-xl); background: var(--ink); color: var(--white); }
.story + .story { background: var(--violet-soft); color: var(--ink); }
.story blockquote { font: italic 400 24px/1.35 var(--serif); }
.story:first-child figcaption { color: var(--on-dark); }

/* ---------- Pricing ---------- */
.offer { display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; border-radius: var(--r-2xl); box-shadow: 0 50px 90px -40px rgb(var(--ink-rgb) / 70%); }
.offer-inc { display: flex; flex-direction: column; padding: 40px; background: var(--ink); color: var(--white); }
.offer-inc .logo-tile { background: var(--ink-4); }
.offer-name { margin-top: 26px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lime); }
.offer-inc h3 { margin: 8px 0 14px; font-weight: 830; font-size: 34px; letter-spacing: -0.05em; }
.offer-inc li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-dark); font-size: 15.5px; font-weight: 550; }
.offer-inc li::before { content: '\2713'; font-weight: 900; color: var(--lime); }
.inc-fmts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: auto; padding-top: 28px; }
.inc-fmts .creative { border-radius: var(--r); }
.inc-fmts p { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--on-dark); }
.offer-buy { padding: 40px; background: var(--white); color: var(--ink); }
.offer-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 28px; }
.preset { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); text-align: left; transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.preset:hover { border-color: var(--mist-line); }
.preset b { display: block; font-weight: 800; font-size: 17px; letter-spacing: -0.03em; }
.preset span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.preset[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); box-shadow: 0 0 0 3px rgb(var(--violet-rgb) / 15%); }
.preset[aria-pressed="true"] span { color: var(--violet-dark); }
.offer-amt { display: flex; align-items: baseline; gap: 10px; min-height: 72px; margin: 6px 0 8px; }
.offer-amt strong { font-weight: 850; font-size: 72px; line-height: 1; letter-spacing: -0.065em; }
.offer-amt span { font-weight: 600; font-size: 15px; color: var(--muted); }
.offer-deliv { font-weight: 750; font-size: 15px; }
.offer-deliv.is-warning { color: var(--error); }
.offer-dsub { margin-top: 3px; font-size: 13px; color: var(--muted); }
.offer-dsub:empty { display: none; }
.mix { margin: 24px 0; padding: 6px 16px; border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.mix legend { float: left; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0 8px; font-weight: 800; font-size: 14px; }
.mix legend small { font-weight: 600; font-size: 12px; color: var(--muted); }
.step { clear: both; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 650; font-size: 14.5px; }
.ctl { display: flex; align-items: center; gap: 4px; }
.ctl button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink-2); display: grid; place-items: center; font-weight: 700; font-size: 16px; line-height: 1; }
.ctl button:hover:not([disabled]) { border-color: var(--violet); color: var(--violet); }
.ctl button[disabled] { opacity: .4; cursor: default; }
.ctl input { width: 44px; height: 30px; border: 1px solid transparent; border-radius: 6px; background: transparent; text-align: center; font: 700 15px/1 var(--mono); -moz-appearance: textfield; appearance: textfield; }
.ctl input::-webkit-outer-spin-button, .ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ctl input:hover { border-color: var(--line); }
.ctl input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(var(--violet-rgb) / 15%); }
.ctl input:invalid { color: var(--error); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.offer-buy .input { height: 46px; font-size: 14.5px; }
.offer-submit { width: 100%; min-height: 54px; font-size: 16px; }
.offer-buy [data-checkout-error] { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.offer-buy [data-checkout-error]:empty { display: none; }
.offer-buy [data-checkout-error].visible { color: var(--error); font-weight: 650; }
.offer-fine { margin-top: 12px; font-size: 12.5px; text-align: center; color: var(--muted); }

.after-offer { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; margin-top: 18px; }
.tile-link { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; border: 1px solid rgb(var(--white-rgb) / 25%); border-radius: 20px; background: rgb(var(--white-rgb) / 12%); color: var(--white); }
.tile-link b { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.tile-text { font-size: 14.5px; color: var(--on-violet); }
.tile-cta { margin-top: 8px; font-weight: 750; color: var(--lime); }
a.tile-link:hover .tile-cta, .quote-tile summary:hover .tile-cta { text-decoration: underline; text-underline-offset: 3px; }
.demo-tile { border-color: var(--white); background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -34px rgb(var(--ink-rgb) / 70%); }
.demo-tile .tile-text { color: var(--ink-2); }
.demo-tile .tile-cta { color: var(--violet); }
.call-chip { align-self: flex-start; margin-bottom: 8px; padding: 5px 9px; border-radius: var(--r-sm); background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.quote-tile { padding: 0; }
.quote-tile summary { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; list-style: none; cursor: pointer; border-radius: 20px; }
.quote-tile summary::-webkit-details-marker { display: none; }
.quote-tile[open] { grid-column: 1 / -1; }
@media (min-width: 1061px) {
  .after-offer:has(.quote-tile[open]) { grid-template-columns: 1fr 1fr; }
}
.quote-tile .when-open, .quote-tile[open] .when-closed { display: none; }
.quote-tile[open] .when-open { display: inline; }
.quote-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; padding: 4px 26px 26px; }
.quote-body h3 { font-weight: 820; font-size: 24px; letter-spacing: -0.04em; }
.quote-body > div > p { margin-top: 8px; font-size: 14.5px; color: var(--on-violet); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 750; }
.quote-form .span-2 { grid-column: 1 / -1; }
.quote-form .btn { grid-column: 1 / -1; }
.quote-form [data-production-plan-message] { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); }

/* Presets and stepper buttons need scripts; the number inputs work without them. */
html:not(.js) .presets, html:not(.js) .ctl button { display: none; }


/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .h1 { font-size: 68px; }
  .proof-grid { grid-template-columns: 170px repeat(3, 1fr); }
  .proof-band figure { grid-column: 1 / -1; max-width: 760px; }
  .anat { grid-template-columns: 1fr 380px 1fr; gap: 36px; }
  .anat-figure img { width: 380px; }
  .merge { grid-template-columns: 1fr 90px 400px; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .stat-big { font-size: 40px; }
}
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 680px; }
  .wall { width: 100%; max-width: 640px; height: 560px; }
  .stage-tabs { grid-template-columns: repeat(3, 1fr); }
  .stage-panel { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 32px; }
  .stat-big { font-size: 34px; gap: 8px; }
  .stat-big i { font-size: 24px; }
  .anat { grid-template-columns: 1fr 1fr; }
  .anat-figure { grid-column: 1 / -1; justify-self: center; order: -1; }
  .merge { grid-template-columns: 1fr; gap: 24px; }
  .merge-arrow { display: none; }
  .plan-lime { max-width: 480px; }
  .offer { grid-template-columns: 1fr; }
  .after-offer { grid-template-columns: 1fr; }
  .quote-tile[open] { grid-column: auto; }
  .quote-body { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 860px) {
  .ba { grid-template-columns: 1fr; }
  .stats, .stories { grid-template-columns: 1fr; }
  .stat-big { font-size: 48px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .hero { padding: 36px 0 60px; }
  .hero-grid { gap: 40px; }
  .hero h1 { margin: 12px 0 18px; }
  .h1 { font-size: var(--fs-h1); }
  .scan { grid-template-columns: 1fr; }
  .scan-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .scan-field:nth-of-type(2) { border-bottom: 0; }
  .scan .btn { margin-top: 8px; }
  .wall { height: 470px; border-radius: 24px; }
  .wall-cols { inset: -40px 14px; gap: 10px; }
  .wall-set { gap: 10px; padding-bottom: 10px; }
  .creative-ov b { font-size: 15px; }
  .creative-ugc span { font-size: 10px; }
  .sticker { padding: 8px 11px; }
  .sticker b { font-size: 12.5px; }
  .s1 { left: 14px; }
  .s2 { top: 220px; right: 12px; }
  .s3 { left: 30px; bottom: 60px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .proof-lab, .proof-band figure { grid-column: 1 / -1; }
  .num b { font-size: 40px; }
  .num span { display: block; font-size: 12.5px; line-height: 1.3; }
  .ba-card { height: 470px; }
  .before { height: auto; display: flex; flex-direction: column; gap: 14px; padding: 104px 20px 26px; }
  .before .note { position: static; max-width: none; animation: none; }
  .note { font-size: 13px; }
  .orbit-loop { width: 240px; height: 240px; top: 58%; }
  .orbit-hub { width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 20px; }
  .orbit-hub img { width: 54px; height: 54px; }
  .node { padding: 7px 11px; font-size: 12.5px; }
  .stage-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stage-tab { padding: 11px 11px 13px; }
  .stage-tab span { margin-bottom: 6px; }
  .stage-tab b { font-size: 13.5px; line-height: 1.2; }
  .stage-panel { padding: 20px; border-radius: var(--r-xl); }
  .stage-panel h3 { font-size: 34px; margin: 12px 0 12px; }
  .stage-panel p { font-size: 15.5px; }
  .stage-vis { height: auto; min-height: 340px; padding: 16px; }
  .stage-vis .card { width: 100%; margin: 0; justify-self: stretch; align-self: center; }
  .stage-vis .avatar-card { position: absolute; width: 220px; left: auto; right: 14px; bottom: 14px; }
  .review-card { align-self: start; }
  .stage-vis .card-h small { display: none; }
  .tp { grid-template-columns: 56px 1fr; }
  .tp .chip { display: none; }
  .typing { white-space: normal; }
  .stages.is-live .stage-panel.on .typing { animation: rise .5s .9s var(--ease-out) both; }
  .drop { width: 100%; gap: 8px; }
  .drop .creative-fmt { display: none; }
  .ready { left: 5px; bottom: 5px; padding: 3px 5px; font-size: 8.5px; }
  .bar-row { grid-template-columns: 110px 1fr; }
  .anat { grid-template-columns: 1fr; gap: 18px; }
  .anat-figure img { width: 100%; }
  .co { gap: 12px; }
  .co-v { font-size: 17px; }
  .anat-cta { margin-top: 36px; }
  .anat-cta .btn { width: 100%; }
  .roles { grid-template-columns: 1fr; }
  .team-quote { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .team-quote blockquote { font-size: 22px; }
  .formats { grid-template-columns: 1fr; }
  .format-stage { height: 250px; }
  .work-row { margin-top: 56px; }
  .work { width: 200px; }
  .stat-big { font-size: 44px; }
  .story { padding: 24px; }
  .story blockquote { font-size: 20px; }
  .offer-inc, .offer-buy { padding: 24px 20px; }
  .offer-inc h3 { font-size: 28px; }
  .presets { grid-template-columns: repeat(2, 1fr); }
  .offer-amt strong { font-size: 56px; }
  .two { grid-template-columns: 1fr; }
  .mix legend { flex-direction: column; gap: 2px; }
  .ctl button { width: 40px; height: 40px; }
  .quote-form { grid-template-columns: 1fr; padding: 18px; }
  .quote-body { padding: 4px 18px 18px; }
}

/* ---------- Reduced motion ---------- */
/* site.css stops every animation. The work row becomes a scrollable strip without its loop copy. */
@media (prefers-reduced-motion: reduce) {
  .work-row { overflow-x: auto; padding: 0 var(--gutter) 8px; -webkit-mask-image: none; mask-image: none; }
  .marquee-set[aria-hidden="true"] { display: none; }
}
