/* ==============================================================
   Paw Paw Pet Care — Home Host (editorial minimal)
   · Photography-forward: photos are the star, CSS is the frame
   · One accent color (coral), used sparingly
   · Variable fonts, self-hosted
   · No grain, no tilts, no pulses, no gradient text, no scroll bar
============================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fdfaf3;
  --paper-2: #f5efe3;
  --ink: #181512;
  --ink-2: #3d3731;
  --ink-3: #706861;
  --rule: #e4ddcd;
  --accent: #c85e3c;
  --accent-2: #a94a2b;
  --dark: #1d1a16;
  --max: 1200px;
  --pad-x: clamp(24px, 5vw, 72px);
  --ease: cubic-bezier(.2,.65,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--dark); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 600; z-index: 200;
}
.skip:focus-visible { left: 0; outline-offset: 0; }

/* ===== Type ===== */
h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-variation-settings: "opsz" 144; }
h2 { font-variation-settings: "opsz" 72; }
h3 { font-variation-settings: "opsz" 30; letter-spacing: -0.01em; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: border-color .25s, box-shadow .25s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex; align-items: center; gap: 28px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
.logo-mark { font-size: 22px; }
.logo-word em { font-weight: 500; font-style: italic; color: var(--accent); }

.nav-links {
  display: flex; gap: 32px; margin-left: auto; align-items: center;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.lang {
  font-family: "Fraunces", serif;
  font-size: 15px;
  padding: 4px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
}
.nav-links a.lang:hover { border-color: var(--ink-3); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--ink-2); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 16px; }
}

/* ===== Hero — full-bleed photo, minimal overlay ===== */
.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 860px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("hero.jpg");
  background-image: -webkit-image-set(
    url("hero.avif") type("image/avif") 1x,
    url("hero.webp") type("image/webp") 1x,
    url("hero.jpg") type("image/jpeg") 1x
  );
  background-image: image-set(
    url("hero.avif") type("image/avif") 1x,
    url("hero.webp") type("image/webp") 1x,
    url("hero.jpg") type("image/jpeg") 1x
  );
  background-position: center 28%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,17,14,.78) 0%, rgba(20,17,14,.25) 45%, rgba(20,17,14,.05) 100%);
  z-index: -1;
}
.hero-inner {
  max-width: var(--max); width: 100%;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 110px) var(--pad-x);
  color: #fff;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 14ch;
}
.lede {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  max-width: 42ch;
  color: rgba(255,255,255,.9);
  margin-bottom: 32px;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 18px;
}
.hero-byline {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  font-weight: 400;
  letter-spacing: .01em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn-primary {
  background: #fff;
  color: var(--ink) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.14);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.22); }
.btn-primary:active { transform: translateY(0); }
.btn-xl { padding: 18px 34px; font-size: 18px; }

/* dark background contexts flip the primary button */
.cta-final .btn-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(200,94,60,.35);
}
.cta-final .btn-primary:hover { background: var(--accent-2); }

/* ===== Trust strip — editorial, not loud ===== */
.trust {
  background: var(--paper);
  padding: 44px var(--pad-x);
  border-bottom: 1px solid var(--rule);
}
.trust-grid {
  max-width: var(--max); margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-grid li {
  display: flex; align-items: center; gap: 14px;
}
.trust-icon {
  width: 24px; height: 24px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.trust-grid li strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.trust-grid li span {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.35;
}
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (max-width: 440px) { .trust-grid { grid-template-columns: 1fr; } }

/* ===== Section skeleton ===== */
section {
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  position: relative;
}
section:not(.hero):not(.trust) {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
.section-head {
  max-width: 760px; margin: 0 auto 72px;
}
.section-head.center { text-align: center; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 18ch;
}
.section-head.center h2 { margin-inline: auto; }
.section-sub {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 52ch;
  margin-top: 18px;
  line-height: 1.55;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Host — editorial introduction to Yan ===== */
.host {
  background: var(--paper-2);
}
.host-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.host-photo {
  margin: 0;
  max-width: 440px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 40px rgba(24,21,18,.12);
}
.host-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.host-text .kicker { margin-bottom: 16px; }
.host-text h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.host-text p {
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  max-width: 52ch;
}
@media (max-width: 860px) {
  .host-inner { grid-template-columns: 1fr; gap: 36px; }
  .host-photo { max-width: 300px; }
}

/* ===== Why — simple, text-forward cards ===== */
.why { background: var(--paper); }
.cards {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.card { padding: 0; background: none; border: 0; box-shadow: none; }
.card-icon {
  width: 28px; height: 28px;
  display: inline-block;
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--accent);
  line-height: 1;
}
.card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.card p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 38ch;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; gap: 44px; } }

/* ===== How it works — dark, cinematic ===== */
.how {
  background: var(--dark);
  color: #ece6d9;
}
.how .section-head h2 { color: #fff; }
.how .kicker { color: #e8a68c; }
.steps {
  max-width: var(--max); margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: step;
}
.steps li {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 26px 0 0;
}
.step-n {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 14px;
  font-weight: 600;
  color: #e8a68c;
  letter-spacing: .1em;
  margin-bottom: 14px;
  font-optical-sizing: auto;
}
.steps li h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.steps li p {
  color: rgba(236, 230, 217, 0.72);
  font-size: 15px;
  line-height: 1.55;
  max-width: 30ch;
}
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ===== Pricing — editorial table ===== */
.pricing { background: var(--paper-2); }
.price-card {
  max-width: 800px; margin: 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.price-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.price-card th, .price-card td {
  padding: 24px 0;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.price-card thead th {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  padding-bottom: 18px;
}
.price-card tbody th {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  width: 40%;
}
.price-card tbody th span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 2px;
}
.price-card tbody td {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 36;
}
.price-card tbody td span {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 4px;
}
.price-card tbody tr:last-child th, .price-card tbody tr:last-child td { border-bottom: 0; }
.fine {
  padding: 24px 0 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}
@media (max-width: 600px) {
  .price-card tbody td { font-size: 22px; }
  .price-card th, .price-card td { padding: 18px 0; }
}

/* ===== Gallery — editorial contact sheet ===== */
.gallery {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding-top: 0;
  padding-bottom: clamp(80px, 12vh, 140px);
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: var(--paper-2);
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery figure:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ===== Testimonials — editorial pull quotes ===== */
.testimonials { background: var(--paper); }
.quotes {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
blockquote {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
blockquote p {
  font-family: "Fraunces", serif;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  text-wrap: pretty;
}
blockquote cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: .02em;
}
.testimonials-note {
  max-width: 640px;
  margin: 72px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--ink-3);
}
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; gap: 44px; } }

/* ===== FAQ ===== */
.faq { background: var(--paper-2); }
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 26px 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 14px; height: 14px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq details p {
  padding: 0 0 26px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 60ch;
}

/* ===== Final CTA ===== */
.cta-final {
  background: var(--dark);
  color: #ece6d9;
  text-align: center;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(40px, 6vw, 84px);
  max-width: 16ch;
  margin: 0 auto 20px;
  letter-spacing: -0.03em;
}
.cta-final p {
  color: rgba(236, 230, 217, 0.7);
  font-size: 17px;
  margin-bottom: 44px;
  max-width: 40ch;
  margin-inline: auto;
}
.service-line {
  margin-top: 32px;
  font-size: 13px;
  color: rgba(236, 230, 217, 0.5);
  letter-spacing: .04em;
}

/* ===== Footer ===== */
.footer {
  background: var(--paper);
  color: var(--ink-2);
  padding: 72px var(--pad-x) 36px;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rule);
}
.footer .logo { color: var(--ink); margin-bottom: 14px; }
.footer p { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s;
}
.footer a:hover { border-bottom-color: var(--accent); }
.copy {
  max-width: var(--max); margin: 28px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px; right: 16px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 15px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: 0 10px 28px rgba(200,94,60,.4);
  display: none;
}
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* ===== Motion preferences ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

::selection { background: rgba(200,94,60,.25); color: var(--ink); }

@media print {
  .nav, .sticky-cta, .hero-scrim { display: none !important; }
  .hero { min-height: auto; }
  .hero-bg { display: none; }
  .hero-inner { color: var(--ink); padding: 20px 0; }
  section { padding: 24px 0; }
}

/* ---------- Contact form ---------- */
.contact { padding: 88px 0 48px; max-width: 760px; margin: 0 auto; }
.contact .section-head { padding: 0 20px 24px; }
.contact-form {
  background: #fff;
  border: 1px solid rgba(30,58,46,.08);
  border-radius: 18px;
  padding: 28px;
  margin: 0 20px;
  box-shadow: 0 8px 32px -18px rgba(30,58,46,.25);
  position: relative;
}
.contact-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .field-row { grid-template-columns: 1fr; gap: 0; } }
.contact-form label { font-size: 14px; font-weight: 500; color: var(--ink); }
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid rgba(30,58,46,.15);
  border-radius: 10px;
  background: #fafaf7;
  color: var(--ink);
  transition: border-color .15s, background .15s;
  min-height: 44px;
}
.contact-form textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--accent, #1e3a2e);
  background: #fff;
}
.contact-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-actions .btn-secondary {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.contact-status { margin: 12px 0 0; font-size: 14px; min-height: 1.2em; }
.contact-status.is-ok { color: #1e7a4b; }
.contact-status.is-error { color: #b5381b; }
.contact-fine { margin: 14px 0 0; font-size: 12px; color: rgba(30,58,46,.55); }
.contact-form button[type="submit"][disabled] { opacity: .65; cursor: progress; }
