/* Cat Season — $CATSZN */

:root {
  --sky-top: #7ec8f5;
  --sky-mid: #b8e4ff;
  --sky-soft: #e8f7ff;
  --grass: #3d9a4a;
  --grass-light: #6ecf7a;
  --cream: #fff8ef;
  --ink: #1a2a32;
  --ink-soft: #3d5560;
  --coral: #ff6b4a;
  --coral-deep: #e84d2a;
  --gold: #f5c518;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(26, 42, 50, 0.18);
  --radius: 1.25rem;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, #ffe8c8 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 10%, #c8f0ff 0%, transparent 50%),
    linear-gradient(180deg, var(--sky-mid) 0%, var(--sky-soft) 28%, #dff5e4 70%, #c8e8b8 100%);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

body.is-touch {
  cursor: auto;
}

body.is-touch .paw-cursor,
body.is-touch .paw-trail {
  display: none !important;
}

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

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

body.is-touch a,
body.is-touch button {
  cursor: pointer;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: none;
  color: inherit;
}

/* —— Loader —— */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, #ffe9b8 0%, transparent 45%),
    linear-gradient(160deg, #8fd4ff 0%, #b8f0c8 55%, #fff0d0 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__glow {
  position: absolute;
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
  animation: breathe 2.4s ease-in-out infinite;
}

.loader__stage {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.loader__logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
}

.loader__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: logo-bob 1.6s ease-in-out infinite;
}

.loader__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--coral);
  border-right-color: var(--gold);
  animation: spin 1.1s linear infinite;
}

.loader__brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.loader__ticker {
  margin-top: 0.25rem;
  font-weight: 800;
  color: var(--coral-deep);
  letter-spacing: 0.12em;
}

.loader__paws {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.35rem 0 1.1rem;
}

.paw-print {
  width: 18px;
  height: 18px;
  background: var(--ink);
  opacity: 0.2;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: paw-pulse 1.2s ease-in-out infinite;
}

.paw-print:nth-child(2) { animation-delay: 0.15s; }
.paw-print:nth-child(3) { animation-delay: 0.3s; }
.paw-print:nth-child(4) { animation-delay: 0.45s; }

.loader__bar {
  width: min(220px, 60vw);
  height: 8px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(26, 42, 50, 0.12);
  overflow: hidden;
}

.loader__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--grass-light));
  background-size: 200% 100%;
  animation: bar-fill 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards, shimmer 1.2s linear infinite;
}

/* —— Paw cursor —— */
.paw-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  background: var(--coral-deep);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.08s ease;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  will-change: transform;
}

.paw-cursor.is-visible {
  opacity: 0.95;
}

.paw-cursor.is-click {
  transform: translate(-50%, -50%) scale(0.75);
}

.paw-trail .trail-paw {
  position: fixed;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 9998;
  background: var(--ink);
  opacity: 0.35;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: trail-fade 0.85s ease forwards;
}

/* —— Ambient orbs —— */
.sky-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sky-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: float-orb 14s ease-in-out infinite;
}

.sky-orbs span:nth-child(1) {
  width: 280px;
  height: 280px;
  background: #ffe0a0;
  top: 15%;
  left: -5%;
}

.sky-orbs span:nth-child(2) {
  width: 320px;
  height: 320px;
  background: #9ae8ff;
  top: 40%;
  right: -8%;
  animation-delay: -4s;
}

.sky-orbs span:nth-child(3) {
  width: 200px;
  height: 200px;
  background: #b8f5c0;
  bottom: 10%;
  left: 35%;
  animation-delay: -8s;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(255, 248, 239, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 42, 50, 0.08);
  transform: translateY(-100%);
  animation: nav-in 0.6s 0.15s ease forwards;
}

body:not(.is-ready) .nav {
  animation: none;
}

body.is-ready .nav {
  animation: nav-in 0.6s ease forwards;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 30%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav__links {
  display: none;
  gap: 1.75rem;
  font-weight: 700;
}

.nav__links a {
  position: relative;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(26, 42, 50, 0.06);
  color: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--ink);
  color: var(--cream);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(255, 248, 239, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 42, 50, 0.08);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.65rem 0.25rem;
}

@media (min-width: 860px) {
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn--solid {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(232, 77, 42, 0.35);
}

.btn--solid:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(232, 77, 42, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 2px solid rgba(26, 42, 50, 0.12);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  transform: translateY(-3px);
  background: var(--white);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: hero-ken 18s ease-in-out infinite alternate;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(126, 200, 245, 0.25) 0%, transparent 28%),
    linear-gradient(0deg, rgba(20, 36, 42, 0.72) 0%, rgba(20, 36, 42, 0.25) 42%, transparent 68%),
    linear-gradient(90deg, rgba(20, 36, 42, 0.35) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(4rem, 10vh, 6rem);
  color: var(--cream);
  opacity: 0;
  transform: translateY(28px);
}

body.is-ready .hero__content {
  animation: rise-in 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__mark {
  width: 88px;
  height: 88px;
  border-radius: 28%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: logo-bob 3s ease-in-out infinite;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.hero__ticker {
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 248, 239, 0.92);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 248, 239, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
}

body.is-ready .hero__scroll {
  animation: rise-in 0.8s 0.6s ease forwards;
}

.hero__scroll-line {
  width: 2px;
  height: 48px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 1.6s ease-in-out infinite;
}

/* —— Sections —— */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.eyebrow {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 0.65rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.lead {
  max-width: 46ch;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.about {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.55) 0%, rgba(255, 248, 239, 0.85) 100%);
}

.about__traits {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .about__traits {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.about__traits li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 3px solid rgba(26, 42, 50, 0.1);
  opacity: 0;
  transform: translateY(20px);
}

.about__traits li.is-in {
  animation: rise-in 0.7s ease forwards;
}

.about__traits li:nth-child(2).is-in { animation-delay: 0.1s; }
.about__traits li:nth-child(3).is-in { animation-delay: 0.2s; }

.about__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.45rem;
  display: block;
  background: var(--coral-deep);
}

.about__icon--paw {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5' fill='black'/%3E%3Ccircle cx='5.5' cy='8.5' r='2.4' fill='black'/%3E%3Ccircle cx='10' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='14.5' cy='5.5' r='2.5' fill='black'/%3E%3Ccircle cx='18.5' cy='8.5' r='2.4' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about__icon--whisker {
  background: transparent;
  border-radius: 50%;
  border: 3px solid var(--coral-deep);
  position: relative;
}

.about__icon--whisker::before,
.about__icon--whisker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--coral-deep);
}

.about__icon--whisker::before {
  left: -10px;
  box-shadow: 0 -6px 0 var(--coral-deep), 0 6px 0 var(--coral-deep);
}

.about__icon--whisker::after {
  right: -10px;
  box-shadow: 0 -6px 0 var(--coral-deep), 0 6px 0 var(--coral-deep);
}

.about__icon--sun {
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.35);
  background: var(--gold);
}

.about__traits strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.about__traits span:last-child {
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.45;
}

/* —— Chart —— */
.chart__frame {
  position: relative;
  width: 100%;
  height: min(640px, 75vh);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.55);
}

.chart__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.chart__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  color: #d7e2f0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 107, 74, 0.18), transparent 50%),
    #0b1220;
}

.chart__placeholder-logo {
  width: 96px;
  height: 96px;
  border-radius: 28%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  animation: logo-bob 2.5s ease-in-out infinite;
}

.chart__placeholder p {
  max-width: 36ch;
  font-weight: 600;
}

.chart__hint {
  font-size: 0.9rem;
  opacity: 0.7;
}

.chart__hint code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.ca-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(26, 42, 50, 0.08);
}

.ca-bar__label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--coral-deep);
}

.ca-bar__value {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.ca-bar__copy {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.ca-bar__copy:hover {
  transform: scale(1.05);
}

.chart__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.1rem;
}

.text-link {
  font-weight: 800;
  color: var(--coral-deep);
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.text-link:hover {
  transform: translateX(3px);
  color: var(--ink);
}

/* —— Community —— */
.community__inner {
  text-align: center;
}

.community .lead {
  margin-left: auto;
  margin-right: auto;
}

.community__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .community__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.community__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.5rem 1.35rem;
  text-align: left;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(26, 42, 50, 0.06);
  box-shadow: 0 10px 30px rgba(26, 42, 50, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(16px);
}

.community__card.is-in {
  animation: rise-in 0.7s ease forwards;
}

.community__card:nth-child(2).is-in {
  animation-delay: 0.12s;
}

.community__card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(26, 42, 50, 0.14);
}

.community__badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.85rem;
}

.community__card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.community__card span:last-child {
  color: var(--ink-soft);
  font-weight: 600;
}

/* —— Footer —— */
.footer {
  position: relative;
  z-index: 1;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid rgba(26, 42, 50, 0.1);
  background: rgba(255, 248, 239, 0.65);
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 28%;
  object-fit: cover;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer__brand span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.footer__note {
  flex: 1;
  min-width: 200px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.footer__social {
  display: flex;
  gap: 1rem;
  font-weight: 800;
}

.footer__social a:hover {
  color: var(--coral-deep);
}

/* —— Keyframes —— */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes paw-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.2); }
}

@keyframes bar-fill {
  to { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes trail-fade {
  0% { opacity: 0.4; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0.4); }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

@keyframes nav-in {
  to { transform: translateY(0); }
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-ken {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, 1%); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body {
    cursor: auto;
  }

  .paw-cursor,
  .paw-trail {
    display: none !important;
  }
}
