/* ===========================================================
   Sphynx Elite Cattery — Design Tokens
   Palette inspired by the Sphynx's own skin tones + a boutique,
   "elite" gold accent. Warm, tactile, not generic pet-shop.
   =========================================================== */
:root {
  --plum-950: #241620;      /* near-black plum — nav, footer, deep text */
  --plum-800: #3a2530;
  --rose-500: #c08574;      /* dusty rose — echoes sphynx skin tone */
  --rose-300: #e3b9a8;
  --gold-600: #a9793c;      /* antique gold — "elite" accent, CTAs */
  --gold-400: #c99a5b;
  --ivory-100: #f8f1ea;     /* warm blush ivory — page background */
  --ivory-50: #fdfaf7;
  --ink-700: #3b2e33;       /* body text */
  --ink-500: #6d5b62;       /* secondary text */
  --line: rgba(59, 46, 51, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 4px;
  --shadow-soft: 0 12px 40px rgba(36, 22, 32, 0.10);
  --shadow-card: 0 6px 24px rgba(36, 22, 32, 0.08);
}

/* ---------- Dark mode override ----------
   Toggled via the sun/moon button in the header. Swaps the light
   surface colors for dark ones; the plum/gold/rose accents stay the
   same so the brand still reads consistently in both modes. */
html[data-theme="dark"] {
  --ivory-100: #1c1218;
  --ivory-50: #241820;
  --ink-700: #f3e8ec;
  --ink-500: #cbb7bf;
  --line: rgba(248, 241, 234, 0.14);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"] .site-header { background: rgba(28, 18, 24, 0.92); }
html[data-theme="dark"] .form-row input,
html[data-theme="dark"] .form-row select,
html[data-theme="dark"] .form-row textarea { background: #170f14; color: var(--ink-700); border-color: var(--line); }
html[data-theme="dark"] .reserved-thumb img { filter: saturate(0.9) brightness(0.92); }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory-50);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory-100);
  color: var(--ink-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--plum-950);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-block;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-500);
  max-width: 60ch;
}

/* ---------- Wrinkle divider — the signature motif ----------
   A soft repeating wave line, echoing the folds of Sphynx skin.
   Used between major sections instead of a plain <hr>. */
.wrinkle-divider {
  width: 100%;
  height: 28px;
  background: transparent;
}
.wrinkle-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--plum-950);
  color: var(--ivory-50);
}
.btn-primary:hover { box-shadow: var(--shadow-soft); }
.btn-gold {
  background: var(--gold-600);
  color: var(--ivory-50);
}
.btn-gold:hover { box-shadow: var(--shadow-soft); }
.btn-outline {
  background: transparent;
  border-color: var(--plum-950);
  color: var(--plum-950);
}
.btn-outline.on-dark {
  border-color: var(--ivory-100);
  color: var(--ivory-100);
}
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  background: var(--plum-950);
  color: var(--ivory-100);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.header-top a { color: var(--gold-400); }
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--plum-950);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--rose-500); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory-50);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { padding: 16px 28px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-actions .btn-sm.hide-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--plum-950);
  color: var(--ivory-100);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 72px 0;
}
.hero h1 { color: var(--ivory-50); }
.hero h1 em {
  font-style: italic;
  color: var(--rose-300);
}
.hero .lede { color: rgba(248,241,234,0.75); margin: 20px 0 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0; }
  .hero-photo { max-width: 380px; margin: 0 auto; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ivory-50);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  padding: 22px 28px;
  flex-wrap: wrap;
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-700);
}
.trust-item svg { flex-shrink: 0; color: var(--gold-600); }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Kitten cards ---------- */
.kitten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .kitten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .kitten-grid { grid-template-columns: 1fr; } }

.kitten-card {
  background: var(--ivory-50);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kitten-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.kitten-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.kitten-photo img { width: 100%; height: 100%; object-fit: cover; }
.status-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--ivory-50);
}
.status-tag.available { background: #5c7a5e; }
.status-tag.reserved { background: var(--rose-500); }
.status-tag.adoption { background: var(--gold-600); }
.status-tag.sold { background: var(--ink-500); }
.kitten-card.is-sold .kitten-photo img { filter: grayscale(0.4) brightness(0.85); }
.kitten-card.is-sold .btn-primary { background: var(--ink-500); pointer-events: none; }
.kitten-body { padding: 20px; }
.kitten-body h3 { margin-bottom: 4px; }
.kitten-meta { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 14px; }
.kitten-pricing {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 16px;
}
.kitten-price { font-size: 1.3rem; font-weight: 700; color: var(--plum-950); }
.kitten-down { font-size: 0.75rem; color: var(--ink-500); text-align: right; }
.kitten-down strong { color: var(--rose-500); display: block; font-size: 0.95rem; }

/* ---------- Reserved gallery (social proof) ---------- */
.reserved-band { background: var(--plum-950); color: var(--ivory-100); }
.reserved-band .section-head h2 { color: var(--ivory-50); }
.reserved-band .lede { color: rgba(248,241,234,0.7); }
.reserved-scroll {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .reserved-scroll { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .reserved-scroll { grid-template-columns: repeat(2, 1fr); } }
.reserved-thumb {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 4px;
  overflow: hidden;
}
.reserved-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.reserved-thumb::after {
  content: 'RESERVED';
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  background: rgba(36,22,32,0.75);
  color: var(--rose-300);
  padding: 3px 8px;
  border-radius: 10px;
}

/* ---------- Why-us feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item .num {
  font-family: var(--font-mono);
  color: var(--rose-500);
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.feature-item h3 { margin-bottom: 10px; }
.feature-item p { color: var(--ink-500); font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.process-list { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:first-child { padding-top: 0; }
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--rose-300);
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { color: var(--ink-500); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--ivory-50);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.stars { color: var(--gold-600); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.testimonial-card p.quote { font-style: italic; color: var(--ink-700); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rose-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--plum-950);
  font-weight: 700;
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-loc { font-size: 0.78rem; color: var(--ink-500); }
.sample-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--ink-500);
  font-family: var(--font-mono);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--rose-500), var(--gold-600));
  color: var(--ivory-50);
  text-align: center;
}
.cta-band h2 { color: var(--ivory-50); margin-bottom: 16px; }
.cta-band .lede { color: rgba(253,250,247,0.9); margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-950);
  color: rgba(248,241,234,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248,241,234,0.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--ivory-50); margin-bottom: 12px; }
.footer-col h4 { color: var(--ivory-50); font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 16px; text-transform: uppercase; font-family: var(--font-mono); font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--rose-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--plum-950);
  color: var(--ivory-100);
  padding: 56px 0;
}
.page-header h1 { color: var(--ivory-50); font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-400);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Filters (Available page) ---------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 9px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--ivory-50);
  cursor: pointer;
}
.filter-chip.active { background: var(--plum-950); color: var(--ivory-50); border-color: var(--plum-950); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--ivory-50);
  border-radius: 6px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-700);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--ivory-100);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-two { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--ivory-50);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.blog-photo { aspect-ratio: 16/10; overflow: hidden; }
.blog-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 22px; }
.blog-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--rose-500); margin-bottom: 10px; display: block; }
.blog-body h3 { margin-bottom: 10px; }
.blog-body p { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 14px; }
.read-more { font-weight: 700; font-size: 0.85rem; color: var(--gold-600); }

.blog-post-body { max-width: 720px; margin: 0 auto; }
.blog-post-body h2 { margin: 40px 0 16px; }
.blog-post-body p { margin-bottom: 18px; color: var(--ink-700); }
.blog-post-body ul { margin: 0 0 18px 0; }
.blog-post-body ul li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.blog-post-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--rose-500); }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.registered-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 20px;
}
.registered-badge svg { color: var(--gold-600); }

/* ---------- Utility ---------- */
.alt-bg { background: var(--ivory-50); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
