@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;700&display=swap');

/* ══════════════════════════════════════════════════════════════════
   TOKENS (Purr & Plate Theme)
══════════════════════════════════════════════════════════════════ */
:root {
  --b-dark:    #1a2535;   
  --b-accent:  #6b8cae;   
  --b-soft:    #9ab3cc;   
  --b-sand:    #f4ede0;   
  --b-cream:   #fdf9f3;   
  --b-text:    #1a2535;   
  --b-body:    #3d4f60;   
  --b-border:  rgba(107, 140, 174, 0.18);
}

/* ══════════════════════════════════════════════════════════════════
   HERO 
══════════════════════════════════════════════════════════════════ */
.cats-hero {
  padding: 150px 0 100px;
  background: var(--b-dark);
  background-image:
      radial-gradient(ellipse at 10% 80%, rgba(107,140,174,0.22) 0%, transparent 55%),
      radial-gradient(ellipse at 90% 10%, rgba(154,179,204,0.10) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cats-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.paw-float {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.07;
  pointer-events: none;
  animation: floatPaw 10s ease-in-out infinite;
}
.paw-float--1 { top: 18%; left: 8%;  animation-delay: 0s; }
.paw-float--2 { top: 62%; right: 9%; animation-delay: 4s; font-size: 1.3rem; }
.paw-float--3 { bottom: 16%; left: 42%; animation-delay: 7s; font-size: 1.1rem; }

@keyframes floatPaw {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.07; }
  50%       { transform: translateY(-14px) rotate(5deg); opacity: 0.12; }
}

.hero-inner {
  max-width: 860px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1;
}
.hero-icon {
  width: 70px; height: 70px; margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(154,179,204,0.28);
  background: rgba(107,140,174,0.10);
}
.hero-cat-icon { font-size: 2.2rem; line-height: 1; }

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase; color: var(--b-soft); margin: 0 0 20px;
}
.hero-title {
  font-family: 'Lora', serif; font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600; color: var(--b-sand); margin: 0 0 16px;
}
.hero-title em { font-style: italic; color: var(--b-soft); }

.hero-divider {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 32px 0;
}
.hero-divider span {
  display: block; height: 1px; width: 70px;
  background: linear-gradient(to right, transparent, var(--b-soft), transparent);
}
.divider-paw { font-style: normal; font-size: 0.85rem; opacity: 0.6; }

.hero-subtitle {
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 300;
  line-height: 1.95; color: var(--b-muted); max-width: 660px; margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════
   PROFILES GRID (Archway Layout)
══════════════════════════════════════════════════════════════════ */
.profiles-section {
  padding: 100px 0 140px;
  background: var(--b-sand);
  position: relative;
}
.profiles-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--b-accent), transparent);
  opacity: 0.35;
}

.profiles-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
}
.profiles-header {
  text-align: center; max-width: 700px; margin: 0 auto 70px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--b-body); line-height: 1.8;
}
.profiles-header a {
  color: var(--b-accent); font-weight: 500; text-decoration: underline;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 40px;
}

/* ── Archway Profile ── */
.cat-art-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s ease;
}

.cat-art-card:hover {
  transform: translateY(-8px);
}

.cat-art-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 200px 200px 16px 16px;
  overflow: hidden;
  position: relative;
  border: 8px solid var(--b-cream);
  box-shadow: 0 15px 35px rgba(26, 37, 53, 0.08);
  margin-bottom: 24px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.cat-art-card:hover .cat-art-img {
  border-color: #ffffff;
  box-shadow: 0 25px 45px rgba(26, 37, 53, 0.15);
}

.cat-art-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}

.cat-art-card:hover .cat-art-img img {
  transform: scale(1.05);
}

/* Floating Badge over the arch */
.cat-art-badge {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 2;
  white-space: nowrap;
}
.cat-art-badge.resident {
  background: rgba(253, 249, 243, 0.95); backdrop-filter: blur(4px); color: var(--b-text);
}
.cat-art-badge.adoptable {
  background: var(--b-accent); color: var(--b-cream);
}

/* Text Content */
.cat-art-content {
  display: flex; flex-direction: column; align-items: center; width: 100%;
}

.cat-art-name {
  font-family: 'Lora', serif; font-size: 1.8rem; font-weight: 600;
  color: var(--b-text); margin: 0 0 6px;
  transition: color 0.3s ease;
}
.cat-art-card:hover .cat-art-name { color: var(--b-accent); }

.cat-art-breed {
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--b-accent);
  margin: 0 0 16px;
}

.cat-art-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px;
}
.cat-art-tags span {
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500;
  color: var(--b-body); background: rgba(107, 140, 174, 0.08);
  padding: 4px 12px; border-radius: 40px; border: 1px solid rgba(107, 140, 174, 0.15);
}

.cat-art-bio {
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 300;
  line-height: 1.7; color: var(--b-body); margin: 0 0 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.cat-art-link {
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--b-text);
  display: flex; align-items: center; gap: 8px; transition: color 0.3s ease;
}
.cat-art-link span {
  color: var(--b-accent); font-size: 1.1rem; transition: transform 0.3s ease;
}
.cat-art-card:hover .cat-art-link { color: var(--b-accent); }
.cat-art-card:hover .cat-art-link span { transform: translateX(4px); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
}

@media (max-width: 640px) {
  .cats-hero { padding: 100px 0 60px; }
  .profiles-section { padding: 60px 0 80px; }
  .hero-inner, .profiles-inner { padding: 0 24px; }
  
  .profiles-grid { grid-template-columns: 1fr; gap: 60px; }
  .cat-art-img { max-width: 320px; margin: 0 auto 24px; }
}