:root {
  --ink: #10251f;
  --muted: #60746b;
  --paper: #f6fbf3;
  --cream: #eaf6e8;
  --leaf: #62c890;
  --teal: #219f8a;
  --mint: #c9f3df;
  --sage: #8fcfa8;
  --gold: #d5e97a;
  --glass: rgba(238, 255, 247, 0.22);
  --shadow: 0 24px 70px rgba(16, 37, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", sans-serif;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  z-index: 4;
  width: 220px;
  height: 220px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 200, 144, 0.2), transparent 68%);
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(150, 221, 186, 0.16)),
    rgba(16, 37, 31, 0.34);
  color: #fffdf7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    0 18px 48px rgba(6, 28, 23, 0.22);
  backdrop-filter: blur(26px) saturate(180%);
  transform: translateX(-50%);
}

.site-header::before {
  position: absolute;
  inset: 2px 2px auto;
  height: 50%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f6fbf3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav-cta {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 36px;
  padding: 150px max(24px, calc((100vw - 1120px) / 2)) 72px;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  animation: slow-zoom 16s ease-in-out infinite alternate;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 34, 28, 0.84), rgba(10, 54, 43, 0.34) 52%, rgba(10, 54, 43, 0.14)),
    linear-gradient(0deg, rgba(16, 37, 31, 0.5), transparent 48%);
}

.hero-particles span {
  position: absolute;
  z-index: -1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(213, 233, 122, 0.82);
  animation: float-up 9s linear infinite;
}

.hero-particles span:nth-child(1) { left: 12%; bottom: 12%; animation-delay: -1s; }
.hero-particles span:nth-child(2) { left: 38%; bottom: 8%; animation-delay: -4s; }
.hero-particles span:nth-child(3) { left: 65%; bottom: 16%; animation-delay: -2s; }
.hero-particles span:nth-child(4) { left: 78%; bottom: 10%; animation-delay: -6s; }
.hero-particles span:nth-child(5) { left: 88%; bottom: 20%; animation-delay: -3s; }

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  width: min(760px, 100%);
  color: #fffdf7;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 253, 247, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.8;
}

.hero-actions,
.cat-info,
.rescue-form {
  display: flex;
  gap: 12px;
}

.product-stage {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: center;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(213, 233, 122, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(150, 221, 186, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 38px 90px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  perspective: 900px;
  backdrop-filter: blur(24px) saturate(160%);
}

.product-stage::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: rotateX(68deg);
}

.stage-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(213, 233, 122, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(66deg);
  animation: orbit-spin 12s linear infinite;
}

.cow-cat {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 260px;
  height: 280px;
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(-10deg);
  transform-style: preserve-3d;
  animation: cat-hover 4.2s ease-in-out infinite;
}

.cow-cat span {
  position: absolute;
  display: block;
}

.cat-body {
  left: 48px;
  top: 94px;
  width: 166px;
  height: 132px;
  border-radius: 48% 48% 42% 42%;
  background: linear-gradient(135deg, #fffdf7, #e8f6ef);
  box-shadow:
    inset -16px -24px 34px rgba(16, 37, 31, 0.13),
    0 26px 46px rgba(0, 0, 0, 0.24);
}

.cat-head {
  left: 66px;
  top: 36px;
  width: 128px;
  height: 116px;
  border-radius: 48% 48% 45% 45%;
  background: linear-gradient(135deg, #fffdf7, #eef8f1);
  box-shadow: inset -12px -18px 28px rgba(16, 37, 31, 0.12);
}

.cat-ear {
  top: 24px;
  width: 44px;
  height: 54px;
  background: #fffdf7;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.ear-left {
  left: 66px;
  transform: rotate(-18deg);
}

.ear-right {
  right: 66px;
  background: #171f1c;
  transform: rotate(18deg);
}

.cat-spot {
  background: #171f1c;
  filter: drop-shadow(0 5px 10px rgba(16, 37, 31, 0.18));
}

.spot-one {
  left: 132px;
  top: 52px;
  width: 58px;
  height: 46px;
  border-radius: 54% 46% 55% 45%;
}

.spot-two {
  left: 112px;
  top: 128px;
  width: 70px;
  height: 62px;
  border-radius: 44% 56% 50% 50%;
}

.cat-face {
  left: 92px;
  top: 84px;
  width: 76px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 42%, #10251f 0 4px, transparent 5px),
    radial-gradient(circle at 78% 42%, #10251f 0 4px, transparent 5px),
    radial-gradient(circle at 50% 72%, #62c890 0 5px, transparent 6px);
}

.cat-tail {
  left: 22px;
  top: 130px;
  width: 72px;
  height: 26px;
  border: 16px solid #171f1c;
  border-right: 0;
  border-bottom: 0;
  border-radius: 80px 0 0 0;
  transform-origin: right center;
  animation: tail-swish 3s ease-in-out infinite;
}

.cat-paw {
  bottom: 40px;
  width: 42px;
  height: 32px;
  border-radius: 50%;
  background: #fffdf7;
  box-shadow: inset -8px -10px 14px rgba(16, 37, 31, 0.1);
}

.paw-left {
  left: 72px;
}

.paw-right {
  right: 72px;
  background: #171f1c;
}

.stage-chip {
  position: absolute;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.18);
  color: #fffdf7;
  font-weight: 850;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  animation: chip-float 4.8s ease-in-out infinite;
}

.chip-left {
  left: 28px;
  top: 96px;
}

.chip-right {
  right: 30px;
  top: 138px;
  animation-delay: -1.4s;
}

.chip-bottom {
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  animation-delay: -2.2s;
}

.button,
.cat-info button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 850;
}

.primary {
  background: var(--leaf);
  color: #fff;
  box-shadow: 0 16px 35px rgba(98, 200, 144, 0.34);
}

.ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(10px);
}

.signal-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(440px, calc(100% - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 248, 239, 0.14);
  color: #fff;
  backdrop-filter: blur(18px);
}

.hero .signal-panel {
  display: none;
}

.signal-panel div {
  padding: 18px;
}

.signal-panel p {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.signal-panel strong {
  font-size: 2rem;
}

.signal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #70ffbe;
  box-shadow: 0 0 0 8px rgba(112, 255, 190, 0.12);
}

.ticker {
  overflow: hidden;
  background: #12382f;
  color: #fff8ef;
  padding: 15px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marquee 26s linear infinite;
}

.ticker span {
  white-space: nowrap;
  color: rgba(255, 248, 239, 0.86);
}

.section {
  padding: 108px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.rescue {
  background:
    linear-gradient(135deg, rgba(201, 243, 223, 0.62), transparent 42%),
    var(--paper);
}

.rescue-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card,
.cat-card,
.join-panel {
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 50px rgba(23, 33, 31, 0.08);
}

.step-card {
  min-height: 260px;
  padding: 24px;
  transform-style: preserve-3d;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px) rotateX(2deg);
}

.step-card span {
  color: var(--teal);
  font-weight: 950;
}

.step-card h3 {
  margin: 38px 0 14px;
  font-size: 1.35rem;
}

.step-card p,
.cat-info p,
.impact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.facilities {
  background: #edf7ee;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.facility-card {
  overflow: hidden;
  background: #fbfff9;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 33, 31, 0.08);
  transform-style: preserve-3d;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.facility-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px) rotateX(2deg);
}

.facility-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--mint);
}

.cat-info {
  flex-direction: column;
  padding: 22px;
}

.cat-info h3 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.cat-info button {
  align-self: flex-start;
  background: var(--ink);
  color: #fff;
}

.impact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  background: var(--ink);
  color: #fffdf7;
}

.impact-copy p {
  color: rgba(255, 253, 247, 0.7);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.impact-stats div {
  min-height: 170px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33, 159, 138, 0.46), rgba(143, 207, 168, 0.2));
}

.impact-stats strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.impact-stats span {
  color: rgba(255, 253, 247, 0.76);
}

.join {
  background:
    linear-gradient(120deg, rgba(98, 200, 144, 0.18), transparent 44%),
    linear-gradient(260deg, rgba(33, 159, 138, 0.16), transparent 45%),
    var(--cream);
}

.join-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  padding: clamp(24px, 5vw, 56px);
}

.rescue-form {
  flex-direction: column;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 154, 148, 0.12);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  color: rgba(255, 253, 247, 0.74);
}

.footer p {
  margin: 0;
  color: #fffdf7;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(0) scale(0.7);
  }
  18%,
  70% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-420px) scale(1.4);
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cat-breathe {
  0%,
  100% { transform: translateX(-50%) scaleY(1); }
  50% { transform: translateX(-50%) scaleY(1.035); }
}

@keyframes cat-hover {
  0%,
  100% {
    transform: translate(-50%, -50%) rotateX(8deg) rotateY(-10deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotateX(10deg) rotateY(8deg) translateY(-16px);
  }
}

@keyframes tail-swish {
  0%,
  100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(18deg);
  }
}

@keyframes orbit-spin {
  to {
    transform: translate(-50%, -50%) rotateX(66deg) rotateZ(360deg);
  }
}

@keyframes chip-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    border-radius: 22px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 118px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
    line-height: 1.02;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .section-heading,
  .rescue-path,
  .facility-grid,
  .impact,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .product-stage {
    grid-column: 1;
    min-height: 360px;
    margin-top: 26px;
  }

  .cow-cat {
    scale: 0.82;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .impact-stats {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .signal-panel div {
    padding: 14px 10px;
  }

  .signal-panel p {
    font-size: 0.72rem;
  }

  .signal-panel strong {
    font-size: 1.55rem;
  }

  .product-stage {
    min-height: 330px;
  }

  .stage-chip {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.82rem;
  }
}

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