/* Premium editorial design system — Cat Fans */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 252, 246, .82);
  --surface-strong: #fffaf3;
  --surface-2: #eadcca;
  --text: #201815;
  --muted: #74665e;
  --primary: #9f6a43;
  --primary-strong: #7c4c2d;
  --accent: #d6b06d;
  --line: rgba(45, 34, 28, .12);
  --shadow: 0 26px 80px rgba(73, 50, 36, .14);
  --shadow-soft: 0 12px 34px rgba(73, 50, 36, .10);
  --radius: 22px;
  --radius-lg: 36px;
  --max: 1180px;
}

html[data-theme="dark"] {
  --bg: #11100f;
  --bg-soft: #191716;
  --surface: rgba(34, 31, 29, .78);
  --surface-strong: #25211f;
  --surface-2: #332b25;
  --text: #f6efe6;
  --muted: #c0b2a6;
  --primary: #d9a06e;
  --primary-strong: #f0bd86;
  --accent: #e5c678;
  --line: rgba(255,255,255,.10);
  --shadow: 0 28px 80px rgba(0,0,0,.42);
  --shadow-soft: 0 14px 34px rgba(0,0,0,.28);
}

body {
  font-family: Manrope, Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(214, 176, 109, .18), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(159, 106, 67, .12), transparent 30%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 62%, var(--bg-soft) 100%) !important;
  letter-spacing: -0.01em;
}

h1, h2, .section-heading h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -0.045em; }
h1 { font-size: clamp(44px, 6vw, 84px); line-height: .92; max-width: 980px; }
h2 { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.02; }
h3 { letter-spacing: -0.035em; }
p { color: var(--muted); }

.topbar { box-shadow: 0 1px 0 var(--line); }
.nav { padding: 18px 0; }
.logo-horizontal { width: 174px; height: auto; }
.logo-compact { display:none; width: 48px; height:auto; }
.logo-text-fallback { display:none; }
.nav-links a, .theme-toggle { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 13px; }
.nav-links a.active { color: var(--primary-strong); background: color-mix(in srgb, var(--surface-strong) 78%, transparent); }

.hero { padding: 104px 0 54px; }
.hero-grid { grid-template-columns: 1.03fr .97fr; }
.hero-card, .card, .gallery-item, .table-wrap, .feature-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 76%, transparent), var(--surface));
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  box-shadow: var(--shadow-soft);
}
.hero-card { padding: clamp(28px, 4vw, 58px); }
.hero-copy, .lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.72; }
.kicker, .badge, .inline-chip { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--primary-strong); }

.btn { border-radius: 999px; padding: 14px 22px; font-weight: 800; box-shadow: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary-strong), var(--primary)); color: #fffaf2; }
.btn-secondary { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn:hover, .card:hover, .inline-chip:hover { transform: translateY(-3px); }

.hero-photo-wrap, .photo-card { overflow: hidden; }
.hero-photo, .card-photo, .gallery-item img { filter: saturate(.86) contrast(.98) brightness(1.02); transition: transform .75s ease, filter .75s ease; }
.hero-photo-wrap:hover .hero-photo, .photo-card:hover .card-photo, .gallery-item:hover img { transform: scale(1.035); filter: saturate(.96) contrast(1.02); }
.card-photo { border-radius: 28px 28px 0 0; }
.card-body { padding: 26px; }
.card-body h3 { font-size: 22px; line-height: 1.18; }

.section { padding: 68px 0; }
.section-heading { margin-bottom: 30px; align-items: end; }
.masonry, .grid-3, .tips-grid, .gallery-grid { gap: 24px; }
.card, .gallery-item { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .gallery-item:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 34%, var(--line)); }

.floating-pill {
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(32, 24, 21, .44);
  color: #fff;
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

.article-hero h1, .page-hero h1 { max-width: 920px; }
.article-layout { gap: 42px; }
.article-content { font-size: 18px; line-height: 1.85; }
.article-content h2 { margin-top: 44px; }
.article-content blockquote, .quote-card {
  border-left: 0;
  border-radius: 28px;
  padding: 28px;
  background: color-mix(in srgb, var(--surface-2) 48%, transparent);
  color: var(--text);
}

footer, .footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 64%, transparent); }

@media (max-width: 900px) {
  .hero { padding-top: 62px; }
  .hero-grid, .grid-2, .feature-grid { grid-template-columns: 1fr; }
  .nav { align-items: center; }
  .logo-horizontal { display:none; }
  .logo-compact { display:block; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 22px)); }
  .hero-card { padding: 24px; border-radius: 28px; }
  h1 { font-size: clamp(38px, 13vw, 56px); }
  .section { padding: 46px 0; }
  .card-body { padding: 21px; }
}
