/* ==========================================================
   Ruff-N-Fluff — review preview styles
   Colors, type, and spacing live in the tokens below so they
   are easy to adjust during art direction.
   ========================================================== */

:root {
  /* Palette (provisional) */
  --paper: #FBF8F3;        /* warm white */
  --paper-2: #F2ECE3;      /* warm tint for alternating sections */
  --ink: #232628;          /* charcoal text */
  --steel: #1F3343;        /* Midnight Steel, lightened halfway toward Harbor */
  --ink-soft: #4A4F53;
  --line: #E2DBD0;
  --teal: #218D88;         /* one teal for light and dark: 3.8:1 on warm white and on charcoal */
  --teal-dark: var(--teal);
  --teal-tint: #E1EFEC;
  --teal-light: var(--teal);
  --apricot: #E3A15F;      /* warm highlight, decorative only */

  /* Review markers */
  --tbc-bg: #FFF0B3;
  --tbc-line: #B98900;
  --tbc-ink: #4F3B00;

  /* Type */
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 9vw, 7rem);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 72px;
  --review-bar-h: 0px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.6;
  hyphens: none;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--steel);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.2vw + 1rem, 4rem); font-weight: 600; }
/* Each phrase of the headline stays together; the two phrases stack when space runs out. */
.h1-line, .h-line { display: inline-block; white-space: nowrap; }
h2 { font-size: clamp(1.9rem, 2.2vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.3rem, 0.6vw + 1.1rem, 1.55rem); }

p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }

a { color: var(--teal-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
@media (hover: hover) { a:hover { text-decoration-thickness: 2px; } }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.muted { color: var(--ink-soft); font-size: 0.95em; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 0.3rem 1.1rem; white-space: nowrap;
  border-radius: 9px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { filter: brightness(0.9); }
.btn-secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: #fff; }
.nav-btn { width: 13.05rem; padding-inline: 0.75rem; } /* header and footer buttons share one width */
.btn-small { min-height: 32px; padding: 0.3rem 0.95rem; font-size: 0.9rem; }
/* Buttons look 32px tall; this invisible area keeps a comfortable 44px tap target. */
.btn::after, .menu-toggle::after, .review-toggle::after { content: ""; position: absolute; inset: -7px -2px; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

/* ---------- Review markers ---------- */
.review-bar {
  background: var(--tbc-bg); color: var(--tbc-ink);
  border-bottom: 1px solid var(--tbc-line);
  font-size: 0.95rem; text-align: left;
  padding: 0.6rem var(--gutter);
}
.review-bar p { margin: 0 auto; max-width: var(--container); }

.is-review .tbc {
  background: var(--tbc-bg);
  color: var(--tbc-ink);
  border-bottom: 2px dashed var(--tbc-line);
  padding: 0 0.25em;
  border-radius: 3px;
  font-weight: 700;
}
.review-note {
  display: inline-block;
  background: var(--tbc-bg); color: var(--tbc-ink);
  border-left: 4px solid var(--tbc-line);
  padding: 0.45rem 0.8rem; border-radius: 4px;
  font-size: 0.92rem; font-weight: 600;
}
html:not(.is-review) .review-only { display: none !important; }
.is-review .public-only { display: none !important; }

.review-toggle {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 60;
  background: var(--ink); color: #fff;
  border: 1.5px solid var(--tbc-bg); border-radius: 9px;
  padding: 0.3rem 0.9rem; min-height: 32px;
  font: 700 0.9rem/1 var(--font-body); cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(35,38,40,.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}

/* Temporary typographic wordmark — editable text, not a final logo */
.wordmark {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  padding-block: 0.8rem;
}
.wordmark .wm-word { color: var(--steel); }
.wordmark .wm-n { color: var(--teal); font-weight: 900; padding-inline: 0.04em; }
.wordmark-light, .wordmark-light .wm-word { color: #fff; }
.wordmark-light .wm-n { color: var(--teal-light); }

.site-nav { display: flex; align-items: baseline; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; align-items: baseline; gap: 1.5rem; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--steel); text-decoration: none; font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  padding: calc((32px - 1.08rem) / 2) 0 calc((32px - 1.08rem) / 2 - 1.5px); display: inline-block; border-bottom: 1.5px solid transparent;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { border-color: var(--teal); color: var(--teal); }

.menu-toggle {
  display: none;
  align-items: center; gap: 0.5rem;
  position: relative;
  background: none; border: 1.5px solid var(--teal); border-radius: 9px;
  min-height: 32px; padding: 0.25rem 0.8rem;
  font: 800 0.95rem/1 var(--font-body); color: var(--teal); cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    box-shadow: 0 16px 24px rgba(35,38,40,.08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav { align-items: flex-start; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 13.05rem; }
  .site-nav ul a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a:hover { border-color: var(--line); color: var(--teal-dark); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--steel); color: #F4F1EC; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:not(.kicker):not(.review-note) { color: var(--ink-soft); max-width: 36rem; }
.section-dark .section-head p:not(.kicker):not(.review-note) { color: #D9D5CE; }

.kicker, .eyebrow {
  font-family: var(--font-body);
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 0.9rem;
}
.section-dark .kicker { color: var(--teal-light); }

/* ---------- Soap suds ----------
   Soft-edged foam along the bottom of light sections. Each section uses a
   different crop at the same scale; position left, right, or centered. */
.section, .hero-top { position: relative; overflow-x: clip; }
.section > .container, .hero-top > .container { position: relative; z-index: 1; }
.suds {
  position: absolute; bottom: 0; z-index: 0; pointer-events: none;
  width: min(1100px, 82%); aspect-ratio: 1400 / 440;
  background-size: 100% 100%; background-repeat: no-repeat;
}
.suds-left { left: 0; }
.suds-short { aspect-ratio: 1400 / 293; background-size: 100% 150%; background-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60%); mask-image: linear-gradient(to bottom, transparent 0, #000 60%); }
.suds-flip { transform: scaleX(-1); }
.suds-half { width: min(1500px, 110%); left: -12%; aspect-ratio: 1400 / 220; background-size: 100% 200%; background-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 75%); mask-image: linear-gradient(to bottom, transparent 0, #000 75%); }
/* Services suds rise over the price box so its green shows through the foam */
#services { overflow: clip; }
#services > .suds-b { z-index: 2; transform: translateY(20%); }
#pricing { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.suds-right { right: 0; }
.suds-hero { transform: translateY(20px); } /* sits partly behind the blue experience strip */
.suds-center { left: 50%; transform: translateX(-50%); }
.suds-a { background-image: url("../images/suds-a.webp"); }
.hero-top > .suds { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 14px); mask-image: linear-gradient(to top, transparent 0, #000 14px); }
.suds-b { background-image: url("../images/suds-b.webp"); }
.suds-c { background-image: url("../images/suds-c.webp"); }
.suds-d { background-image: url("../images/suds-d.webp"); }
.suds-e { background-image: url("../images/suds-e.webp"); }
.suds-f { background-image: url("../images/suds-f.webp"); }
.hero-top { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
@media (max-width: 760px) { .suds { width: 135%; } .suds-left { left: -10%; } .suds-right { right: -25%; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1.05fr 0.95fr; align-items: center;
}
.hero-copy { max-width: 36rem; }
.eyebrow { display: block; letter-spacing: 0.08em; }
.eyebrow .sep { margin: 0 0.6em; }
.pin {
  display: inline-block; vertical-align: 0.05em; margin-right: 0.55rem;
  width: 0.7rem; height: 0.7rem; border-radius: 50% 50% 50% 0;
  background: var(--apricot); transform: rotate(-45deg); flex: none;
}
.lede { font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.35rem); color: var(--ink-soft); max-width: 33rem; }
/* Paired buttons share one width; the gap is half the button height. */
.actions, .contact-actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; }
.actions { margin-top: 2rem; }

.hero-photo { margin: 0; position: relative; }
.hero-photo::before {
  /* offset color block behind the photo */
  content: ""; position: absolute; inset: 1.5rem -1.25rem 0 1.5rem;
  background: var(--teal-tint); border-radius: var(--radius); z-index: -1;
}
.hero-photo picture { display: block; overflow: hidden; border-radius: var(--radius); }
.hero-photo img { transform: scale(1.02); transform-origin: top left;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 35%;
  border-radius: var(--radius);
}
.photo figcaption { padding-left: var(--radius); }
.hero-photo figcaption, .photo figcaption {
  font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.75rem; font-style: italic;
}
.hero-photo figcaption {
  margin-top: 0; height: 2.5rem; display: flex; align-items: center; line-height: 1.3;
  padding-left: calc(1.5rem + (2.5rem - 0.63rem) / 2);
}

.facts-band { background: var(--steel); color: #fff; }
.facts {
  list-style: none; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 1.75rem;
}
.facts li { padding: 0.25rem 1.25rem; border-left: 1px solid rgba(255,255,255,.2); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--font-head); font-size: clamp(1.35rem, 1.2vw + 1rem, 1.9rem); font-weight: 600; line-height: 1.2; }
.facts span { color: #CFCAC2; font-size: 0.95rem; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card-media { background: var(--paper-2); }
.card-media picture { display: block; }
/* Service photos share one 4:3 frame; the split card uses two squares. */
.card-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media-split img { aspect-ratio: 1 / 1; }
.card-media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.card-body { padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.card-body > p:not(.card-tag):not(.price) { color: var(--ink-soft); }
.card-tag {
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--teal-dark); margin-bottom: 0.35rem;
}

/* Crop points keep faces in frame; adjust per photo */
.cards .card:nth-child(1) .card-media img { object-position: 50% 30%; }
.cards .card:nth-child(2) .card-media img { object-position: 55% 30%; }
.card-media-split picture:first-child img { object-position: 45% 50%; }
.card-media-split picture:last-child img { object-position: 62% 45%; }
.list-label {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 0.5rem 0 0.6rem;
}
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
/* Check marks: a teal circle the cap height of the text, with a white check reversed out */
.checks li { position: relative; padding-left: 1.35em; margin-bottom: 0.35rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: calc(0.43em - 2.83px);
  width: calc(0.72em + 3px); height: calc(0.72em + 3px); border-radius: 50%; background: var(--teal);
}
.checks li::after {
  content: ""; position: absolute; left: calc(0.16em + 1.5px); top: calc(0.6em);
  width: 0.4em; height: 0.21em;
  border-left: 0.11em solid #fff; border-bottom: 0.11em solid #fff;
  transform: rotate(-45deg);
}
.price {
  margin-top: auto; margin-bottom: 0; padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft);
}
.price .tbc { text-transform: none; letter-spacing: 0; }

.review-panel {
  margin-top: 1.5rem; padding: 1.25rem 1.5rem;
  background: var(--tbc-bg); color: var(--tbc-ink); border-radius: var(--radius-sm);
  border-left: 4px solid var(--tbc-line);
}
.review-panel h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--tbc-ink); }
.review-panel p { margin: 0; }

.price-factors {
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: var(--teal-tint);
}
.price-factors h3 { margin-bottom: 0.5rem; }
.price-factors p { color: var(--ink-soft); margin: 0; max-width: 40rem; padding-right: clamp(0px, 14vw, 11rem); }

/* ---------- Perched pets (transparent cutouts) ----------
   A partial pet sits on the top edge of its box. Each box sets:
   --w (image width), --ratio (height / width), --ledge (share of the
   image that hangs over the edge, such as paws), --right (offset). */
.perch {
  position: relative;
  margin-top: calc(var(--w) * var(--ratio) * (1 - var(--ledge)) + 1.25rem);
}
.perch > .cutout {
  position: absolute; bottom: 100%; right: var(--right, 1.5rem);
  width: var(--w); height: auto;
  transform: translateY(calc(var(--ledge) * 100%));
  pointer-events: none; z-index: 2;
}
/* The towel-wrapped pack sits on the top edge of the dark band; Meet Julie gets matching room. */
.section.perch { margin-top: 0; }
#meet-julie { padding-bottom: calc(var(--section-pad) + clamp(195px, 24vw, 285px) * .663 * .873); }
.price-factors.perch { margin-top: calc(var(--w) * var(--ratio) * (1 - var(--ledge)) + clamp(2.5rem, 5vw, 3.5rem)); }

/* Trio peeking over the experience band */
.facts-band { position: relative; box-shadow: 0 -1px 0 var(--steel); }
.cutout-trio {
  position: absolute; bottom: 100%; left: var(--gutter); width: var(--w); height: auto;
  transform: translateY(calc(var(--ledge) * 100%)); pointer-events: none; z-index: 2;
}
@media (min-width: 961px) { .cutout-trio { left: max(var(--gutter), (100% - var(--container)) / 2 + var(--gutter)); } }
.hero-top { padding-bottom: calc(var(--w) * var(--ratio) * (1 - var(--ledge)) + 2rem); }
/* Doodle lying on the top edge of the service cards */
.cards-perch { position: relative; }
.cutout-doodle {
  position: absolute; bottom: 100%; right: 1.5rem; width: clamp(200px, 22vw, 290px); height: auto;
  pointer-events: none; z-index: 2;
}
/* Towel cat beside the towel group on the dark band */
.cutout-towel-cat {
  --cw: clamp(120px, 12vw, 168px);
  position: absolute; bottom: 100%; right: calc(var(--right) + var(--w) - var(--cw) * 0.3);
  width: var(--cw); height: auto; pointer-events: none; z-index: 1;
}
@media (max-width: 960px) {
  /* Towel group plus cat, centered and no wider than the green box */
  .price-factors.perch { --w: calc((100% - 1rem) / 1.175) !important; --right: 0.5rem !important; }
  .cutout-towel-cat { --cw: calc(var(--w) * 0.25); }
}
.policy.perch { margin-top: calc(var(--w) * var(--ratio) * (1 - var(--ledge)) + clamp(2.5rem, 5vw, 3.5rem) - 67px); }

/* ---------- Meet Julie ---------- */
.portrait-wrap { position: relative; }
.cutout-bichon {
  /* full-body pet overlapping the bottom-right corner of the portrait */
  --bw: clamp(142px, 15vw, 195px);
  position: absolute; right: calc(var(--bw) * -0.15); bottom: clamp(-3rem, -3vw, -1.5rem);
  width: var(--bw); height: auto; pointer-events: none; z-index: 2;
}
.julie-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait-slot {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--tbc-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  text-align: center; color: var(--ink-soft);
}
.portrait-slot span { font-family: var(--font-head); font-size: 1.4rem; color: var(--tbc-ink); }
.portrait-slot small { color: var(--tbc-ink); font-weight: 600; }
html:not(.is-review) .portrait-slot { background: var(--teal-tint); }
.julie-copy { max-width: 36rem; }
.julie-copy p:not(.kicker):not(.review-note) { color: var(--ink-soft); }

/* ---------- Experience ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li {
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.5rem;
}
.step-num {
  position: relative; z-index: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: calc(4.25rem + 12px); height: calc(4.25rem + 12px);
  color: var(--teal);
  font-family: var(--font-body); font-size: 2.6rem; font-weight: 800; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums; padding-top: 6px; /* digits sit high in the font; this centers them in the ring */
  margin: 0 0 1.5rem;
}
/* White soap bubble behind each step number */
.step-num::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: url("../images/bubble-round.webp") center / contain no-repeat;
}
/* Teal ring on top of the bubble: button line weight, inset by the numerals' stroke width */
.step-num::after {
  content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--teal); border-radius: 50%;
}
.steps p { color: #D9D5CE; max-width: 22rem; }

/* Pickup policy, inside the dark How it works band */
.policy { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.5rem); border-top: 1px solid rgba(255,255,255,.2); }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 3rem; }
.policy h3 { font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.4rem); margin-bottom: 0.5rem; }
.policy p:not(.kicker) { color: #D9D5CE; max-width: 32rem; margin: 0; }
@media (max-width: 760px) { .policy-grid { grid-template-columns: 1fr; } }

/* ---------- Happy Pets ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.photo { margin: 0; }
.photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  background: var(--paper-2);
}
.gallery .photo:nth-child(1) img { object-position: 50% 45%; }
.gallery .photo:nth-child(2) img { object-position: 45% 30%; }
.photo-slot {
  align-self: start;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--tbc-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--tbc-ink); font-family: var(--font-head); font-size: 1.2rem;
}
html:not(.is-review) .photo-slot { display: none; }
/* Kind words: testimonial cards with an owner or pet headshot */
.kind-words { margin-top: clamp(3rem, 6vw, 4.5rem); }
.kind-title { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.1rem); }
.testimonials {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 1.5rem;
}
.testimonial {
  margin: 0; padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius); background: var(--teal-tint);
  display: grid; grid-template-columns: 104px 1fr; gap: 0 1.25rem; align-content: start;
}
.testimonial > * { grid-column: 2; }
.testimonial > .t-photo { grid-column: 1; grid-row: 1 / span 3; }
.t-photo {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  background: var(--paper);
}
.t-photo-empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed #9FC7C1; font-size: 0.75rem; line-height: 1.2; color: var(--ink-soft); padding: 0.4rem;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-head); font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.5; margin: 0; color: var(--steel);
}
.testimonial figcaption { margin-top: 0.9rem; display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--teal-dark); font-weight: 800; }
.testimonial figcaption span { font-size: 0.92rem; color: var(--ink-soft); }
.testimonial .review-note { margin: 1rem 0 0; justify-self: start; }
.testimonial-empty { background: transparent; border: 2px dashed #B9B0A2; }
.testimonial-empty p { color: var(--ink-soft); margin: 0; align-self: center; }
@media (max-width: 760px) {
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .testimonial { grid-template-columns: 1fr; }
  .testimonial > *, .testimonial > .t-photo { grid-column: 1; grid-row: auto; }
  .testimonial > .t-photo { margin-bottom: 1rem; }
}
.form-notice {
  background: var(--teal-tint); border-left: 4px solid var(--teal);
  padding: 0.7rem 0.9rem; border-radius: 4px; font-size: 0.95rem; margin-bottom: 1rem;
}
.form-notice a { font-weight: 700; }
.testimonial-slot-unused {
  margin-top: 2rem; padding: 1.5rem; border: 2px dashed var(--tbc-line);
  border-radius: var(--radius); background: var(--tbc-bg); color: var(--tbc-ink);
}
.testimonial-slot h3 { color: var(--tbc-ink); }
.testimonial-slot p { margin: 0; }

/* ---------- FAQs ---------- */
.faq-wrap { max-width: 52rem; }
.faq-list { border-top: 1px solid #D7CFC2; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq-list details { border-bottom: 1px solid #D7CFC2; }
.faq-list details:last-child { border-bottom: 0; }
#faqs { padding-bottom: calc(var(--section-pad) / 2); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0.625rem; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 0.4vw + 1.05rem, 1.35rem);
  line-height: 1.3; text-wrap: balance; color: var(--steel);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: calc(0.78em + 4px); height: calc(0.78em + 4px); border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 50% 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 50% no-repeat,
    var(--teal);
}
.faq-list details[open] summary::after {
  background: linear-gradient(#fff, #fff) center / 50% 2px no-repeat, var(--teal);
}
.faq-list summary:hover, .faq-list details[open] summary { color: var(--teal); }
.faq-body { padding: 0 3.5rem 1.25rem 0.625rem; max-width: 42rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-info > p:not(.kicker):not(.review-note) { color: var(--ink-soft); max-width: 30rem; }
.info-list { margin: 2rem 0 1.5rem; display: grid; gap: 2rem; }
/* Each detail has a teal circle icon, as tall as its label and first line */
.info-list > div { position: relative; padding-left: 3.5rem; min-height: 2.5rem; }
.info-list > div::before {
  content: ""; position: absolute; left: 0; top: 0.1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background-color: var(--teal); background-repeat: no-repeat; background-position: center; background-size: 1.6rem;
}
.info-loc::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2021s-6.5-5.6-6.5-11a6.5%206.5%200%200%201%2013%200c0%205.4-6.5%2011-6.5%2011z%27/%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2710%27%20r%3D%272.4%27/%3E%3C/svg%3E"); }
.info-hours::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%278.5%27/%3E%3Cpath%20d%3D%27M12%207.5V12l3%202%27/%3E%3C/svg%3E"); }
.info-email::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273.5%27%20y%3D%276%27%20width%3D%2717%27%20height%3D%2712%27%20rx%3D%271.5%27/%3E%3Cpath%20d%3D%27M4%207l8%206%208-6%27/%3E%3C/svg%3E"); }
.info-phone::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%277%27%20y%3D%272.5%27%20width%3D%2710%27%20height%3D%2719%27%20rx%3D%272.2%27/%3E%3Cpath%20d%3D%27M10.5%2018.5h3%27/%3E%3C/svg%3E"); }

.info-list dt { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); }
.info-list dd { margin: 0.2rem 0 0; font-size: 1.1rem; line-height: 1.6; }
.info-list dd .muted { font-size: 1em; }
.contact-info a.link-strong { color: var(--steel); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; }
@media (hover: hover) { .contact-info a.link-strong:hover { color: var(--teal); } }
.info-list dd > a { font-weight: 700; display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; }
.contact-actions { gap: 16px; margin-top: 0.6rem; }
.text-julie-title { font-size: 1.2rem; margin: 0.2rem 0 0.35rem; }
.text-julie dd p { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 0.2rem; max-width: 28rem; }
.text-julie dd > a { display: block; width: max-content; margin: -0.6rem 0 0.4rem; }
.text-julie .contact-actions { margin-top: 0; justify-content: start; }

.request-form {
  align-self: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 12px 32px rgba(35,38,40,.06);
}
.request-form h3 { margin-bottom: 0.3rem; }
.form-intro { color: var(--ink-soft); font-size: 0.95rem; }
/* Form fields follow the LisaQ.com contact form: placeholder labels,
   light fill, hairline border, 2px corners, 16px padding, 13px uppercase hints. */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #CFCFCF;
  border-radius: 2px;
  background: #FAFAFA;
  color: var(--ink);
  font: 400 13px/1.4 var(--font-body);
}
.field ::placeholder { color: #767676; opacity: 1; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #767676 50%), linear-gradient(135deg, #767676 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; }
.field select:invalid { color: #767676; }
.field select option { color: var(--ink); text-transform: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--teal); outline-offset: -1px; border-color: #CFCFCF; border-radius: 2px;
}
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.hint { font-size: 0.88rem; color: var(--ink-soft); margin: 0.3rem 0 0; }
.error { font-size: 0.9rem; color: #A1231B; font-weight: 700; margin: 0.35rem 0 0; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); margin: 0.85rem 0 0; }
.form-status {
  margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: var(--tbc-bg); color: var(--tbc-ink); border-left: 4px solid var(--tbc-line);
  font-weight: 600;
}
.form-status p { margin: 0; }

/* ---------- Confirmation list (review only) ---------- */
.confirm-list { background: var(--tbc-bg); color: var(--tbc-ink); padding-block: clamp(3rem, 6vw, 4.5rem); }
.confirm-list h2 { color: var(--tbc-ink); font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }
.confirm-cols { list-style: none; padding: 0; margin: 0; max-width: 40rem; }
.confirm-cols li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.confirm-cols li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05em; height: 1.05em; border: 1.5px solid var(--tbc-ink); border-radius: 3px; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel); color: #fff; padding-bottom: 4.5rem; }
.footer-nav { display: flex; align-items: baseline; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav ul { list-style: none; display: flex; align-items: baseline; gap: 1.5rem; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-nav ul a {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9rem; line-height: 1.2;
  padding: calc((32px - 1.08rem) / 2) 0 calc((32px - 1.08rem) / 2 - 1.5px); display: inline-block; border-bottom: 1.5px solid transparent;
}
.footer-nav ul a:hover { border-color: var(--teal); color: var(--teal); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 0.95rem; }
.footer-meta p { margin: 0; }
.footer-kicker { margin-right: 0.5rem; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.is-review .site-footer .tbc { color: var(--tbc-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40rem; }
  .hero-photo { max-width: 34rem; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: 1fr; max-width: 40rem; }
  .julie-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait-slot { max-width: 24rem; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; max-width: 36rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wordmark { font-size: 1.35rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .facts li { border-left: 0; padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  /* 16px on phones keeps iPhone from zooming into a field when it's tapped */
  .field input, .field select, .field textarea { font-size: 16px; }
  .gallery { grid-template-columns: 1fr; }
  .actions { display: grid; grid-auto-flow: row; width: 100%; }
  .faq-body { padding-right: 0.625rem; }
  .footer-bar { flex-direction: column; align-items: flex-start; padding-block: 1rem; }
  .hero-photo::before { inset: 1rem -1.25rem 0 1rem; }
  .hero-photo figcaption { padding-left: calc(1rem + (2.5rem - 0.63rem) / 2); }
}
@media (max-width: 760px) { .faq-list.perch { --ledge: 0 !important; --right: 0px !important; --w: 80% !important; } }
.contact-actions { width: max-content; }
.footer-nav ul a { position: relative; }
.footer-nav ul a::after { content: ""; position: absolute; inset: -6px -4px; }

/* Footer Call/Text choices */
.call-menu { position: relative; }
.call-options {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 100%;
  display: grid; background: #fff; border-radius: 9px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.call-options[hidden] { display: none; }
.call-options a, .call-options button {
  display: block; padding: 0.75rem 1rem; min-height: 44px; text-align: left; white-space: nowrap;
  font: 700 0.95rem/1.3 var(--font-body); color: var(--steel); text-decoration: none;
  background: #fff; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.call-options button { color: var(--ink-soft); border-bottom: 0; }
.call-options a:hover, .call-options button:hover { background: var(--teal-tint); color: var(--teal); }

/* ---------- Phone refinements ---------- */
.ml { display: inline; }
@media (max-width: 960px) {
  /* Experience strip: two by two, with centered dividing lines */
  .facts { grid-template-columns: 1fr 1fr; gap: 0; }
  .facts li { border-left: 0; padding: 1rem 1.25rem 1rem 0; }
  .facts li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.2); padding-left: 1.25rem; padding-right: 0; }
  .facts li:nth-child(-n+2) { padding-top: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); padding-bottom: 0; }
  /* More room above the Rottweiler */
  .policy.perch { margin-top: calc(var(--w) * var(--ratio) * (1 - var(--ledge)) + 3.5rem); }
}
@media (max-width: 760px) {
  #services > .suds-b { transform: translateY(80%); }
}
@media (max-width: 600px) {
  .eyebrow .sep { display: none; }
  .eyebrow .loc { display: block; margin-top: 0.2rem; }
  .price-factors p { padding-right: 0; }
  .ml { display: block; }
  .photo figcaption { margin-top: 0.5rem; }
  .footer-nav ul { gap: 0.7rem; flex-wrap: nowrap; }
  .footer-nav ul a { font-size: 0.85rem; }
  .call-options { right: auto; left: 0; }
}
@media (max-width: 960px) { .portrait-slot { justify-content: flex-start; padding-top: 2.5rem; } }

/* Jump links land with the pets above the section in view */
.anchor-pets { position: absolute; left: 0; height: 0; top: calc(-1 * var(--w) * var(--ratio) * (1 - var(--ledge)) - 1rem); }
.photo .photo-slot { margin: 0; }
@media (max-width: 960px) {
  /* Experience strip: more room above than below */
  .facts { padding-top: 2.25rem; padding-bottom: 1.25rem; }
  /* How it works: a quarter less space above the Doberman */
  #meet-julie { padding-bottom: calc((var(--section-pad) + clamp(195px, 24vw, 285px) * .663 * .873) * .75); }
  /* Step 3: a third less space after; half again above the pickup policy */
  .steps li:last-child p { margin-bottom: 0.67em; }
  .policy.perch { margin-top: calc(var(--w) * var(--ratio) * (1 - var(--ledge)) + 2.33rem); padding-top: calc(clamp(2rem, 4vw, 2.5rem) * 1.5); }
}
@media (max-width: 760px) {
  #services > .suds-b { display: block; transform: translateY(45%); }
}
#pricing.anchor-pets { top: calc(-1 * min(clamp(320px, 50vw, 680px), 100vw - 2 * var(--gutter) - 3rem) * .477 - 1rem); }
@media (max-width: 960px) { #pricing.anchor-pets { top: calc(-1 * (100vw - 2 * var(--gutter) - 1rem) / 1.175 * .477 - 1rem); } }

/* Only the form's own submit check turns fields red */
.field :is(input, select, textarea):user-invalid:not([aria-invalid="true"]) { border-color: #CFCFCF; background: #FAFAFA; box-shadow: none; }

/* Every email and phone link in Contact uses the same Midnight Steel style */
.contact-info a.link-strong, .contact-info a.link-strong:visited { color: var(--steel); }
/* FAQ answer links: one underline weight */
.faq-body a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
@media (hover: hover) { .faq-body a:hover { text-decoration-thickness: 1px; color: var(--teal); } }
@media (max-width: 960px) {
  /* Menu: equal space above and below the button */
  .site-nav { gap: 0; }
  .site-nav .nav-cta { margin-top: 1.5rem; }
}
@media (max-width: 760px) {
  .price-factors { padding-bottom: calc(clamp(1.5rem, 3vw, 2.5rem) * 1.5); }
  #services > .suds-b { transform: translateY(10%); }
}

/* The review toggle shows only when the page is opened with ?review */
html:not(.review-mode) .review-toggle { display: none !important; }
