/* ==========================================================================
   Megan's Pet Sitting of Charlottesville
   Palette + type built up from the real brand: the logo's aubergine lettering
   (#542454), its butter-yellow blob (#fce4b4) and the site's plum (#7a5c89),
   refined onto warm oat paper. Display: Fraunces (soft/wonk axes). Body: Karla.
   ========================================================================== */

/* === defensive base — injected by harden_css.py; do not hand-edit === */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: calc(var(--nav-h, 72px) + 1rem); }
img, svg, video, iframe, canvas, table { display: block; max-width: 100%; }
p, li, h1, h2, h3, h4, blockquote, td, dd, dt { overflow-wrap: anywhere; }
/* === end defensive base === */

:root {
  /* ink */
  --ink:        #241a29;
  --ink-2:      #574a5e;
  --ink-3:      #7d7183;

  /* the signature plum */
  --plum:       #6b4478;
  --plum-deep:  #3f2349;
  --plum-mid:   #855594;
  --plum-soft:  #a98cb3;
  --mist:       #f2eaf5;
  --mist-2:     #e6d8ec;

  /* butter, straight off the logo blob */
  --butter:     #f0cb84;
  --butter-lt:  #fdf1d6;
  --butter-dp:  #d9a94f;

  /* warm oat paper */
  --paper:      #fbf6ee;
  --paper-2:    #f5ece0;
  --paper-3:    #efe3d3;
  --line:       #e6d9c7;
  --white:      #fffcf7;

  --nav-h:      74px;
  --r-sm:       10px;
  --r:          18px;
  --r-lg:       28px;
  --r-pill:     999px;

  --shadow-sm:  0 1px 2px rgba(63,35,73,.06), 0 3px 10px rgba(63,35,73,.05);
  --shadow:     0 2px 6px rgba(63,35,73,.06), 0 14px 34px -12px rgba(63,35,73,.16);
  --shadow-lg:  0 4px 12px rgba(63,35,73,.07), 0 30px 60px -20px rgba(63,35,73,.26);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Karla", "Avenir Next", "Segoe UI", sans-serif;

  --wrap:    1180px;
  --ease:    cubic-bezier(.22,.75,.3,1);
}

/* ---------- base ---------- */

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* paper grain — sits above the background, under everything else */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0;
  font-variation-settings: "SOFT" 42, "WONK" 1;
}

p { margin: 0; }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }

img, picture, svg { display: block; max-width: 100%; }

::selection { background: var(--butter); color: var(--ink); }

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

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 560px) { .wrap { width: min(100% - 1.75rem, var(--wrap)); } }

/* ---------- shared type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--butter-dp);
  border-radius: 2px;
}

.h2 {
  font-size: clamp(1.85rem, 4.1vw, 3rem);
  max-width: 20ch;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.03rem, 1.35vw, 1.16rem);
  color: var(--ink-2);
  max-width: 62ch;
  margin-top: 1.1rem;
}

/* the butter blob from the logo, reused as a highlight behind display words */
.mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.16em; right: -.16em;
  bottom: .01em;
  height: .42em;
  background: var(--butter);
  border-radius: 60% 40% 55% 45% / 60% 55% 45% 40%;
  opacity: .78;
}

.serif-i { font-style: italic; font-variation-settings: "SOFT" 60, "WONK" 1; }

/* ---------- buttons ---------- */

.btn {
  --bg: var(--plum);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.55rem;
  min-height: 52px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: .945rem;
  font-weight: 700;
  letter-spacing: .008em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .22s var(--ease), color .22s var(--ease);
  box-shadow: 0 1px 2px rgba(63,35,73,.14), 0 10px 22px -10px rgba(63,35,73,.42);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(63,35,73,.16), 0 18px 34px -12px rgba(63,35,73,.5);
  background: var(--plum-deep);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--plum-soft);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--mist);
  border-color: var(--plum);
  color: var(--plum-deep);
  box-shadow: 0 8px 20px -12px rgba(63,35,73,.3);
}

.btn--butter {
  --bg: var(--butter);
  --fg: var(--ink);
  box-shadow: 0 1px 2px rgba(126,88,20,.16), 0 12px 26px -12px rgba(126,88,20,.5);
}
.btn--butter:hover { background: var(--butter-dp); color: var(--ink); }

.btn--sm { padding: .68rem 1.2rem; min-height: 44px; font-size: .875rem; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,246,238,.88);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px -20px rgba(63,35,73,.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.nav__brand img { width: 46px; height: 45px; }
.nav__brand b {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 46, "WONK" 1;
}
.nav__brand span {
  display: block;
  font-family: var(--body);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
}

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a {
  padding: .5rem .74rem;
  border-radius: var(--r-pill);
  font-size: .905rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--plum-deep); background: var(--mist); }

.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  padding: .5rem .7rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.nav__tel:hover { background: var(--mist); color: var(--plum-deep); }

.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav__burger svg { width: 21px; height: 21px; }

/* mobile drawer — display:none by default so [hidden] can't be out-specified */
.nav__mobile { display: none; }
.nav__mobile.is-open {
  display: block;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: .7rem 0 1.15rem;
}
.nav__mobile a {
  display: block;
  padding: .78rem .25rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-of-type { border-bottom: 0; }
.nav__mobile .btn { width: 100%; margin-top: .9rem; }

@media (max-width: 940px) {
  .nav__links, .nav__tel { display: none; }
  .nav__burger { display: inline-flex; }
  :root { --nav-h: 66px; }
}
/* on a phone the full lockup wraps to three cramped lines — drop the locality
   line and keep the name on one */
@media (max-width: 600px) {
  .nav__inner { gap: .5rem; }
  .nav__brand img { width: 40px; height: 39px; }
  .nav__brand b { font-size: .9rem; white-space: nowrap; }
  .nav__brand span { display: none; }
  .nav .btn--sm { padding: .6rem 1rem; min-height: 42px; font-size: .82rem; }
  .nav__burger { width: 42px; height: 42px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: clamp(1.1rem, 3.2vh, 2.6rem) 0 clamp(1.4rem, 4vh, 3rem);
  overflow-x: clip;               /* the decorative wash bleeds on purpose */
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -22%; right: -14%;
  width: 62vw; max-width: 900px;
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(240,203,132,.5), transparent 70%),
    radial-gradient(closest-side at 62% 58%, rgba(169,140,179,.42), transparent 72%);
  filter: blur(4px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -12%; bottom: -26%;
  width: 44vw; max-width: 560px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(107,68,120,.16), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.6rem);
}

/* the container the hero type scales against — cqi keeps it inside the fold */
.hero__copy {
  container-type: inline-size;
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem .4rem .55rem;
  border: 1px solid var(--mist-2);
  background: rgba(255,252,247,.75);
  border-radius: var(--r-pill);
  font-size: clamp(.66rem, 2.05cqi, .735rem);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--plum-deep);
  margin-bottom: clamp(.75rem, 3cqi, 1.3rem);
}
.hero__eyebrow i {
  display: inline-grid;
  place-items: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--butter);
  font-style: normal;
  font-size: .72rem;
}

.hero h1 {
  font-size: clamp(2.02rem, 9.1cqi, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 600;
  font-variation-settings: "SOFT" 48, "WONK" 1;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--plum);
  font-variation-settings: "SOFT" 70, "WONK" 1;
}

.hero__sub {
  font-size: clamp(.955rem, 3.28cqi, 1.135rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 46ch;
  margin-top: clamp(.7rem, 3.1cqi, 1.25rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(1rem, 3.9cqi, 1.7rem);
}

.hero__proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .95rem;
  margin-top: clamp(.95rem, 3.6cqi, 1.6rem);
  padding-top: clamp(.85rem, 3.2cqi, 1.35rem);
  border-top: 1px solid var(--line);
}
.stars { color: var(--butter-dp); letter-spacing: .1em; font-size: 1.02rem; line-height: 1; }
.hero__proof b { color: var(--ink); font-weight: 700; font-size: .95rem; }
/* the award line always wants a second row — give it one deliberately rather
   than letting a separator dot dangle at the end of row one */
.hero__proof span { font-size: .875rem; color: var(--ink-3); flex: 1 1 100%; }
.hero__proof .stars { flex: 0 0 auto; }
.hero__proof .dot { display: none; }

/* hero photo */
.hero__figure {
  position: relative;
  min-width: 0;
}
.hero__figure::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -5% -6% -8% -7%;
  background: var(--butter);
  opacity: .5;
  border-radius: 58% 42% 46% 54% / 52% 58% 42% 48%;
}
.hero__photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.6;
  max-height: min(66svh, 560px);
  margin-inline: auto;
  width: 100%;
  border-radius: 999px 999px 22px 22px;   /* arch — reads as a deliberate frame */
  overflow: hidden;
  border: 7px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--paper-3);
}
/* <picture> is the img's real parent — without an explicit height on it the
   img's height:100% resolves to auto, object-fit never engages, and the photo
   overflows the frame top-anchored (subject cropped out on short viewports) */
.hero__photo picture { display: block; width: 100%; height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }

/* the "visit update" note — her actual differentiator, as a physical object */
.note {
  position: absolute;
  z-index: 2;
  left: -6%;
  bottom: 5%;
  width: min(238px, 62%);
  padding: .8rem .9rem .85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--butter);
  border-radius: 4px 12px 12px 4px;
  box-shadow: var(--shadow);
  transform: rotate(-2.4deg);
}
.note__hd {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: .4rem;
}
.note__hd::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4e9a6a;
  box-shadow: 0 0 0 3px rgba(78,154,106,.16);
}
.note p {
  font-family: var(--display);
  font-size: .875rem;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-style: italic;
}
.note small {
  display: block;
  margin-top: .45rem;
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(1rem, 3.5vh, 1.9rem); }
  .hero__figure { order: 2; max-width: 400px; margin-inline: auto; width: 100%; }
  .hero__photo { aspect-ratio: 4 / 3.2; max-height: 26svh; border-width: 6px; }
  /* the photo is only ~26svh tall here — the note would cover half of it */
  .note { display: none; }
  .hero__sub { max-width: 40ch; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .hero__photo { max-height: 22svh; }
}
@media (max-width: 400px) {
  .hero__cta { gap: .55rem; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- trust strip ---------- */

.strip {
  background: var(--plum-deep);
  color: rgba(255,252,247,.9);
  padding: 1.15rem 0;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem 2.15rem;
  text-align: center;
}
.strip__item {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  font-size: .875rem;
  letter-spacing: .012em;
}
.strip__item b {
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--butter);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.strip__sep { color: rgba(255,252,247,.26); }
@media (max-width: 720px) { .strip__sep { display: none; } }

/* ---------- section frame ---------- */

.section { padding: clamp(3.6rem, 8.5vw, 7.2rem) 0; }
.section--tint { background: var(--paper-2); }
.section--ink {
  background: var(--plum-deep);
  color: rgba(255,252,247,.82);
}
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--butter); }
.section--ink .eyebrow::before { background: var(--butter); }
.section--ink .lede { color: rgba(255,252,247,.8); }

.section__head { margin-bottom: clamp(2rem, 4.2vw, 3.2rem); }
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: end;
}
@media (max-width: 820px) { .section__head--split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- services ---------- */

.svcs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1.15rem;
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.55rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.svc::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 74%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(240,203,132,.34), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--mist-2); }
.svc:hover::after { opacity: 1; }
.svc > * { position: relative; z-index: 1; }

.svc__ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 17px;
  background: var(--mist);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 1.05rem;
}
.svc h3 { font-size: 1.42rem; letter-spacing: -.02em; }
.svc__price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin: .55rem 0 .8rem;
  font-family: var(--display);
  color: var(--plum);
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
.svc__price b {
  font-size: 2.35rem;
  font-weight: 600;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.svc__price span { font-size: .92rem; font-weight: 600; color: var(--ink-3); font-family: var(--body); }
.svc p { font-size: .965rem; line-height: 1.66; }
.svc__note {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .845rem;
  color: var(--plum-deep);
  font-weight: 600;
  line-height: 1.5;
}
.svc__note::before { content: "+"; font-weight: 700; color: var(--butter-dp); font-size: 1rem; line-height: 1.35; }

/* add-ons */
.addons {
  margin-top: 1.15rem;
  display: grid;
  /* 8 items — fixed counts so the last row never leaves orphan cells showing
     the divider colour through */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.addon {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding: .95rem 1.15rem;
  background: var(--paper);
}
.addon dt { font-size: .92rem; font-weight: 600; color: var(--ink); }
.addon dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.addon dd small { font-family: var(--body); font-size: .74rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 900px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .addons { grid-template-columns: minmax(0, 1fr); } }

.pricenote {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 1.25rem 1.5rem;
  background: var(--mist);
  border: 1px dashed var(--plum-soft);
  border-radius: var(--r);
}
.pricenote p { font-size: .93rem; flex: 1 1 300px; color: var(--ink-2); }
.pricenote strong { color: var(--ink); }

/* ---------- benefit grid ---------- */

.grid3 {
  display: grid;
  /* 6 items — 300px min lands on 3 columns at desktop, so two even rows */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem 1.5rem;
}
.bnf { padding-top: 1.15rem; border-top: 2px solid var(--line); }
.section--ink .bnf { border-top-color: rgba(255,252,247,.16); }
.bnf__ico { font-size: 1.35rem; line-height: 1; margin-bottom: .7rem; }
.bnf h3 { font-size: 1.08rem; margin-bottom: .4rem; letter-spacing: -.012em; }
.bnf p { font-size: .93rem; line-height: 1.6; }
.section--ink .bnf p { color: rgba(255,252,247,.72); }

/* ---------- gallery ---------- */

/* Explicit columns, pre-balanced by rendered height. The browser's own multicol
   balancer clusters the tall portraits and leaves a ~500px hole in column one. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  align-items: start;
}
.gallery__col { display: flex; flex-direction: column; gap: .85rem; min-width: 0; }

/* two-up on phones: drop the column boxes and let the figures reflow as multicol */
@media (max-width: 700px) {
  .gallery { display: block; columns: 2; column-gap: .65rem; }
  .gallery__col { display: contents; }
}

.gallery figure {
  break-inside: avoid;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-3);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (max-width: 700px) { .gallery figure { margin-bottom: .65rem; border-width: 3px; } }
.gallery figure:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; }

.gallery__foot {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  font-size: .865rem;
  color: var(--ink-3);
}

/* ---------- updates / note motif ---------- */

.updates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
@media (max-width: 880px) { .updates { grid-template-columns: 1fr; } }

.checks { margin: 1.6rem 0 0; padding: 0; list-style: none; display: grid; gap: .68rem; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .975rem;
  color: rgba(255,252,247,.85);
}
.checks li::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: .18rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--plum-deep);
  font-size: .72rem;
  font-weight: 800;
}

.phone-frame {
  background: var(--white);
  border-radius: 24px;
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,252,247,.4);
  transform: rotate(1.2deg);
  max-width: 400px;
  margin-inline: auto;
  width: 100%;
}
.phone-frame__hd {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .85rem;
  margin-bottom: .95rem;
  border-bottom: 1px solid var(--line);
}
.phone-frame__hd img { width: 34px; height: 33px; }
.phone-frame__hd b { font-family: var(--display); font-size: .95rem; color: var(--ink); display: block; line-height: 1.2; }
.phone-frame__hd span { font-size: .69rem; color: var(--ink-3); letter-spacing: .04em; }
.bubble {
  background: var(--mist);
  border-radius: 15px 15px 15px 5px;
  padding: .78rem .95rem;
  margin-bottom: .6rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink);
}
.bubble:last-of-type { margin-bottom: 0; }
.bubble--butter { background: var(--butter-lt); border-radius: 15px 15px 5px 15px; }
.bubble b { font-weight: 700; }
.phone-frame time {
  display: block;
  margin-top: .8rem;
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}

/* ---------- reviews ---------- */

.reviews {
  columns: 3;
  column-gap: 1.15rem;
}
@media (max-width: 1000px) { .reviews { columns: 2; } }
@media (max-width: 660px)  { .reviews { columns: 1; } }

.review {
  break-inside: avoid;
  margin: 0 0 1.15rem;
  padding: 1.5rem 1.45rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--butter-dp); font-size: .92rem; letter-spacing: .12em; margin-bottom: .8rem; }
.review blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.005rem;
  line-height: 1.58;
  color: var(--ink);
  font-variation-settings: "SOFT" 52, "WONK" 1;
  letter-spacing: -.008em;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.05rem;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
}
.review__av {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--plum-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
}
.review__who b { display: block; font-size: .925rem; color: var(--ink); font-weight: 700; line-height: 1.3; }
.review__who span { font-size: .785rem; color: var(--ink-3); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1.15rem;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 1.6rem 1.45rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--plum-deep);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
}
.step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step p { font-size: .95rem; line-height: 1.62; }

/* ---------- visit / area ---------- */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
}
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

.hoods__label {
  margin-top: 1.6rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hoods { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.hood {
  padding: .48rem .95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-2);
}

.facts { margin: 1.6rem 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .95rem 1.2rem;
  background: var(--paper);
}
.fact dt { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.fact dd { margin: 0; font-size: .95rem; color: var(--ink); font-weight: 600; text-align: right; }
.fact dd a { color: var(--ink); text-decoration: none; }
.fact dd a:hover { color: var(--plum); text-decoration: underline; }

.pays { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.pay {
  padding: .42rem .8rem;
  background: var(--mist);
  border-radius: var(--r-sm);
  font-size: .82rem;
  font-weight: 700;
  color: var(--plum-deep);
}

.seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.7rem;
  padding: 1.3rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.seals img { width: 104px; height: auto; flex: none; }
.seals div { flex: 1 1 190px; min-width: 0; }
.seals b { display: block; font-family: var(--display); font-size: 1.02rem; color: var(--ink); margin-bottom: .18rem; }
.seals p { font-size: .855rem; line-height: 1.55; color: var(--ink-3); }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  padding: clamp(3.2rem, 7vw, 5.4rem) 0;
  background: var(--plum-deep);
  color: rgba(255,252,247,.85);
  overflow-x: clip;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 46vw; max-width: 620px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(240,203,132,.24), transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
/* the warm drop shadow reads as a dark smudge against the plum band */
.cta .btn--butter { box-shadow: 0 10px 30px -14px rgba(0,0,0,.55); }
.cta h2 { text-wrap: balance; }
.cta h2 { color: var(--white); font-size: clamp(1.95rem, 4.6vw, 3.25rem); margin-inline: auto; max-width: 18ch; }
.cta p { margin: 1.05rem auto 0; max-width: 54ch; font-size: 1.03rem; color: rgba(255,252,247,.8); }
.cta__btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.9rem; }
.cta__fine { margin-top: 1.4rem; font-size: .845rem; color: rgba(255,252,247,.6); }

/* ---------- footer ---------- */

.foot {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 780px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot__grid { grid-template-columns: 1fr; } }

.foot__brand img { width: 76px; height: 74px; margin-bottom: .85rem; }
.foot__brand p { font-size: .92rem; max-width: 36ch; }
.foot h4 {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: .9rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: .935rem; }
.foot a:hover { color: var(--plum-deep); text-decoration: underline; }
.foot__bar {
  margin-top: 2.4rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--ink-3);
}

/* ---------- contact page ---------- */

.page-head {
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(1.8rem, 4vw, 2.8rem);
  position: relative;
  overflow-x: clip;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -60% -12% auto auto;
  width: 48vw; max-width: 640px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(240,203,132,.42), transparent 70%);
  pointer-events: none;
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 {
  font-size: clamp(2.05rem, 5.6vw, 3.65rem);
  letter-spacing: -.028em;
  max-width: 18ch;
}
.page-head h1 em { font-style: italic; color: var(--plum); font-variation-settings: "SOFT" 70, "WONK" 1; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  padding-bottom: clamp(3.4rem, 7vw, 6rem);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.form-card > h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.form-card > p { font-size: .95rem; margin-top: .6rem; }

.field { display: grid; gap: .42rem; margin-top: 1.15rem; }
.field label { font-size: .855rem; font-weight: 700; color: var(--ink); letter-spacing: .012em; }
.field label span { color: var(--plum); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .82rem .95rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .75; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--plum-soft);
  box-shadow: 0 0 0 4px rgba(169,140,179,.2);
}
.field__hint { font-size: .795rem; color: var(--ink-3); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.turnstile-box { margin-top: 1.15rem; min-height: 68px; }

#estimate-form .btn { width: 100%; margin-top: 1.25rem; }
#estimate-form .btn[disabled] { opacity: 1; cursor: default; transform: none; }

.form-status {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  font-size: .95rem;
  line-height: 1.6;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.form-status.is-ok {
  display: block;
  background: var(--mist);
  border: 1px solid var(--plum-soft);
  color: var(--plum-deep);
}
.form-status.is-err {
  display: block;
  background: #fdeeea;
  border: 1px solid #e8b4a6;
  color: #93321c;
}
.form-status b { display: block; font-family: var(--display); font-size: 1.12rem; margin-bottom: .28rem; color: inherit; }
.form-status a { color: inherit; font-weight: 700; }
.form-fine { margin-top: 1rem; font-size: .8rem; color: var(--ink-3); line-height: 1.55; }

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.55rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.15rem;
}
.side-card h3 { font-size: 1.16rem; margin-bottom: .85rem; }
.side-card p { font-size: .93rem; }

.reach { display: grid; gap: .6rem; }
.reach a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.reach a:hover { border-color: var(--plum-soft); background: var(--mist); transform: translateX(3px); }
.reach i {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--mist);
  font-style: normal;
  font-size: 1.05rem;
}
.reach b { display: block; font-size: .95rem; color: var(--ink); font-weight: 700; line-height: 1.3; }
.reach span { font-size: .79rem; color: var(--ink-3); }

.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
/* block, not flex — a flex <li> makes an inline <b> its own flex item, so the
   bold lead and the rest of the sentence wrap in separate columns */
.tips li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .915rem;
  line-height: 1.55;
}
.tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--butter-dp);
}
.tips li b { color: var(--ink); font-weight: 700; }

/* ---------- scroll reveal (below the fold only) ---------- */

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

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