/* =========================================================
   V2_3 — Base44-inspired layer (loaded after styles.css)
   warm paper + grain · prompt-style brief bar · typed motion
   selection handles · solid grain colour blocks · arrow rows
   ========================================================= */
:root { --bg: #F4F1ED; --paper-grain-opacity: .16; }
body { background: var(--bg); }
/* page-wide paper grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--grain); background-size: 180px;
  opacity: var(--paper-grain-opacity); mix-blend-mode: multiply;
}
.header.is-scrolled { background: rgba(244,241,237,.8); }

/* ---------- typing caret ---------- */
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--purple); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Intro (logo pop -> typed wordmark -> prompt) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: transform .8s cubic-bezier(.76,0,.24,1);
}
.intro::after { content: ""; position: absolute; inset: 0; background: var(--grain); background-size: 180px; opacity: .16; mix-blend-mode: multiply; pointer-events: none; }
.intro.is-done { transform: translateY(-100%); }
.intro.is-gone { display: none; }
.intro__brand { display: flex; align-items: center; height: 90px; }
.intro__mark { width: 56px; height: 56px; transform: scale(0); }
.intro.is-playing .intro__mark { animation: pop .5s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes pop { 0% { transform: scale(0) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }
.intro__word { font-size: 84px; font-weight: 600; letter-spacing: -0.07em; line-height: 1; color: var(--ink); }
.intro__word b { color: var(--purple); font-weight: 600; }
.intro__prompt {
  width: min(520px, 86vw); height: 58px; padding: 0 10px 0 20px;
  display: flex; align-items: center;
  background: #fff; border-radius: 14px;
  box-shadow: 0 1px 0 rgba(15,15,15,.04), 0 12px 30px -16px rgba(15,15,15,.25);
  font-size: 16px; color: #3a3330;
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.intro__prompt.is-on { opacity: 1; transform: none; }
.intro__prompt .caret { margin-right: auto; }
.intro__send { width: 38px; height: 38px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.intro__send svg { width: 18px; height: 18px; }

/* ---------- Hero brief bar ---------- */
.hero__sub { margin-bottom: 34px; }
.brief {
  display: block; width: min(620px, 100%); text-align: left;
  background: #fff; border-radius: 18px; padding: 20px 14px 12px 20px;
  box-shadow: 0 1px 0 rgba(15,15,15,.04), 0 18px 40px -22px rgba(15,15,15,.3), inset 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.brief:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(15,15,15,.04), 0 24px 50px -22px rgba(100,80,223,.45), inset 0 0 0 1px rgba(100,80,223,.35); }
.brief__text { display: block; min-height: 52px; font-size: 18px; color: #3a3a3c; }
.brief__row { display: flex; align-items: center; gap: 12px; }
.brief__plus { font-size: 24px; font-weight: 300; line-height: 1; color: var(--ink); margin-right: auto; padding-left: 2px; }
.brief__meta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink); }
.brief__meta svg { width: 14px; height: 14px; }
.brief__send { width: 40px; height: 40px; border-radius: 10px; background: var(--purple); color: #fff; display: grid; place-items: center; transition: background .2s; }
.brief:hover .brief__send { background: var(--purple-hover); }
.brief__send svg { width: 18px; height: 18px; }
.kinds { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.kind {
  display: grid; justify-items: center; gap: 6px; min-width: 104px; padding: 12px 16px 10px;
  background: #fff; border-radius: 10px; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.kind svg { width: 20px; height: 20px; color: var(--purple); }
.kind:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(100,80,223,.4); }

/* ---------- Selection handles ---------- */
/* work thumbnails get "selected" on hover */
.work__thumb { overflow: visible; border-radius: 14px; }
.work__thumb::after, .work__grain { border-radius: inherit; }
.work__thumb::before {
  content: ""; position: absolute; inset: -6px; z-index: 3; pointer-events: none; opacity: 0;
  border: 1.5px solid var(--purple); border-radius: 2px;
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 9px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right / 9px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left / 9px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 9px 9px no-repeat;
  transition: opacity .2s;
}
.work:hover .work__thumb::before { opacity: 1; }

/* ---------- Split: solid grain block + arrow rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin: 40px 0 120px; }
.split__block {
  position: relative; overflow: hidden;
  background: var(--purple); color: #fff;
  padding: 90px 64px 90px max(24px, calc((100vw - var(--container)) / 2));
  min-height: 560px;
  display: flex; flex-direction: column; justify-content: center;
}
.split__grain { position: absolute; inset: 0; background: var(--grain); background-size: 160px; opacity: .45; mix-blend-mode: overlay; pointer-events: none; }
.split__block h2 { position: relative; font-size: clamp(48px, 6vw, 92px); font-weight: 600; letter-spacing: -0.055em; line-height: .94; }
.split__block h2 em { color: #fff; font-weight: 400; display: inline-block; font-size: 1.14em; line-height: .86; letter-spacing: -0.045em; }
.split__block h2 .nudge-up { position: relative; top: -0.08em; }
.split__block p { position: relative; margin-top: 30px; max-width: 420px; font-size: 18px; color: rgba(255,255,255,.82); }
.split__list { padding: 40px max(24px, calc((100vw - var(--container)) / 2)) 40px 64px; display: flex; flex-direction: column; justify-content: center; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1.5px solid var(--ink); }
.row:last-child { border-bottom: 0; }
.row b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.row small { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.arrow { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.arrow::before { content: ""; position: absolute; left: 8px; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); }
.arrow::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -5px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.row:hover .arrow { background: var(--purple); border-color: var(--purple); transform: translateX(4px); }
.row:hover .arrow::before { background: #fff; }
.row:hover .arrow::after { border-color: #fff; }

/* ---------- Plans: thick accent base bar (Base44 card style) ---------- */
.plan { box-shadow: inset 0 0 0 1px var(--line), inset 0 -6px 0 var(--purple); padding-bottom: 40px; }
.plan--featured { box-shadow: inset 0 -6px 0 var(--purple-light), 0 40px 80px -40px rgba(100,80,223,.6); }

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .split__block { min-height: 0; padding: 70px 32px; }
  .split__list { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- V2_6: client logos in the marquee ---------- */
.marquee__track { align-items: center; gap: 96px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 48px)); } }
.client { flex: none; opacity: .55; transition: opacity .3s; white-space: nowrap; color: var(--ink); }
.client:hover { opacity: 1; }
img.client { display: block; width: auto; filter: brightness(0); } /* one-colour logos */
.client--11   { height: 44px; }
.client--ldj  { height: 46px; }
.client--tmie { height: 34px; }
.client--glint { font-family: "Inter", sans-serif; font-weight: 900; font-size: 34px; letter-spacing: -0.05em; line-height: 1; }
.client--glint i { font-style: normal; }
.client--bfe { font-family: "Mona Sans", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .22em; text-transform: uppercase; line-height: 1; }
.client--samba { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 30px; letter-spacing: .2em; text-transform: uppercase; line-height: 1; padding-top: 3px; }

/* ---------- V2_11: live "videos delivered" ticker ---------- */
.stat__num[data-live] { display: inline-flex; align-items: center; gap: 14px; }
.stat__num[data-live]::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--purple);
  box-shadow: 0 0 0 0 rgba(100,80,223,.5); animation: livePulse 2s infinite;
}
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(100,80,223,.5); } 70%,100% { box-shadow: 0 0 0 10px rgba(100,80,223,0); } }
.stat__num.is-tick { animation: tickUp .6s var(--ease); }
@keyframes tickUp { 0% { transform: translateY(8px); opacity: .3; color: var(--purple); } 60% { color: var(--purple); } 100% { transform: none; opacity: 1; } }
