/* KittyCut — one stylesheet, three layouts.
   Desktop ≥1024px is the base; tablet 641–1023px and mobile ≤640px override below. */

:root {
  --ink: #121212;
  --ink-2: #3A3A3A;
  --line: #D6D6D6;
  --paper: #FFFFFF;
  --accent: #FF5A1F;
  --purple: #5B2EFF;
  --lime: #D4FF3A;
  --pink: #FF8FB1;
  --red: #E0261B;
  --lavender: #F3F0FF;
  --muted-on-dark: #C9C9C9;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --border: 2px solid var(--ink);
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
}

a { color: var(--ink); }
a:hover { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; }
p { margin: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; }

/* Copy variants: d = desktop, t = tablet, m = mobile */
.v-t, .v-m, .v-tm { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 16px 28px;
  border: var(--border); border-radius: 14px;
  font: 700 18px/1.2 var(--body); text-decoration: none; text-align: center;
  cursor: pointer;
}
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--lime); }
.btn-accent:hover, .btn-white:hover { color: var(--ink); }
.btn-accent:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Header ---------- */
.site-header { border-bottom: var(--border); padding: 20px var(--gutter); }
.header-bar {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-cat { width: 42px; height: 42px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 8px 28px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav .nav-cta {
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav .nav-cta:hover { color: var(--lime); }

.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: var(--border);
  background: var(--paper); align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.menu {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 0 6px;
  font-family: var(--display); font-weight: 800; font-size: 26px;
}
.menu a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); min-height: 44px; }
.menu .menu-cta {
  margin-top: 8px; border: 0; text-align: center; background: var(--ink); color: var(--paper);
  padding: 14px; border-radius: 14px; font: 700 18px/1.2 var(--body);
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  border: var(--border); border-radius: 999px; padding: 6px 14px; background: var(--lime);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.035em; }
.hl {
  background: var(--lime); padding: 0 0.12em; border-radius: 10px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-lede { font-size: 20px; max-width: 560px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative; width: 280px; height: 500px; border-radius: 36px;
  background: var(--ink); border: var(--border); padding: 10px;
  box-shadow: 10px 10px 0 var(--purple);
}
.phone-hat { position: absolute; width: 96px; height: 54px; top: -46px; left: 50%; margin-left: -48px; }
.hero-video { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; display: block; background: var(--ink); }
.badge {
  position: absolute; z-index: 1; top: 18px; left: 232px; transform: rotate(10deg);
  width: 112px; height: 112px; border-radius: 50%; background: var(--accent); border: var(--border);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.05; text-transform: uppercase;
}
.sound-btn {
  position: absolute; right: 20px; bottom: 62px; z-index: 2; /* sits above the timeline card overlap */
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(18, 18, 18, 0.75); border: 2px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.sound-btn .icon-sound { display: none; }
.sound-btn[aria-pressed="true"] .icon-sound { display: block; }
.sound-btn[aria-pressed="true"] .icon-muted { display: none; }

.timeline {
  position: relative; margin-top: -48px; width: 100%; max-width: 440px;
  background: var(--paper); border: var(--border); border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 5px 5px 0 var(--ink);
}
.tl-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.tl-row { display: flex; gap: 6px; align-items: center; }
.tl-label { width: 24px; font-size: 11px; font-weight: 700; }
.tl-clip { height: 20px; border-radius: 5px; border: 1.5px solid var(--ink); }
.tl-clip.lime { background: var(--lime); }
.tl-clip.purple { background: var(--purple); }
.tl-clip.accent { background: var(--accent); }
.tl-clip { transform-origin: left center; }
.tl-playhead {
  position: absolute; z-index: 1; top: 34px; bottom: 10px; left: 42px; width: 2px;
  background: var(--red); border-radius: 2px; opacity: 0; pointer-events: none;
}
.tl-playhead::before {
  content: ""; position: absolute; top: -6px; left: -4px;
  border: 5px solid transparent; border-top: 6px solid var(--red);
}
.phone-hat { transform-origin: 50% 100%; }
.cta-cat-wrap { position: relative; display: inline-flex; }
.cta-paw { position: absolute; right: -26px; bottom: 2px; width: 34px; height: 34px; color: var(--ink); transform-origin: 50% 90%; }

/* ---------- Format strip (ticker tape) ---------- */
.strip { background: var(--ink); color: var(--paper); padding: 22px 0; border-block: var(--border); overflow: hidden; }
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* Four identical lists; sliding by half the track (two lists) loops seamlessly */
.ticker-track { display: flex; width: max-content; --ticker-time: 50s; }
.ticker-list {
  flex: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 28px 0 0; list-style: none;
  white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 24px;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.3;
}
.ticker-list .star { color: var(--lime); }

/* ---------- Shared section bits ---------- */
.section { padding: 80px 0; }
.h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -0.03em; }
.lede { font-size: 19px; color: var(--ink-2); }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Smart tools ---------- */
.humans .stack { gap: 48px; }
.humans-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.humans-head .h2 { flex: 1 1 520px; }
.humans-head .lede { flex: 1 1 380px; }
.h2-cat { width: 0.9em; height: 0.9em; vertical-align: -0.1em; margin-left: 0.2em; transform: rotate(8deg); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { border: var(--border); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pillar.lime { background: var(--lime); }
.pillar.purple { background: var(--purple); color: var(--paper); }
.pillar.accent { background: var(--accent); }
.pillar-num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.pillar h3 { font-size: 26px; letter-spacing: -0.02em; }
.pillar p { font-size: 17px; }

.process-table { overflow-x: auto; border: var(--border); border-radius: 22px; }
.process-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 17px; }
.process-table caption {
  text-align: left; padding: 20px 24px 4px; font-family: var(--display); font-weight: 800; font-size: 24px;
}
.process-table thead th {
  text-align: left; padding: 18px 24px; border-bottom: var(--border);
  font-family: var(--display); font-size: 20px; font-weight: 800;
}
.process-table thead th:first-child { font-family: var(--body); font-size: inherit; font-weight: 700; }
.process-table thead th.col-editor { background: var(--ink); color: var(--paper); }
.process-table tbody th, .process-table tbody td { padding: 16px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.process-table tbody th { font-weight: 600; }
.process-table tbody tr:last-child > * { border-bottom: 0; }
.process-table tbody td.col-editor { background: var(--lavender); font-weight: 700; }

.process-list { display: none; border: var(--border); border-radius: 20px; overflow: hidden; }
.process-list h3 { padding: 18px 18px 14px; font-size: 22px; border-bottom: var(--border); }
.process-list dl { margin: 0; }
.process-list dl > div { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.process-list dl > div:last-child { border-bottom: 0; }
.process-list dt { font-weight: 700; font-size: 16px; }
.process-list dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.chip { border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; }
.chip.dark { background: var(--ink); color: var(--paper); }

/* ---------- How it works ---------- */
.how { background: var(--purple); color: var(--paper); border-block: var(--border); }
.how .stack { gap: 48px; }
.how .h2 { max-width: 820px; }
.paws { display: inline-flex; gap: 0.12em; margin-left: 0.25em; vertical-align: middle; color: var(--lime); }
.paw { width: 0.42em; height: 0.42em; }
.paw.p1, .paw.p3 { transform: rotate(-20deg) translateY(0.15em); }
.paw.p2 { transform: rotate(15deg) translateY(-0.15em); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step {
  background: var(--paper); color: var(--ink); border: var(--border); border-radius: 22px; padding: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.step-body { display: flex; flex-direction: column; gap: 10px; }
.step-num { display: none; }
.step-pill {
  align-self: flex-start; background: var(--lime); border: var(--border); border-radius: 999px;
  padding: 2px 12px; font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 28px; }
.step p { font-size: 17px; }

/* ---------- Work ---------- */
.work .stack { gap: 36px; }
.work-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.work-title { display: flex; flex-direction: column; gap: 12px; flex: 1 1 480px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: var(--border);
  font: 700 16px/1.2 var(--body); cursor: pointer; background: var(--paper); color: var(--ink);
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.work-group { display: flex; flex-direction: column; gap: 12px; }
.work-group h3 { font-size: 24px; }
.grid-reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.clip { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.clip video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block;
  border: var(--border); border-radius: 18px; background: var(--ink);
}
.clip video.wide { aspect-ratio: 16 / 9; }
.clip figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tag { border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; }
.tag.lime { background: var(--lime); }
.tag.purple { background: var(--purple); color: var(--paper); }
.tag.accent { background: var(--accent); }
.tag.dark { background: var(--ink); color: var(--paper); }

/* ---------- Benefits ---------- */
.benefits { padding-top: 0; }
.benefits .stack { gap: 40px; }
.benefits .h2 { max-width: 820px; }
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  background: var(--ink); border: var(--border); border-radius: 22px; overflow: hidden;
}
.benefit { background: var(--paper); padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.benefit h3 { font-size: 24px; }
.benefit p { font-size: 17px; color: var(--ink-2); }

/* ---------- Pricing ---------- */
.pricing { background: var(--lime); border-block: var(--border); }
.pricing .stack { gap: 48px; }
.pricing-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.pricing-head p { font-size: 19px; max-width: 560px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan {
  position: relative; border: var(--border); border-radius: 26px; padding: 36px;
  display: flex; flex-direction: column; gap: 22px; box-shadow: 8px 8px 0 var(--ink);
}
.plan-creator { background: var(--paper); --check: var(--ink); }
.plan-studio { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--purple); --check: var(--lime); }
.plan-agency { background: var(--purple); color: var(--paper); --check: var(--paper); }
.plan h3 { font-size: 30px; }
.plan-for { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.plan-studio .plan-for { color: var(--muted-on-dark); }
.plan-agency .plan-for { color: var(--paper); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price .amount { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -0.03em; line-height: 1.1; }
.price .per { font-weight: 600; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 22px; height: 22px; color: var(--check); margin-top: 1px; }
.plan-btn {
  margin-top: auto; min-height: 44px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; text-align: center; padding: 16px 24px; border-radius: 14px;
  font-weight: 700; font-size: 18px; line-height: 1.2; border: var(--border);
}
.plan-creator .plan-btn { background: var(--ink); color: var(--paper); }
.plan-creator .plan-btn:hover { color: var(--lime); }
.plan-studio .plan-btn { background: var(--accent); color: var(--ink); }
.plan-agency .plan-btn { background: var(--paper); color: var(--ink); }
.plan-ears { position: absolute; width: 84px; height: 36px; top: -32px; left: 40px; }
.plan-tag {
  position: absolute; top: -16px; right: 28px; background: var(--accent); color: var(--ink);
  border: var(--border); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 14px;
}

.trial {
  background: var(--paper); border: 2px dashed var(--ink); border-radius: 20px; padding: 22px 28px;
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
}
.trial p { font-size: 18px; }
.trial strong { font-family: var(--display); font-size: 22px; }
.trial .btn { padding: 14px 24px; font-size: 17px; }
.pricing-note { text-align: center; font-size: 17px; font-weight: 600; }

/* ---------- Enquiry form ---------- */
.enquire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.enquire-copy { display: flex; flex-direction: column; gap: 18px; }
.enquire-billing {
  align-self: flex-start; font-weight: 600; font-size: 16px;
  background: var(--lavender); border: var(--border); border-radius: 14px; padding: 12px 16px;
}
.enquire-form {
  border: var(--border); border-radius: 26px; padding: 32px; background: var(--paper);
  box-shadow: 8px 8px 0 var(--purple); display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; }
.field .optional { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: var(--border); border-radius: 12px;
  font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--paper);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--purple); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit { align-self: flex-start; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: var(--purple); }

/* ---------- FAQ ---------- */
.faq .stack { gap: 40px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.faq-item { padding: 24px 0; border-top: var(--border); }
.faq-q button {
  all: unset; display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  font: 800 22px/1.3 var(--display); color: var(--ink); margin-bottom: 8px;
}
.faq-q button:disabled { cursor: default; }
.faq-sign { display: none; flex: none; font-size: 26px; line-height: 1; }
.faq-sign::before { content: "+"; }
.faq-q button[aria-expanded="true"] .faq-sign::before { content: "−"; }
.faq-a p { font-size: 17px; color: var(--ink-2); max-width: 640px; }

/* ---------- Final CTA ---------- */
.cta { padding: 0 0 96px; }
.cta-card {
  background: var(--accent); border: var(--border); border-radius: 32px; padding: 72px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
  box-shadow: 10px 10px 0 var(--ink);
}
.cta-cat { width: 104px; height: 104px; transform: rotate(-6deg); }
.cta h2 { font-size: clamp(40px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.035em; max-width: 900px; }
.cta p { font-size: 19px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-actions .btn { max-width: 100%; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0 40px; border-top: var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink-2); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-cat { width: 32px; height: 32px; flex: none; }
.footer-brand strong { font-family: var(--display); font-weight: 800; font-size: 18px; }
.footer-legal { color: var(--ink-2); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: calc(720px + 2 * var(--gutter)); display: flex; flex-direction: column; gap: 20px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.legal .updated { color: var(--ink-2); font-size: 15px; }
.legal .body { font-size: 18px; }
.legal .body h2 { font-size: 26px; margin-top: 16px; }
.legal .body p, .legal .body ul { margin: 0 0 16px; }
.legal .body ul { padding-left: 1.3em; }
.legal .body li { margin-bottom: 8px; }
.legal .body li::marker { color: var(--accent); }
.legal .updated { margin-top: -8px; }
.coming-soon {
  border: 2px dashed var(--ink); border-radius: 20px; padding: 28px; background: var(--lavender);
  font-size: 18px;
}

/* =========================================================
   Header collapses to the hamburger before the inline nav runs out of room
   ========================================================= */
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 761px) {
  .menu { display: none !important; }
}

/* =========================================================
   TABLET 641–1023px
   ========================================================= */
@media (max-width: 1023px) {
  :root { --gutter: 40px; }
  .v-d { display: none; }
  .v-t, .v-tm { display: inline; }

  .site-header { padding: 18px var(--gutter); }
  .brand-cat { width: 40px; height: 40px; }
  .brand-name { font-size: 21px; }
  .nav { gap: 22px; font-size: 15px; }
  .nav .nav-cta { padding: 11px 18px; }

  .hero { padding: 56px 0 64px; }
  .hero-grid { flex-wrap: nowrap; gap: 32px; }
  .hero-copy { flex: 1 1 0; gap: 22px; }
  .hero-pill { font-size: 12px; padding: 5px 12px; }
  .hero-pill .dot { width: 9px; height: 9px; }
  .hero h1 { font-size: 54px; line-height: 0.97; }
  .hl { padding: 0 0.1em; border-radius: 8px; }
  .hero-lede { font-size: 17px; max-width: none; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 14px 22px; font-size: 17px; }
  .btn-accent { box-shadow: 4px 4px 0 var(--ink); }
  .hero-visual { flex: 0 0 300px; padding-top: 30px; }
  .phone { width: 230px; height: 410px; border-radius: 30px; padding: 8px; box-shadow: 8px 8px 0 var(--purple); }
  .phone-hat { width: 78px; height: 44px; top: -38px; margin-left: -39px; }
  .hero-video { border-radius: 23px; }
  .badge { top: 34px; left: auto; right: -46px; width: 92px; height: 92px; font-size: 13px; }
  .sound-btn { right: 16px; bottom: 52px; }
  .timeline { margin-top: -40px; max-width: none; border-radius: 14px; padding: 12px; gap: 7px; box-shadow: 4px 4px 0 var(--ink); }
  .tl-meta { font-size: 11px; }
  .tl-row { gap: 5px; }
  .tl-label { width: 22px; font-size: 10px; }
  .tl-clip { height: 16px; border-radius: 4px; }

  .strip { padding: 18px 0; }
  .ticker-track { --ticker-time: 42s; }
  .ticker-list { gap: 18px; padding-right: 18px; font-size: 20px; letter-spacing: 0; }

  .section { padding: 72px 0; }
  .h2 { font-size: 50px; }
  .lede { font-size: 18px; max-width: 640px; }
  .eyebrow { font-size: 13px; }

  .humans .stack { gap: 28px; }
  .humans-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 28px; }
  .humans-head .h2, .humans-head .lede { flex: none; }
  .pillars { gap: 14px; }
  .pillar { border-radius: 20px; padding: 20px; gap: 8px; }
  .pillar-num { font-size: 40px; }
  .pillar h3 { font-size: 21px; line-height: 1.15; letter-spacing: 0; }
  .pillar p { font-size: 15px; }
  .process-table { border-radius: 20px; }
  .process-table table { font-size: 15px; min-width: 0; }
  .process-table caption { padding: 18px 20px 4px; font-size: 22px; }
  .process-table thead th { padding: 14px 20px; font-size: 17px; }
  .process-table tbody th, .process-table tbody td { padding: 13px 20px; }

  .how .stack { gap: 32px; }
  .how .h2 { max-width: none; }
  .paw.p3 { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .step { border-radius: 20px; padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .step-body { gap: 8px; }
  .step-pill { font-size: 13px; }
  .step h3 { font-size: 24px; }
  .step p { font-size: 16px; }

  .work .stack { gap: 24px; }
  .work-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 24px; }
  .work-title { flex: none; gap: 10px; }
  .filter { padding: 10px 18px; font-size: 15px; }
  .work-group h3 { font-size: 21px; }
  .grid-reels, .grid-wide { gap: 12px; }
  .grid-wide { max-width: none; }
  .clip video { border-radius: 14px; }

  .benefits .stack { gap: 26px; }
  .benefits .h2 { max-width: none; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .benefit { padding: 20px 22px; gap: 4px; }
  .benefit h3 { font-size: 21px; }
  .benefit p { font-size: 15px; }

  .pricing .stack { gap: 36px; }
  .pricing-head { gap: 10px; }
  .pricing-head p { font-size: 17px; max-width: none; }
  .plans { gap: 16px; padding-top: 10px; }
  .plan { border-radius: 20px; padding: 22px 18px; gap: 14px; box-shadow: 5px 5px 0 var(--ink); }
  .plan-studio { box-shadow: 5px 5px 0 var(--purple); }
  .plan h3 { font-size: 24px; }
  .plan-for { margin-top: 2px; font-size: 14px; line-height: 1.4; }
  .price { gap: 4px; }
  .price .amount { font-size: 34px; }
  .price .per { font-size: 14px; }
  .plan ul { gap: 8px; font-size: 14px; line-height: 1.35; }
  .plan li { gap: 7px; }
  .plan li svg { width: 18px; height: 18px; margin-top: 0; }
  .plan-btn { padding: 13px 10px; border-radius: 13px; font-size: 15px; }
  .plan-ears { width: 64px; height: 28px; top: -25px; left: 22px; }
  .plan-tag { top: -14px; right: 14px; padding: 2px 10px; font-size: 12px; }
  .trial { border-radius: 18px; padding: 20px 22px; gap: 14px 20px; }
  .trial p { font-size: 16px; }
  .trial strong { font-size: 20px; }
  .trial .btn { padding: 13px 22px; font-size: 16px; }
  .pricing-note { font-size: 16px; }

  .enquire-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .enquire-form { border-radius: 22px; padding: 26px; box-shadow: 6px 6px 0 var(--purple); }

  /* FAQ becomes an accordion */
  .faq .stack { gap: 22px; }
  .faq-list { display: flex; flex-direction: column; border-bottom: var(--border); }
  .faq-item { padding: 0; }
  .faq-q button {
    min-height: 60px; padding: 16px 0; margin: 0; box-sizing: border-box; cursor: pointer; font-size: 21px;
  }
  .faq-q button:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
  .faq-sign { display: block; }
  .faq-a p { margin-bottom: 18px; }

  .cta { padding: 0 0 64px; }
  .cta-card { border-radius: 28px; padding: 48px 36px; gap: 18px; box-shadow: 8px 8px 0 var(--ink); }
  .cta-cat { width: 88px; height: 88px; }
  .cta-paw { width: 30px; height: 30px; right: -22px; }
  .cta h2 { font-size: 52px; line-height: 1; max-width: 620px; }
  .cta p { font-size: 17px; max-width: 520px; }
  .cta-actions { gap: 12px; }
  .cta-actions .btn { padding: 14px 26px; font-size: 17px; }

  .site-footer { padding: 22px 0 32px; }
  .footer-inner { gap: 10px; font-size: 14px; }
  .footer-links { gap: 20px; }
}

/* Narrow tablets: the two-column hero and three-across plans stop fitting */
@media (min-width: 641px) and (max-width: 799px) {
  .hero-grid { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-visual { flex: none; align-self: center; width: 300px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; width: 100%; margin: 0 auto; gap: 40px; }
  .plan { padding: 24px; }
  .price .amount { font-size: 44px; }
}

/* =========================================================
   MOBILE ≤640px
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .v-t, .v-dt { display: none; }
  .v-m { display: inline; }

  .site-header { padding: 14px var(--gutter); }
  .brand-cat { width: 38px; height: 38px; }

  .hero { padding: 36px 0 48px; }
  .hero-grid { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-copy { flex: none; }
  .hero h1 { font-size: 46px; line-height: 0.98; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { padding: 15px; font-size: 18px; }
  .hero-visual { flex: none; padding-top: 60px; }
  .phone { width: 220px; height: 390px; }
  .phone-hat { width: 72px; height: 40px; top: -34px; margin-left: -36px; }
  .badge { top: -8px; right: -51px; width: 88px; height: 88px; font-size: 12px; }
  .timeline { margin-top: -36px; }
  .sound-btn { bottom: 48px; }

  .ticker-track { --ticker-time: 34s; }
  .ticker-list { gap: 14px; padding-right: 14px; font-size: 18px; }

  .section { padding: 56px 0; }
  .h2 { font-size: 38px; }
  .lede { font-size: 17px; }

  .humans .stack { gap: 22px; }
  .humans-head { gap: 22px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pillar { padding: 22px; }
  .pillar h3 { font-size: 23px; }
  .pillar p { font-size: 16px; }
  .process-table { display: none; }
  .process-list { display: block; }

  .how .stack { gap: 24px; }
  .paw { width: 0.5em; height: 0.5em; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { display: flex; gap: 14px; border-radius: 18px; padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .step-num {
    display: flex; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lime);
    border: var(--border); align-items: center; justify-content: center; font-weight: 800;
  }
  .step-pill { display: none; }
  .step-body { gap: 4px; }
  .step h3 { font-size: 21px; }
  .step p { font-size: 15px; }

  .work .stack { gap: 20px; }
  .work-head { gap: 20px; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .work-group h3 { font-size: 20px; }
  .grid-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-wide { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .benefits .stack { gap: 20px; }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit { padding: 16px 18px; gap: 2px; }
  .benefit h3 { font-size: 19px; }

  .pricing .stack { gap: 26px; }
  .pricing-head p { font-size: 16px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 0; }
  .plan { border-radius: 22px; padding: 24px; gap: 16px; box-shadow: 6px 6px 0 var(--ink); }
  .plan-studio { box-shadow: 6px 6px 0 var(--purple); margin-top: 26px; }
  .plan h3 { font-size: 26px; }
  .plan-for { font-size: 15px; line-height: 1.5; }
  .price { gap: 6px; }
  .price .amount { font-size: 44px; }
  .price .per { font-size: 16px; }
  .plan ul { gap: 9px; font-size: 16px; line-height: 1.5; }
  .plan li { gap: 8px; }
  .plan li svg { width: 20px; height: 20px; margin-top: 2px; }
  .plan-btn { padding: 15px; border-radius: 14px; font-size: 17px; }
  .plan-ears { width: 70px; height: 30px; top: -27px; left: 28px; }
  .plan-tag { top: -15px; right: 20px; padding: 3px 12px; font-size: 13px; }
  .trial { flex-direction: column; align-items: stretch; padding: 18px; gap: 12px; }
  .trial .btn { padding: 14px; }
  .pricing-note { font-size: 15px; }

  .enquire-form { padding: 20px; border-radius: 20px; }
  .form-submit { align-self: stretch; }

  .faq .stack { gap: 18px; }
  .faq-q button { min-height: 56px; padding: 14px 0; font-size: 18px; }
  .faq-sign { font-size: 24px; }
  .faq-a p { font-size: 16px; margin-bottom: 16px; }

  .cta { padding: 0 0 48px; }
  .cta-card { border-radius: 24px; padding: 36px 22px; gap: 16px; box-shadow: 6px 6px 0 var(--ink); }
  .cta-cat { width: 80px; height: 80px; }
  .cta-paw { width: 26px; height: 26px; right: -20px; }
  .cta h2 { font-size: 38px; letter-spacing: -0.03em; }
  .cta p { font-size: 16px; }
  .cta-actions { flex-direction: column; align-self: stretch; }
  .cta-actions .btn { padding: 15px; }
  .cta-actions .btn-white { padding: 13px; font-size: 16px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .legal { padding: 48px 0 64px; }
}

/* =========================================================
   MOTION — only for visitors who haven't asked for reduced motion
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* ---- Reveals: each element enters after its --d delay, staggered children add --i steps ---- */
  .js [data-reveal] {
    transition:
      opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
      translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
      scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 90ms);
  }
  .js [data-reveal]:not(.is-in) { opacity: 0; translate: 0 28px; }
  .js [data-reveal="fade"]:not(.is-in) { translate: none; }
  .js [data-reveal="zoom"]:not(.is-in) { translate: 0 24px; scale: 0.92; }
  .js [data-reveal="pop"]:not(.is-in) { translate: none; scale: 0; }

  /* ---- Hero timeline: clips cut in one by one, then the playhead runs ---- */
  .tl-row .tl-clip:nth-child(3) { --c: 1; }
  .tl-row .tl-clip:nth-child(4) { --c: 2; }
  .tl-row:nth-of-type(3) { --r: 1; }
  .tl-row:nth-of-type(4) { --r: 2; }
  .js .timeline:not(.is-in) .tl-clip { scale: 0 1; }
  .js .timeline .tl-clip {
    transition: scale 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--d, 0ms) + 300ms + (var(--r, 0) * 3 + var(--c, 0)) * 90ms);
  }
  .timeline.is-in .tl-playhead,
  html:not(.js) .tl-playhead { animation: playhead 6s linear 1.6s infinite; }

  /* ---- Ticker tape ---- */
  .ticker-track { animation: ticker var(--ticker-time) linear infinite; will-change: transform; }
  .strip:hover .ticker-track { animation-play-state: paused; }

  /* ---- Cats with personalities ---- */
  .brand-cat { transform-origin: 50% 80%; animation: cat-hi 7s ease-in-out 2s infinite; }
  .brand:hover .brand-cat { animation: cat-wiggle 0.7s ease-in-out; }
  .footer-cat { transform-origin: 50% 85%; animation: cat-sway 5s ease-in-out infinite; }
  .h2-cat { transform-origin: 50% 90%; animation: cat-peek 3.6s ease-in-out infinite; }
  .phone-hat { animation: hat-peek 5s ease-in-out 2.2s infinite; }
  .cta-cat { transform-origin: 50% 85%; animation: cat-hello 3s ease-in-out infinite; }
  .cta-paw { animation: paw-wave 3s ease-in-out infinite; }
  .badge { animation: badge-wobble 4s ease-in-out infinite alternate; }
  .paw { animation: paw-step 2.4s ease-in-out infinite; }
  .paw.p2 { animation-delay: 0.3s; }
  .paw.p3 { animation-delay: 0.6s; }
  .plan-ears .ear { transform-box: fill-box; transform-origin: 50% 100%; }
  .plan-ears .ear-l { animation: ear-twitch-l 5s ease-in-out 1s infinite; }
  .plan-ears .ear-r { animation: ear-twitch-r 5s ease-in-out 1.15s infinite; }

  /* ---- Small hover lifts ---- */
  .btn, .plan-btn { transition: translate 0.15s ease, box-shadow 0.15s ease; }
  .btn:hover, .plan-btn:hover { translate: 0 -2px; }
  .btn-accent:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--ink); }
}

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes playhead {
  0% { left: 42px; opacity: 0; }
  4%, 94% { opacity: 1; }
  100% { left: calc(100% - 14px); opacity: 0; }
}
@keyframes cat-hi {
  0%, 72%, 100% { transform: rotate(0); }
  77% { transform: rotate(-14deg) translateY(-2px); }
  82% { transform: rotate(10deg) translateY(-2px); }
  87% { transform: rotate(-8deg); }
  92% { transform: rotate(4deg); }
}
@keyframes cat-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-16deg); }
  50% { transform: rotate(14deg); }
  75% { transform: rotate(-8deg); }
}
@keyframes cat-sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
@keyframes cat-peek {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-0.08em); }
}
@keyframes hat-peek {
  0%, 60%, 100% { transform: translateY(0) rotate(0); }
  66% { transform: translateY(-9px) rotate(-7deg); }
  72% { transform: translateY(-9px) rotate(7deg); }
  78% { transform: translateY(-9px) rotate(-4deg); }
  86% { transform: translateY(0) rotate(0); }
}
@keyframes cat-hello {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  20% { transform: rotate(6deg) translateY(-6px); }
  40% { transform: rotate(-6deg) translateY(0); }
}
@keyframes paw-wave {
  0%, 55%, 100% { transform: rotate(0); }
  8%, 24%, 40% { transform: rotate(28deg); }
  16%, 32% { transform: rotate(-18deg); }
}
@keyframes badge-wobble {
  from { transform: rotate(10deg); }
  to { transform: rotate(-6deg); }
}
@keyframes paw-step {
  0%, 30%, 100% { scale: 1; }
  12% { scale: 1.4; }
}
@keyframes ear-twitch-l {
  0%, 86%, 100% { transform: rotate(0); }
  89% { transform: rotate(-14deg); }
  92% { transform: rotate(6deg); }
  95% { transform: rotate(-4deg); }
}
@keyframes ear-twitch-r {
  0%, 86%, 100% { transform: rotate(0); }
  89% { transform: rotate(14deg); }
  92% { transform: rotate(-6deg); }
  95% { transform: rotate(4deg); }
}

/* Reduced motion: a static, wrapped strip and no playhead */
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { width: auto; justify-content: center; }
  .ticker-list { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 6px; padding: 0 var(--gutter); }
  .ticker-list[aria-hidden="true"], .ticker-list > .star:last-child { display: none; }
}
