/* Cat-ion odor zapper */
:root {
  --purple: #652D91;
  --purple-deep: #3E1A5B;
  --coral: #F26649;
  --ink: #2B1A3A;
  --muted: #5E4F6B;
  --lilac: #F4EEF9;
  --white: #FFFFFF;
  --ring: linear-gradient(110deg, var(--purple) 15%, var(--coral) 90%);
  --display: "Fredoka", "Avenir Next Rounded", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: var(--purple); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--purple); color: var(--white);
  padding: 10px 16px; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { padding: 20px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 190px; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--purple); }
.nav-contact { color: var(--purple) !important; font-weight: 700 !important; }

/* Hero */
.hero { padding: 40px 0 96px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  letter-spacing: -0.015em;
  color: var(--purple-deep);
  max-width: 11ch;
}
.lede { margin-top: 24px; font-size: 1.3rem; color: var(--muted); max-width: 30ch; }
.heart { color: var(--coral); }

.button {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}
.button:hover { background: var(--purple-deep); }
.button-light { background: var(--white); color: var(--purple); margin-top: 0; }
.button-light:hover { background: var(--lilac); }

/* The cat-head: gradient ring with the photo inside, same silhouette as the logo */
.hero-art { display: flex; justify-content: center; }
.cathead {
  width: min(460px, 82vw);
  aspect-ratio: 1;
  background: var(--ring);
  clip-path: url(#cathead);
  padding: 4.2%;
  animation: arrive 900ms cubic-bezier(.2, .8, .2, 1) both;
}
.cathead picture, .cathead img {
  width: 100%; height: 100%;
}
.cathead picture { display: block; overflow: hidden; clip-path: url(#cathead); background: var(--lilac); }
.cathead img {
  object-fit: cover;
  object-position: 49% 50%;
  transform: scale(1.4);
  transform-origin: 49% 48%;
}
@keyframes arrive {
  from { opacity: 0; transform: scale(.92) rotate(-4deg); }
  to { opacity: 1; transform: none; }
}

/* About points */
.about { background: var(--lilac); padding: 88px 0; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.point h2 { font-size: 1.6rem; color: var(--purple); margin-bottom: 14px; }
.point p { color: var(--muted); max-width: 36ch; }
.point::before {
  content: "";
  display: block;
  width: 44px; height: 44px;
  margin-bottom: 20px;
  background: var(--ring);
  clip-path: url(#cathead);
}

/* Prototype gallery */
.prototype { padding: 96px 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--purple-deep); margin-bottom: 40px; max-width: 18ch; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* Contact band */
.contact { background: var(--ring); color: var(--white); padding: 72px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-bottom: 12px; }
.contact p { max-width: 54ch; opacity: .95; }

/* Footer */
.site-footer { padding: 32px 0 40px; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Hero extras */
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--lilac); color: var(--purple); font-weight: 500; font-size: 0.95rem; padding: 6px 14px; border-radius: 999px; }
.made { margin-top: 18px; color: var(--muted); }

/* Shared section bits */
h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--coral); margin-bottom: 12px; }
.section-lede { color: var(--muted); max-width: 62ch; margin-top: -16px; margin-bottom: 40px; font-size: 1.1rem; }

/* Problem */
.problem { padding: 96px 0; }
.problem-inner, .science-inner, .multicat-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.problem-inner .section-title, .science-inner .section-title, .multicat-inner .section-title { margin-bottom: 0; }
.problem-copy p + p, .science-inner p + p, .multicat-inner p + p { margin-top: 16px; }
.problem-copy p, .science-inner p, .multicat-inner p { color: var(--muted); }
.stat { margin-top: 28px !important; padding: 20px 24px; border-left: 4px solid var(--coral); background: var(--lilac); border-radius: 0 14px 14px 0; color: var(--ink) !important; }
.stat strong { font-family: var(--display); font-size: 1.8rem; color: var(--purple); font-weight: 600; margin-right: 6px; }
.source { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* How it works */
.how { background: var(--purple-deep); color: var(--white); padding: 96px 0; }
.how .section-title { color: var(--white); }
.how .section-lede { color: #E4D8EE; }
.how .eyebrow { color: #FF9A84; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ring); font-family: var(--display); font-weight: 600; margin-bottom: 16px; }
.steps h3 { font-size: 1.35rem; margin-bottom: 8px; }
.steps p { color: #E4D8EE; }

/* Compare */
.compare { padding: 96px 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border: 1px solid #E3D8EC; border-radius: 20px; padding: 28px 32px; }
.compare-card h3 { font-size: 1.35rem; color: var(--muted); margin-bottom: 14px; }
.compare-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.compare-card li + li { margin-top: 8px; }
.compare-card-us { border: 2px solid var(--purple); background: var(--lilac); }
.compare-card-us h3 { color: var(--purple); }
.compare-card-us ul { color: var(--ink); }
.note { margin-top: 28px; color: var(--muted); max-width: 70ch; }

/* Multi-cat */
.multicat { padding: 0 0 96px; }

/* Science */
.science { background: var(--lilac); padding: 96px 0; }
.fine { font-size: .92rem; font-style: italic; }

/* Progress */
.progress { padding: 96px 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline li { position: relative; padding-top: 30px; border-top: 3px solid #E3D8EC; }
.timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--white); border: 3px solid #C9B6DA; }
.timeline li.done { border-top-color: var(--purple); }
.timeline li.done::before { background: var(--coral); border-color: var(--coral); }
.timeline h3 { font-size: 1.15rem; color: var(--purple-deep); margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .problem-inner, .science-inner, .multicat-inner { grid-template-columns: 1fr; gap: 24px; }
  .steps, .compare-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { border-top: 0; border-left: 3px solid #E3D8EC; padding: 0 0 28px 24px; }
  .timeline li.done { border-left-color: var(--purple); }
  .timeline li::before { top: 0; left: -10px; }
}
@media (max-width: 560px) {
  .problem, .how, .compare, .science, .progress { padding: 64px 0; }
  .multicat { padding-bottom: 64px; }
  .compare-card { padding: 24px; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 16px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .cathead { width: min(340px, 78vw); }
  .points { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: 1fr; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand img { width: 150px; }
  nav { gap: 18px; font-size: 0.95rem; }
  nav a:not(.nav-contact) { display: none; }
  .about, .prototype { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cathead { animation: none; }
}
