:root {
  --paper:    #fbeed8;
  --paper-2:  #f6e2c4;
  --paper-3:  #f0d4ac;
  --paper-card:#fffaf0;
  --ink:      #2a1c10;
  --ink-2:    #5a4633;
  --ink-3:    #8a7459;
  --accent:   #d9583a;
  --accent-2: #5e8a4f;
  --accent-3: #c98a2b;
  --rule:     #e6cf9d;

  --font-display: "Fraunces", "DM Serif Display", Georgia, serif;
  --font-body:    "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
  --font-hand:    "Caveat", "Bradley Hand", cursive;

  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(56px, 8vw, 112px);
  --radius-lg: 22px;
  --shadow-card: 4px 4px 0 var(--ink);
  --shadow-card-hover: 7px 7px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 18% 8%,  rgba(217,88,58,0.06) 0, transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(94,138,79,0.06) 0, transparent 42%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0 0.05 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- nav ---------- */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  max-width: 1180px; margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}
.mark {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 120, "SOFT" 80, "wght" 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 4px;
  transition: color .15s;
}
.mark:hover { color: var(--accent); }
.mark .dot { color: var(--accent); }
.site-nav .links {
  display: flex; gap: 28px; align-items: center;
  font-size: 16px;
}
.site-nav .links a {
  text-decoration: none; color: var(--ink-2);
  padding: 4px 6px 22px;
  position: relative;
  transition: color .15s;
}
.site-nav .links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 20px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22' fill='%23d9583a'><ellipse cx='12' cy='17' rx='5.5' ry='4'/><ellipse cx='4.8' cy='9' rx='2' ry='2.6'/><ellipse cx='9.5' cy='4' rx='2' ry='2.6'/><ellipse cx='14.5' cy='4' rx='2' ry='2.6'/><ellipse cx='19.2' cy='9' rx='2' ry='2.6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transform: translate(-50%, 6px) scale(.55) rotate(-10deg);
  transform-origin: center bottom;
  transition: opacity .2s ease, transform .3s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.site-nav .links a:hover { color: var(--ink); }
.site-nav .links a:hover::after {
  opacity: .85;
  transform: translate(-50%, 0) scale(1) rotate(-10deg);
}
.site-nav .links a.is-active {
  color: var(--ink);
  font-weight: 700;
}
.site-nav .links a.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1) rotate(-10deg);
}
.site-nav .cta {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  transition: transform .15s, background .15s, box-shadow .15s;
  display: inline-block;
  box-shadow: 0 2px 0 rgba(42,28,16,0.15);
}
.site-nav .cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217,88,58,0.3);
}

/* mobile nav toggle */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ---------- main fade transition during AJAX swap ---------- */
main { transition: opacity .15s ease; min-height: 50vh; }
body.is-loading main { opacity: 0.35; }

/* ---------- hero ---------- */
.hero {
  padding: clamp(28px, 5vw, 56px) 0 var(--section-pad);
  position: relative;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hi {
  font-family: var(--font-hand);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--accent);
  line-height: 1;
  margin: 0 0 4px;
  transform: rotate(-2deg);
  display: inline-block;
}
h1.display {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500;
  font-weight: 500;
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
h1.display em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}
.hero p.intro {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 42ch;
  margin: 0 0 32px;
}
.hero .actions {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 0 rgba(166, 60, 36, 0.6);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(42, 28, 16, 0.4);
}
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(166, 60, 36, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.hero-note {
  margin-top: 22px;
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--ink-3);
  line-height: 1.2;
  display: flex; align-items: center; gap: 10px;
}
.hero-note::before {
  content: ""; display: inline-block;
  width: 36px; height: 1px; background: var(--ink-3);
  transform: translateY(-2px);
}

/* polaroid */
.polaroid {
  background: #fffdf6;
  padding: 14px 14px 50px;
  box-shadow:
    0 12px 28px rgba(42, 28, 16, 0.14),
    0 2px 6px rgba(42,28,16,0.08);
  display: inline-block;
  position: relative;
  transform: rotate(2.5deg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  max-width: 100%;
}
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid .photo,
.polaroid img {
  display: block; width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  background-size: cover; background-position: center top;
  object-fit: cover; object-position: center 22%;
  position: relative;
}
.polaroid .photo.placeholder::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--ink-3);
  padding: 16px;
  text-align: center;
}
.polaroid .caption {
  position: absolute; left: 0; right: 0; bottom: 14px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--ink-2);
}
.tape {
  position: absolute;
  width: 92px; height: 24px;
  background: rgba(217, 88, 58, 0.22);
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  border-radius: 1px;
}
.hero-right {
  display: flex; justify-content: center;
  perspective: 1000px;
}
.hero-right .polaroid { max-width: 460px; width: 100%; }

/* ---------- generic section type ---------- */
section { padding: var(--section-pad) 0; position: relative; }

h2.section-h {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500;
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 16ch;
}
h2.section-h em { font-style: italic; color: var(--accent); }
.section-lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 56px;
  line-height: 1.55;
}
.kicker {
  font-family: var(--font-hand);
  font-size: 30px;
  color: var(--accent-2);
  line-height: 1;
  margin: 0 0 10px;
  display: inline-block;
  transform: rotate(-1.5deg);
}

/* ---------- about ---------- */
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.about-photos {
  position: relative;
  min-height: 660px;
}
.about-photos .polaroid { position: absolute; transition: transform .35s cubic-bezier(.2,.8,.2,1), z-index 0s .35s; }
.about-photos .p1 { top: 0;     left: 0;       width: 54%; transform: rotate(-4deg);   z-index: 2; }
.about-photos .p2 { top: 120px; right: 0;      width: 48%; transform: rotate(3.5deg);  z-index: 1; }
.about-photos .p3 { bottom: 0;  left: 28%;     width: 54%; transform: rotate(-1.5deg); z-index: 3; }
.about-photos .polaroid:hover { z-index: 5; transition: transform .35s cubic-bezier(.2,.8,.2,1), z-index 0s 0s; }

.about-text p {
  font-size: 18px; line-height: 1.65; color: var(--ink-2);
  margin: 0 0 1.1em;
  max-width: 52ch;
}
.about-text p strong { color: var(--ink); font-weight: 700; }
.signature {
  margin-top: 32px;
  display: flex; align-items: center; gap: 18px;
}
.signature .name {
  font-family: var(--font-hand);
  font-size: 48px;
  color: var(--ink);
  line-height: 1;
  transform: rotate(-2deg);
}
.signature .who {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.35;
}
.signature .who b { color: var(--ink); font-weight: 700; }

/* ---------- credentials strip (About) ---------- */
.credentials {
  margin-top: 56px;
  padding: 36px;
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}
.credentials::before {
  content: "";
  position: absolute;
  top: -10px; left: 36px;
  width: 64px; height: 18px;
  background: rgba(94,138,79,0.35);
  transform: rotate(-2deg);
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.credentials h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 500;
  font-size: 26px;
  margin: 0 0 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.credentials ul {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 16px;
}
.credentials li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
  font-size: 16px;
  color: var(--ink-2);
}
.credentials li:last-child { border-bottom: none; padding-bottom: 0; }
.credentials li b {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.credentials li time {
  color: var(--ink-3);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* ---------- services ---------- */
.services .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
}
.card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 500;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
/* pet-treat icon — bone (Phosphor Icons, MIT) */
.card .swatch {
  width: 60px; height: 60px;
  margin-bottom: 20px;
  overflow: visible;
  filter: drop-shadow(3px 3px 0 var(--ink));
  display: block;
  transform: rotate(-4deg);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.card:hover .swatch { transform: rotate(4deg) scale(1.06); }
.card .swatch .treat {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 12;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.card:nth-child(2) .swatch .treat { fill: var(--accent-2); }
.card:nth-child(3) .swatch .treat { fill: var(--accent-3); }
.card:nth-child(4) .swatch .treat { fill: var(--ink); }
.card:nth-child(5) .swatch .treat { fill: var(--accent); }
.card:nth-child(6) .swatch .treat { fill: var(--accent-2); }
.card p {
  margin: 0 0 18px; color: var(--ink-2);
  font-size: 16px; line-height: 1.55;
  flex: 1;
}
.card .price {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 500;
  font-size: 24px;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.card .price small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- Rover social proof ---------- */
.rover-proof {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  padding: 40px 36px;
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--accent);
  position: relative;
}
.rover-proof::before,
.rover-proof::after {
  content: "✦";
  position: absolute;
  font-family: var(--font-display);
  color: var(--accent-3);
  font-size: 20px;
  opacity: .5;
}
.rover-proof::before { top: 14px; left: 20px; }
.rover-proof::after  { bottom: 14px; right: 20px; }
.rover-proof .stars {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--accent-3);
  line-height: 1;
  letter-spacing: 6px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.rover-proof .score {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 500;
  font-size: 56px;
  color: var(--ink);
  margin: 10px 0 2px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.rover-proof .count {
  color: var(--ink-2);
  font-size: 17px;
  margin-bottom: 20px;
}
.rover-proof a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s, gap .15s;
}
.rover-proof a:hover { color: var(--ink); border-color: var(--ink); gap: 12px; }

/* ---------- FAQ ---------- */
.faq .list { max-width: 800px; margin: 0 auto; }
details.q {
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 20px 26px;
  margin-bottom: 14px;
  transition: box-shadow .2s, transform .2s;
}
details.q:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px,-1px); }
details.q[open] { box-shadow: 3px 3px 0 var(--accent); }
details.q summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
  transition: transform .25s;
  line-height: 1;
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
}
details.q[open] summary::after { content: "−"; }
details.q .a {
  color: var(--ink-2);
  padding-top: 14px;
  font-size: 16.5px;
  line-height: 1.6;
}
details.q .a a { color: var(--accent); font-weight: 700; }
.faq h2.section-h { text-align: center; margin-left: auto; margin-right: auto; }
.faq .kicker { display: block; text-align: center; }
.faq .section-lede { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 48px; }

/* ---------- contact ---------- */
.contact-block {
  background: var(--ink);
  color: var(--paper);
  margin: var(--section-pad) auto 32px;
  max-width: calc(1180px - (var(--gutter) * 2));
  width: calc(100% - (var(--gutter) * 2));
  border-radius: 36px;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.contact-block .kicker { color: var(--paper-3); }
.contact-block h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 500;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--paper);
  max-width: 14ch;
}
.contact-block h2 em { color: var(--paper-3); font-style: italic; }
.big-email {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 500;
  font-size: clamp(24px, 4vw, 52px);
  color: var(--paper);
  text-decoration: none;
  padding: 16px 28px;
  background: var(--accent);
  border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 6px 0 rgba(0,0,0,0.25);
  word-break: break-word;
  max-width: 100%;
}
.big-email:hover {
  transform: translateY(-3px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 9px 0 rgba(0,0,0,0.25);
}
.big-email .arrow {
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.55em;
  transition: transform .2s;
}
.big-email:hover .arrow { transform: translateX(4px); }

.contact-block .or-rover {
  margin-top: 28px;
  color: var(--paper-3);
  font-size: 17px;
}
.contact-block .or-rover a {
  color: var(--paper);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
}
.contact-block .or-rover a:hover { color: var(--accent); }

.contact-block .alt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 212, 172, 0.18);
  color: var(--paper-3);
  font-size: 15px;
}
.contact-block .alt > div {
  display: flex; flex-direction: column; gap: 4px;
}
.contact-block .alt b {
  color: var(--paper);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 100, "wght" 500;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.005em;
}

.contact-block .doodle {
  position: absolute; right: -40px; bottom: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.22;
  pointer-events: none;
}
.contact-block .doodle.b {
  right: 180px; bottom: 50px; width: 110px; height: 110px;
  background: var(--accent-2);
  opacity: 0.28;
}

/* ---------- footer ---------- */
footer.site-foot {
  padding: 28px var(--gutter) 40px;
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  color: var(--ink-3);
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--rule);
  margin-top: 24px;
}
footer.site-foot .mark {
  font-size: 22px; color: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 120, "SOFT" 80, "wght" 500;
}
footer.site-foot .mark .dot { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-nav {
    padding: 16px var(--gutter);
    gap: 8px;
  }
  .nav-toggle-label {
    display: inline-flex; flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px 8px;
    margin-left: auto;
    order: 2;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-label span {
    display: block; width: 26px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: transform .25s, opacity .2s;
    transform-origin: center;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-nav .links {
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 4px;
    margin-top: 12px;
    border-top: 1px dashed var(--rule);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
  }
  .nav-toggle:checked ~ .links {
    max-height: 320px;
    opacity: 1;
  }
  .site-nav .links a {
    padding: 12px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav .links a:last-child { border-bottom: none; }
  .site-nav .links a::after { display: none; }
  .site-nav .cta {
    order: 3;
    font-size: 14px;
    padding: 9px 16px;
  }

  .hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { order: -1; }
  .hero-right .polaroid { max-width: 320px; }

  .about .grid { grid-template-columns: 1fr; }
  .about-photos {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
  }
  .about-photos .polaroid {
    position: static;
    width: 46%;
    transform: rotate(-2deg);
  }
  .about-photos .p2 { transform: rotate(2deg); margin-top: 16px; }
  .about-photos .p3 { transform: rotate(-1deg); width: 50%; }

  .services .grid { grid-template-columns: 1fr; }
  .credentials { padding: 28px 22px; }
  .credentials li { grid-template-columns: 1fr; gap: 4px; }

  .contact-block {
    margin: 32px auto 24px;
    padding: 40px 24px;
    border-radius: 28px;
  }
  .contact-block h2 { margin-bottom: 28px; }
  .big-email { font-size: clamp(22px, 7vw, 30px); padding: 14px 22px; }
  .contact-block .alt { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; padding-top: 24px; }
  .contact-block .doodle.b { display: none; }

  footer.site-foot {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .hero-right .polaroid { max-width: 260px; }
  .about-photos .polaroid { width: 70%; }
  .about-photos .p2, .about-photos .p3 { width: 70%; }
  .rover-proof { padding: 32px 22px; }
  .rover-proof .score { font-size: 48px; }
  .rover-proof .stars { font-size: 38px; }
  .card { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
