:root {
  color-scheme: light;
  --bg: #f6efe6;
  --bg-alt: #efe3d3;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: rgba(255, 248, 240, 0.94);
  --surface-muted: rgba(246, 236, 223, 0.78);
  --border: rgba(125, 94, 61, 0.16);
  --text: #3c2d21;
  --muted: #6b5a4b;
  --accent: #8d6745;
  --accent-soft: #b9865e;
  --accent-sage: #93a28b;
  --glow: rgba(211, 182, 146, 0.28);
  --shadow: 0 18px 50px rgba(124, 98, 70, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(201, 179, 148, 0.18), transparent 20%),
    linear-gradient(180deg, #fbf6ef 0%, #f6efe6 32%, #f3ebdf 100%);
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #101828;
  border-radius: 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.site-header,
.section,
.hero {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: rgba(251, 246, 239, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 0.95rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b38d, #8f6a48);
  box-shadow: 0 0 20px rgba(184, 134, 94, 0.25);
}

.top-nav {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(125, 94, 61, 0.11);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.76);
  box-shadow: 0 6px 20px rgba(124, 98, 70, 0.06);
}

.top-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 2rem;
  align-items: stretch;
  min-height: calc(100vh - 4.5rem);
  padding: 1.5rem 0 4rem;
}

.hero-media,
.hero-copy {
  position: relative;
}

.hero-media {
  min-height: 680px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(125, 94, 61, 0.12);
  transform: translateZ(0);
  transition: transform 220ms ease;
  background: #efe4d5;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.02), rgba(248, 240, 230, 0.24)),
    linear-gradient(110deg, rgba(255, 250, 243, 0.18) 16%, rgba(95, 71, 48, 0.1) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 103, 69, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 103, 69, 0.08) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 26%, transparent 100%);
  opacity: 0.42;
  animation: gridShift 18s linear infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero-glow-a {
  width: 13rem;
  height: 13rem;
  right: 8%;
  top: 10%;
  background: rgba(255, 245, 233, 0.85);
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-glow-b {
  width: 16rem;
  height: 16rem;
  left: 0;
  bottom: 8%;
  background: rgba(205, 183, 152, 0.28);
  animation: pulseGlow 9s ease-in-out infinite reverse;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  padding: 3rem 0;
}

.eyebrow,
.section-label,
.panel-index,
.signal-card span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
}

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

h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.98;
  max-width: 12ch;
}

.intro,
.section-heading p,
.approach-copy p,
.panel p,
.hero-metrics span {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.84);
  border: 1px solid rgba(125, 94, 61, 0.12);
  box-shadow: 0 10px 22px rgba(124, 98, 70, 0.08);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.link::after {
  content: "";
  position: absolute;
  inset: -180% auto auto -30%;
  width: 42%;
  height: 380%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  transform: rotate(24deg);
  transition: transform 420ms ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(141, 103, 69, 0.24);
  background: rgba(255, 248, 240, 0.98);
  box-shadow: 0 18px 28px rgba(124, 98, 70, 0.12);
}

.link:hover::after,
.link:focus-visible::after {
  transform: translate(290%, 6%) rotate(24deg);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metrics article,
.panel,
.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 1.1rem;
}

.hero-metrics strong,
.signal-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.section {
  padding: 1.5rem 0 5rem;
}

.band {
  position: relative;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.5rem 0 0.85rem;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

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

.panel {
  position: relative;
  min-height: 250px;
  padding: 1.35rem;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -32% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 188, 158, 0.28), transparent 72%);
  transition: transform 320ms ease;
}

.panel:hover,
.panel:focus-within {
  transform: translateY(-6px);
  border-color: rgba(141, 103, 69, 0.24);
  box-shadow: 0 24px 48px rgba(124, 98, 70, 0.14);
}

.panel:hover::before,
.panel:focus-within::before {
  transform: scale(1.2);
}

.panel h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.35rem;
}

.approach-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.approach-copy,
.signal-stack {
  min-width: 0;
}

.approach-copy {
  padding: 1.35rem 1rem 0 0;
}

.signal-stack {
  display: grid;
  gap: 1rem;
}

.signal-card {
  padding: 1.25rem;
  background: var(--surface-strong);
}

.roaming-cat {
  position: fixed;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 24;
  width: 10rem;
  height: 6.6rem;
  pointer-events: none;
}

.cat-shadow {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.35rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(125, 94, 61, 0.14);
  filter: blur(7px);
  animation: catShadow 7.5s ease-in-out infinite;
}

.cat-illustration {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.cat-body-group,
.cat-front-legs,
.cat-back-legs,
.cat-head-group {
  transform-origin: 118px 104px;
  animation: catPose 15s ease-in-out infinite;
}

.cat-head-group {
  transform-origin: 63px 84px;
}

.cat-tail-group {
  transform-origin: 186px 84px;
  animation: tailSway 5.5s ease-in-out infinite;
}

.cat-eye-wrap {
  transform-origin: center;
  animation: blink 8s steps(1) infinite;
}

.cat-ear-shape {
  transform-origin: center bottom;
  animation: earTwitch 9s ease-in-out infinite;
}

.cat-ear-shape:last-of-type {
  animation-delay: 0.35s;
}

.cat-yawn-shape {
  transform-origin: center;
  animation: catYawn 15s ease-in-out infinite;
}

.cat-body-shape {
  fill: #d1a37e;
}

.cat-body-belly {
  fill: #f6e8da;
}

.cat-body-highlight {
  fill: #be8f68;
}

.cat-head-shape,
.cat-ear-shape,
.cat-tail-shape {
  fill: #cc9d77;
}

.cat-ear-inner {
  fill: #efc0bf;
}

.cat-muzzle,
.cat-leg-shape {
  fill: #f7e8d9;
}

.cat-foot-shape {
  fill: #f1dfcb;
  stroke: rgba(124, 93, 69, 0.16);
  stroke-width: 1.2;
}

.cat-toe-lines {
  fill: none;
  stroke: rgba(124, 93, 69, 0.38);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.cat-cheek {
  fill: rgba(241, 191, 186, 0.45);
}

.cat-tail-shape {
  stroke: #b6855d;
  stroke-width: 16;
  stroke-linecap: round;
  fill: none;
}

.cat-eye-shape {
  fill: #31452d;
  stroke: #24351f;
  stroke-width: 1.6;
}

.cat-eye-highlight,
.cat-eye-highlight-small {
  fill: rgba(255, 255, 255, 0.92);
}

.cat-nose-shape,
.cat-mouth-line {
  fill: #6f4f40;
  stroke: #6f4f40;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat-nose-shape {
  fill: #c9878b;
  stroke: none;
}

.cat-whisker {
  fill: none;
  stroke: rgba(101, 77, 60, 0.55);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.cat-yawn-shape {
  fill: #7a4f3c;
  opacity: 0.12;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes heroFloat {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1%, -1.1%, 0);
  }
}

@keyframes gridShift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(86px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.14);
    opacity: 0.72;
  }
}

@keyframes catPose {
  0%,
  18%,
  100% {
    transform: translateY(0) scaleY(1) scaleX(1);
  }
  24% {
    transform: translateY(0.08rem) scaleY(0.94) scaleX(1.03);
  }
  32% {
    transform: translateY(0.18rem) scaleY(0.8) scaleX(1.08);
  }
  44% {
    transform: translateY(0.18rem) scaleY(0.8) scaleX(1.08);
  }
  58% {
    transform: translateY(-0.06rem) scaleY(1.02) scaleX(0.99);
  }
  68% {
    transform: translateY(0) scaleY(1) scaleX(1);
  }
}

@keyframes catShadow {
  0%,
  18%,
  100% {
    transform: scaleX(1);
    opacity: 0.18;
  }
  32%,
  44% {
    transform: scaleX(1.12);
    opacity: 0.1;
  }
  58% {
    transform: scaleX(0.96);
    opacity: 0.1;
  }
}

@keyframes tailSway {
  0%,
  14%,
  32%,
  100% {
    transform: rotate(18deg) scaleX(1);
  }
  18% {
    transform: rotate(-4deg) scaleX(1.02);
  }
  24% {
    transform: rotate(28deg) scaleX(1);
  }
  28% {
    transform: rotate(-12deg) scaleX(1.01);
  }
  42% {
    transform: rotate(10deg) scaleX(1);
  }
  52% {
    transform: rotate(22deg) scaleX(1.01);
  }
  56% {
    transform: rotate(-8deg);
  }
}

@keyframes earTwitch {
  0%,
  84%,
  100% {
    transform: rotate(0deg);
  }
  88% {
    transform: rotate(8deg);
  }
  92% {
    transform: rotate(-6deg);
  }
}

@keyframes blink {
  0%,
  47%,
  53%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.08);
  }
}

@keyframes catYawn {
  0%,
  38%,
  100% {
    transform: scaleY(0.45) scaleX(0.8);
    opacity: 0.12;
  }
  44% {
    transform: scaleY(1.2) scaleX(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1.9) scaleX(1.12);
    opacity: 0.82;
  }
  58% {
    transform: scaleY(0.72) scaleX(0.92);
    opacity: 0.26;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .approach-layout,
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    grid-column: span 2;
    padding-top: 0;
  }

  .hero-media {
    min-height: 540px;
    grid-column: span 2;
    order: -1;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    flex-wrap: wrap;
  }

  .hero,
  .collection-grid,
  .approach-layout,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .hero-copy,
  .hero-media {
    grid-column: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .roaming-cat {
    left: 0.65rem;
    bottom: 0.7rem;
    width: 8rem;
    height: 5.4rem;
  }
}
