/* Lula’s Ragdolls — mobile-first, warm cattery aesthetic */
:root {
  --cream: #faf6f1;
  --cream-dark: #f0e8de;
  --warm-white: #fffdfb;
  --ink: #2c2419;
  --ink-soft: #5c5348;
  --accent: #8b5e3c;
  --accent-hover: #6f4a2f;
  --accent-soft: #c4a484;
  --trust: #3d6b5a;
  --border: #e5d9cb;
  --shadow: 0 2px 12px rgba(44, 36, 25, 0.08);
  --radius: 12px;
  --max: 68rem;
  --header-h: 3.75rem;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--warm-white);
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo:hover {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--warm-white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--cream-dark);
}

.nav-toggle-bars {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem 1rem;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--cream-dark);
  color: var(--accent);
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.45rem 0.65rem;
    font-size: 0.95rem;
  }
}

/* Main layout */
main {
  min-height: 50vh;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.page-header {
  margin-bottom: 1.75rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 40rem;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--warm-white) 0%, var(--cream-dark) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1rem 3rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

.hero-sub {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-soft);
}

.btn-secondary:hover {
  background: var(--cream-dark);
  color: var(--accent-hover);
}

/* Trust row */
.trust-row {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .trust-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--trust);
}

.trust-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Sections */
.section {
  margin: 2.5rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
}

.section p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.cta-band {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0 1rem;
}

.cta-band p {
  margin: 0 0 1rem;
  max-width: none;
  color: var(--ink);
}

/* Cards / empty state */
.empty-state {
  background: var(--warm-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.empty-state p {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: var(--ink-soft);
}

.note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--cream-dark);
  border-left: 3px solid var(--accent-soft);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-info dl {
  margin: 1rem 0 0;
}

.contact-info dt {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin: 0.25rem 0 0;
}

.contact-info a {
  font-weight: 600;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Form */
.form-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.form-card .field {
  margin-bottom: 1.1rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-card textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-hint {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.required {
  color: var(--accent);
}

#waitlist {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Process steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  position: relative;
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  font-size: 0.98rem;
}

/* Cat placeholders */
.cat-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cat-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--cream-dark), #e8ddd0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.cat-body {
  padding: 1rem 1.15rem 1.25rem;
}

.cat-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.cat-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-a {
  padding: 0 1.15rem 1.15rem;
  margin: 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e8e0d6;
  padding: 2.5rem 1rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}

.site-footer a {
  color: #f0c9a0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer-tag {
  font-style: italic;
  margin: 0 0 0.75rem;
  color: var(--accent-soft);
}

.footer-meta {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #a89e92;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
