:root {
  color-scheme: light;
  --ink: #241b2a;
  --muted: #6f6278;
  --paper: #fff8fb;
  --surface: rgba(255, 255, 255, 0.9);
  --rose: #d95687;
  --sun: #f4c968;
  --line: rgba(36, 27, 42, 0.12);
  --shadow: 0 20px 60px rgba(83, 36, 66, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 201, 104, 0.3), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(217, 86, 135, 0.22), transparent 30%),
    var(--paper);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 251, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rose);
}

.nav-links {
  gap: clamp(14px, 4vw, 28px);
  font-size: 14px;
  font-weight: 900;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  min-height: 42svh;
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 72px) clamp(32px, 6vw, 64px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 24px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.18)),
    url("/assets/generated-kitties/kitty-sheet.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 24px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 248, 251, 0.88), rgba(255, 248, 251, 0.18));
  content: "";
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-weight: 950;
  line-height: 0.94;
}

h1 {
  font-size: clamp(68px, 13vw, 164px);
}

h2 {
  font-size: clamp(34px, 6vw, 76px);
}

.hero-copy {
  margin: 18px 0 24px;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 850;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(36, 27, 42, 0.12);
}

.hero-note {
  min-width: 120px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-note strong {
  font-size: 24px;
}

.section {
  padding: clamp(34px, 6vw, 72px) 0;
}

.section-inner {
  width: min(1420px, calc(100% - 28px));
  margin: 0 auto;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-button,
.favorite-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  background: #f4e4ec;
  font-weight: 900;
}

.filter-button.is-active {
  color: #fff;
  background: var(--rose);
}

.kitty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kitty-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7e7ef;
  box-shadow: 0 12px 34px rgba(83, 36, 66, 0.12);
}

.kitty-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 220ms ease;
}

.kitty-card:hover img {
  transform: scale(1.04);
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(36, 27, 42, 0.16);
  font-size: 22px;
}

.favorite-button.is-active {
  color: #fff;
  background: var(--rose);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px 18px 36px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-strip span,
.contact-strip a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .kitty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 48svh;
  }

  .section-heading.compact {
    display: block;
  }

  .kitty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section-inner {
    width: min(100% - 18px, 1420px);
  }

  .filter-bar {
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
