/* JJ · House & pet sitter. Warm, editorial, photo-first. */
:root {
  --bg: #f8f1e7;
  --bg-tint: #f1e6d6;
  --surface: #fffaf3;
  --ink: #2a221d;
  --ink-soft: #5d5048;
  --muted: #74665c;
  --line: #e4d6c3;
  --accent: #b5532d;
  --accent-ink: #fffaf3;
  --accent-soft: #f4dccd;
  --sage: #5f7558;
  --sage-soft: #dfe7d6;
  --star: #d79a2b;
  --shadow: 0 1px 2px rgb(60 40 20 / 6%), 0 12px 32px -12px rgb(60 40 20 / 22%);
  --contact-bg: #3b2a20;
  --contact-ink: #fbf1e4;
  --radius: 22px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1714;
    --bg-tint: #231d19;
    --surface: #2a231e;
    --ink: #f3e9dc;
    --ink-soft: #d8cabb;
    --muted: #b3a393;
    --line: #3d332b;
    --accent: #e98a5f;
    --accent-ink: #20140e;
    --accent-soft: #4a2c1f;
    --sage: #a9c19c;
    --sage-soft: #2d3628;
    --star: #f0b44a;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 14px 36px -14px rgb(0 0 0 / 60%);
    --contact-bg: #2c2019;
    --contact-ink: #fbf1e4;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-variation-settings: 'opsz' 144; letter-spacing: -0.025em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-variation-settings: 'opsz' 120; max-width: 22ch; margin-bottom: 2.25rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2rem); }
.eyebrow {
  font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.9rem;
}
.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 99; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; border-radius: 10px; }
.skip:focus { left: 0.5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.1rem; padding: 0.8rem 1.5rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font: 600 1rem/1.2 var(--sans); border: 2px solid var(--accent);
  box-shadow: 0 8px 20px -10px var(--accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px var(--accent); }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--ink-soft); box-shadow: none; }
.btn-light { background: var(--contact-ink); color: #3b2a20; border-color: var(--contact-ink); box-shadow: none; overflow-wrap: anywhere; }
.btn-outline-light { background: transparent; color: var(--contact-ink); border-color: rgb(251 241 228 / 45%); box-shadow: none; }
.btn-outline-light:hover { border-color: var(--contact-ink); box-shadow: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 600 1.35rem/1 var(--serif); }
.brand em { font: 500 0.8rem/1 var(--sans); font-style: normal; color: var(--muted); letter-spacing: 0.04em; margin-left: 0.2rem; }
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.brand-mark svg { width: 1.3rem; height: 1.3rem; }
.site-header nav { margin-left: auto; }
.site-header nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .bar .btn-small { margin-left: auto; }
}
@media (max-width: 420px) { .brand em { display: none; } }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%;
  background: radial-gradient(60% 55% at 70% 45%, var(--accent-soft), transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; margin: 1.4rem 0 1.6rem; }
.rating { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; padding: 0.55rem 1rem 0.55rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rating b { font-size: 1.1rem; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 1.1rem; height: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-facts svg, .checks svg { width: 1.15rem; height: 1.15rem; color: var(--sage); flex: none; }
.hero-photo { position: relative; justify-self: center; width: min(460px, 100%); }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--bg-tint); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1.5rem; bottom: 2rem; margin: 0;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--surface); padding: 0.7rem 1.1rem 0.7rem 0.7rem; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-badge span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sage-soft); color: var(--sage); }
.hero-badge svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(280px, 70%); }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -1.1rem; white-space: nowrap; }
  .hero::before { width: 100%; height: 60%; }
}

/* Sections */
section[id] { scroll-margin-top: 4.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--bg-tint); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.1rem; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.trust-card h3 { margin-bottom: 0.5rem; }
.trust-card .muted { font-size: 0.95rem; margin: 0; }
.trust-verify { background: var(--sage-soft); border-color: transparent; }
.trust-verify .muted { margin-bottom: 1rem; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-weight: 500; }
.checks li { display: flex; gap: 0.55rem; align-items: center; }
.big { font: 600 3rem/1 var(--serif); margin: 0 0 0.8rem; color: var(--accent); font-variation-settings: 'opsz' 144; }
.big small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.review, .reference { margin: 0; background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review blockquote, .reference blockquote { margin: 1rem 0 1.2rem; }
.review blockquote p { font: 400 1.18rem/1.55 var(--serif); font-variation-settings: 'opsz' 24; margin: 0; }
.review figcaption, .reference figcaption { display: grid; gap: 0.1rem; margin-top: auto; }
.who { font-weight: 700; }
.where, .pet { color: var(--muted); font-size: 0.92rem; }
.scores { list-style: none; padding: 1rem 0 0; margin: 1.1rem 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 0.4rem; }
.scores li { display: inline-flex; gap: 0.35rem; font-size: 0.8rem; background: var(--bg-tint); border-radius: 999px; padding: 0.25rem 0.7rem; color: var(--ink-soft); }
.scores b { color: var(--sage); }
.reference { margin-top: 1.25rem; background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.reference .pull { font: italic 500 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--serif); margin: 0 0 1rem; }
.reference .pull::before { content: '\201C'; } .reference .pull::after { content: '\201D'; }
.reference summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.ref-body { margin-top: 1rem; max-width: 62ch; color: var(--ink-soft); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Care */
.care-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.care-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.care-card h3 { margin: 1rem 0 0.5rem; }
.care-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.care-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.care-icon svg { width: 1.5rem; height: 1.5rem; }
@media (max-width: 900px) { .care-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .care-grid { grid-template-columns: 1fr; } }

/* Animals */
.animals-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.animals-intro h3 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 500; font-size: 0.95rem; }
.chips-accent li { background: var(--sage-soft); border-color: transparent; }
.pets-lede { max-width: 60ch; }
.pets { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pet-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pet-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pet-card div { padding: 0.8rem 1rem 1rem; display: grid; }
.pet-card b { font-family: var(--serif); font-size: 1.1rem; }
.pet-card span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) { .pets { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .animals-intro { grid-template-columns: 1fr; gap: 1.5rem; } .pets { grid-template-columns: 1fr 1fr; } }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: 1rem; }
@media (max-width: 700px) { .gallery { columns: 2; column-gap: 0.6rem; } .gallery li { margin-bottom: 0.6rem; border-radius: 14px; } }
.gallery li { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); }
.gallery img { width: 100%; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-copy p { color: var(--ink-soft); max-width: 60ch; }
.about-copy h2 { margin-bottom: 1.5rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Availability */
.avail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.avail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 0.4rem; border-top: 5px solid var(--accent); }
.avail-card b { font: 600 1.55rem/1.2 var(--serif); }
.avail-region { color: var(--muted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.avail-note { border-top-color: var(--sage); }
.avail-note b { font-size: 1.25rem; }
.avail-pref { display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 1.5rem; color: var(--ink-soft); max-width: 62ch; }
.avail-pref svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--accent); margin-top: 0.15rem; }
@media (max-width: 820px) { .avail { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.4rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font: 600 1.12rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--sans); color: var(--accent); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* Contact */
.contact { background: var(--contact-bg); color: var(--contact-ink); padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgb(233 138 95 / 28%), transparent 70%); pointer-events: none; }
.contact-inner { position: relative; display: grid; justify-items: center; }
.contact h2 { max-width: 18ch; margin-bottom: 1rem; }
.contact p { opacity: 0.85; max-width: 46ch; }
.contact .cta-row { justify-content: center; }

.site-footer { padding: 2rem 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
.site-footer p { margin: 0; }

.notfound { min-height: 70vh; display: grid; align-content: center; justify-items: start; gap: 1rem; }

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-facts { flex-direction: column; }
  .eyebrow { font-size: 0.74rem; letter-spacing: 0.09em; }
}
