/* =========================================================
   FONTS (SCCM-30) — self-hosted, replacing the Google Fonts CDN.
   Variable woff2 from Fontsource. Fraunces = "standard" (opsz +
   wght, matching what the CDN served — SOFT/WONK intentionally
   absent so the headings' font-variation-settings behave as
   before). DM Sans = wght. Enables strict CSP (style-src 'self',
   font-src 'self'). Latin + latin-ext unicode ranges.
   ========================================================= */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-standard-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-ext-standard-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --navy: #1B2845;
  --navy-deep: #131C32;
  --navy-soft: #2E3F65;
  --pink: #E89BAB;
  --pink-deep: #D67A8E;
  --pink-soft: #F6DDE3;
  --cream: #FAF6F0;
  --cream-warm: #F3ECE0;
  --white: #FFFFFF;
  --ink: #1B2845;
  --ink-soft: #4D5773;
  --ink-muted: #8B91A5;   /* 3.14:1 on white - borders/UI only, never text (SCCM-28) */
  --rule: #E6DFD2;
  --rule-soft: #F0E9DC;
  --error: #B42318;       /* form validation / error state (functional UI colour, not a §6.2 brand token) */
  --error-soft: #FEF3F2;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(27, 40, 69, 0.04), 0 2px 8px rgba(27, 40, 69, 0.04);
  --shadow-md: 0 4px 16px rgba(27, 40, 69, 0.08), 0 8px 32px rgba(27, 40, 69, 0.06);
  --shadow-lg: 0 12px 48px rgba(27, 40, 69, 0.12);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

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

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* SCCM-28(1): was --pink-deep at 2.99:1 on white / 2.77:1 on cream, below the
     4.5:1 for text. The ::before dash below stays pink - it is decorative and
     carries no information, so it keeps the accent without needing to pass. */
  color: var(--navy);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pink-deep);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(214, 122, 142, 0.25);
}
.btn-primary:hover {
  background: var(--pink-deep);
  /* SCCM-28(2): white on --pink-deep is 2.99:1. Keeping the inherited --navy
     label gives 4.90:1. */
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(214, 122, 142, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost-light:hover {
  background: var(--pink);
  color: var(--navy);
  border-color: var(--pink);
}
.btn .arrow {
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-bottom: 1px solid var(--rule-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  aspect-ratio: 1022 / 578; /* SCCM-63: width determinate pre-load (CLS) */
  height: 92px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--pink-deep); }
.nav-links a::after {
  content:"";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--pink-deep);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.nav-phone:hover { color: var(--pink-deep); }
.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 11vw, 140px);
}
.hero::before {
  content:"";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(27,40,69,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero-tag {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--rule);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink-deep);
  box-shadow: 0 0 0 4px rgba(232,155,171,0.25);
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero h1 em {
  font-style: italic;
  font-weight: 350;
  color: var(--navy-soft);
}
.hero h1 .paw-inline {
  display: inline-block;
  width: 0.7em; height: 0.7em;
  vertical-align: -0.05em;
  margin: 0 0.05em;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 28px 0 36px;
  max-width: 480px;
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-trust {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-trust-item svg { color: var(--pink-deep); flex-shrink: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-brand-mark {
  position: absolute;
  bottom: -44px;
  left: -44px;
  background: var(--white);
  padding: 18px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hero-brand-mark img {
  aspect-ratio: 1022 / 578; /* SCCM-63: width determinate pre-load (CLS) */
  /* SCCM-63 post-merge check: fixed height + the global img max-width squashed
     this at phone widths (1.77 natural shown at 1.46) - the footer logo's
     Finding 6 failure mode. Max-height keeps the ratio under any squeeze. */
  max-height: 132px;
  height: auto;
  width: auto;
  display: block;
}
.hero-brand-mark::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px;
  width: 30px; height: 30px;
  background: var(--pink);
  border-radius: 50%;
  z-index: -1;
}

.hero-paw-bg {
  position: absolute;
  top: 8%;
  right: 42%;
  width: clamp(180px, 22vw, 320px);
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(-18deg);
  z-index: 0;
}
.hero-grid > * { position: relative; z-index: 1; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.trust-strip-item strong {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--white);
  font-size: 17px;
}
.trust-strip-guild {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-strip-guild img { width: 100%; height: auto; display: block; }

/* =========================================================
   SECTION DEFAULTS
   ========================================================= */
section {
  padding: clamp(70px, 9vw, 120px) 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 350;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
/* Constrained reading column for copy-led sections — reuses the
   body-text scale from .what-is-text. */
.section-prose { max-width: 720px; }
.section-prose p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.section-prose p:last-child { margin-bottom: 0; }

/* =========================================================
   WHAT IS
   ========================================================= */
.what-is { background: var(--white); }
.what-is-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.what-is-text h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  margin-bottom: 24px;
  font-weight: 350;
}
.what-is-text p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.what-is-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}
.what-is-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 15px;
}
.what-is-list svg {
  color: var(--pink-deep);
  flex-shrink: 0;
  margin-top: 3px;
}
.what-is-list strong { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.what-is-list span { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }

.what-is-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.what-is-image img { width: 100%; height: 100%; object-fit: cover; }
.what-is-quote {
  position: absolute;
  bottom: 24px; right: 24px; left: 24px;
  background: rgba(27,40,69,0.92);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  font-style: italic;
}

/* =========================================================
   WHO IS IT FOR
   ========================================================= */
.who-for {
  background: var(--cream);
  position: relative;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.who-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-soft);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.who-card::after {
  content:"";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.who-card:hover::after { transform: scaleX(1); }
.who-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--pink-deep);
}
.who-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 500;
}
.who-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px 36px;
  background: var(--white);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  position: relative;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured .eyebrow { color: var(--pink); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured .service-price { color: var(--white); }
.service-card.featured .service-features li { color: rgba(255,255,255,0.85); }
.service-card.featured .service-features svg { color: var(--pink); }
.service-card.featured .service-meta { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.15); }
.service-card.featured-label {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--pink);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.service-card:hover:not(.featured) {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
}
.service-card > p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.service-card.featured > p { color: rgba(255,255,255,0.7); }
.service-price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 350;
  color: var(--navy);
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.service-price .from {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft); /* SCCM-28(3): --ink-muted is 3.14:1, text needs 4.5:1 */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.service-card.featured .service-price .from { color: rgba(255,255,255,0.6); }
.service-meta {
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}
.service-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.service-features svg {
  color: var(--pink-deep);
  flex-shrink: 0;
  margin-top: 4px;
}
.service-card .btn { width: 100%; justify-content: center; }
.service-card.featured .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.service-card.featured .btn-secondary:hover {
  background: var(--pink);
  color: var(--navy);
  border-color: var(--pink);
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-it-works {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  position: relative;
  overflow: hidden;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content:"";
  position: absolute;
  top: 38px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--pink-deep) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.step:hover .step-num {
  background: var(--pink);
  border-color: var(--pink);
  transform: scale(1.05);
}
.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}
.step p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.about-image-tag {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(27,40,69,0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.about-text h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  margin-bottom: 22px;
}
.about-text > p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.about-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  margin: 28px 0 36px;
}
.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.cred {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.cred svg { color: var(--pink-deep); flex-shrink: 0; }
.cred span {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content:"";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,155,171,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials .section-head h2 { color: var(--white); font-weight: 350; }
.testimonials .section-head p { color: rgba(255,255,255,0.7); }
.testimonials .eyebrow { color: var(--pink); }
.testimonials .eyebrow::before { background: var(--pink); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--pink);
  transform: translateY(-4px);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.7;
  color: var(--pink);
  opacity: 0.9;
  margin-bottom: -10px;
  display: block;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 350;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author-info strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
}
.testimonial-author-info span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faqs { background: var(--cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: 100px;
}
.faq-aside h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin-bottom: 18px;
}
.faq-aside p {
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.65;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--rule-soft);
  padding: 0;
  transition: all 0.25s ease;
  overflow: hidden;
}
details.faq-item[open] {
  border-color: var(--pink);
  box-shadow: var(--shadow-sm);
}
details.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.2s ease;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--pink-deep); }
details.faq-item .icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: all 0.25s ease;
}
details.faq-item[open] .icon {
  background: var(--pink);
  color: var(--navy);
  transform: rotate(45deg);
}
details.faq-item .answer {
  padding: 0 28px 28px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 15.5px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--white);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact-aside h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin-bottom: 22px;
}
.contact-aside > p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  transition: all 0.25s ease;
}
.contact-method:hover {
  border-color: var(--navy);
  background: var(--cream);
}
.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-method > div { min-width: 0; }
.contact-method span { overflow-wrap: anywhere; }
.contact-method strong {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-soft); /* SCCM-28(3): --ink-muted is 3.14:1, text needs 4.5:1 */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.contact-method span {
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.area-covered {
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--pink);
}
.area-covered strong {
  display: block;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 6px;
}
.area-covered p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

.contact-form {
  background: var(--cream);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule-soft);
}
.form-section { margin-bottom: 28px; }
.form-section:last-of-type { margin-bottom: 32px; }
.form-section h3 {
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy); /* SCCM-28(1): same eyebrow pattern; ::before dash stays pink */
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section h3::before {
  content:"";
  width: 24px; height: 1px;
  background: var(--pink-deep);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  /* SCCM-28(5): --rule is 1.32:1. Form control borders are UI, needing 3:1;
     --ink-muted gives 3.14:1. --rule stays elsewhere as a decorative hairline. */
  border: 1px solid var(--ink-muted);
  background: var(--white);
  border-radius: 10px;
  color: var(--ink);
  transition: all 0.2s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  /* SCCM-28(7): this used to set outline:none and rely on the --pink border as
     the focus indicator, which is 2.16:1 - below the 3:1 an indicator needs.
     The outline is left in place (see the focus block at the end of this file);
     the pink border and glow stay as a decorative affordance on top of it. */
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(232,155,171,0.18);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 320px;
}
.footer-logo-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
}
.footer-logo-card img {
  aspect-ratio: 1022 / 578; /* SCCM-63: width determinate pre-load (CLS) */
  /* SCCM-63 audit: fixed height + the global img max-width squashed the logo
     (1.77 natural ratio displayed at 1.56). Max-height keeps the ratio. */
  max-height: 160px;
  width: auto;
  height: auto;
  display: block;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s ease;
}
.social-link:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-col h2 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover { color: var(--pink); }

/* Footer guild mark (CMG trade-body logo — trust strip + footer per SCCM-9 §6.1) */
.footer-guild {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.footer-guild img {
  width: 52px;
  height: auto;
  display: block;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid,
  .what-is-grid,
  .about-grid,
  .contact-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 40px auto 0; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .service-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .faq-aside { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-phone { display: none; }
  /* SCCM-63 audit item 4 (re-fixed): the Book pill and the toggle cannot both
     fit between roughly 380 and 422px - the pill overflowed at 320 and pushed
     the toggle off-screen at 390/412, leaving the menu unopenable on real
     phones. Whenever the nav is in toggle mode the pill is dropped entirely:
     the bar is always logo + toggle, and the menu's Contact link plus the hero
     CTA carry the same action. No width band is left unaccounted for. */
  .nav-cta .btn-primary { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--navy);
    border: 1px solid var(--rule);
  }
  .nav-logo img { height: 64px; }
  .who-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-brand-mark { left: 50%; transform: translateX(-50%); bottom: -72px; }
  .hero-brand-mark img { max-height: 92px; }
  .hero { padding-bottom: 140px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero h1, .hero-sub, .hero-ctas, .hero-trust, .hero-visual {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-ctas { animation-delay: 0.3s; }
.hero-trust { animation-delay: 0.4s; }
.hero-visual { animation-delay: 0.15s; }

/* =========================================================
   SCAFFOLD SECTIONS (SCCM-9)
   Placeholder bands for §6.1 anchors whose real content is not
   yet available (#what-to-expect, #vet-consent, #gallery).
   Built with existing tokens/components; no fabricated copy.
   ========================================================= */
.scaffold { background: var(--white); }
.scaffold--cream { background: var(--cream); }
.scaffold-note {
  margin-top: 8px;
  padding: 28px 32px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
}
.scaffold--cream .scaffold-note { background: var(--white); }
.scaffold-note strong { color: var(--navy); font-weight: 600; }

/* =========================================================
   SUB-PAGES (SCCM-15) — privacy / accessibility / terms / 404
   Shared chrome with index.html; minimal body styling for the
   stub content. Real content authored at Phase 6.
   ========================================================= */
.page-section {
  padding: clamp(64px, 10vw, 128px) 0;
  min-height: 52vh;
}
.page-section h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 350;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.page-section p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 18px;
}
.page-section .btn { margin-top: 16px; }

/* Sole-trader trading disclosure (SCCM-14, spec §11.4) */
.legal {
  margin: 0;
  padding: 0 0 28px;
  /* SCCM-28(6): 0.42 alpha gave 4.00:1 on --navy-deep; 0.55 gives 5.93:1. */
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  line-height: 1.6;
}

/* =========================================================
   EXTERNALISED INLINE STYLES (SCCM-30)
   Moved out of inline style="" attributes so the CSP can drop
   'unsafe-inline' from style-src. Declarations are unchanged.
   ========================================================= */
.trust-strip-note { font-size: 13px; }
.section-head.is-centered { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow.is-centered { justify-content: center; }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   CONTACT FORM — submission states (§9.8 / SCCM-46)
   ========================================================= */

/* Visually hidden, but available to assistive tech (e.g. the "(required)" marker). */
.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;
}

/* Honeypot — off-screen, never shown, never focusable (§6.6.3 / §9.3). */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* SCCM-28(1): the asterisk is aria-hidden (an .sr-only "(required)" carries the
   semantics), but it still conveys "required" visually, so it needs 4.5:1.
   --pink-deep was 2.77:1 on cream; --error is 6.11:1 and is the convention. */
.form-field .req { color: var(--error); }

/* Per-field validation error (§6.6.3); hidden until contact.js populates it. */
.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 2px;
}
.form-error:empty { display: none; }

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
}
.form-field input[aria-invalid="true"]:focus,
.form-field select[aria-invalid="true"]:focus,
.form-field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15);
}

/* Submit-result status region (§9.8.1: 400 / 403 / 502). */
.form-status {
  margin-bottom: 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}
.form-status:empty { display: none; }
.form-status.is-error {
  padding: 12px 16px;
  color: var(--error);
  background: var(--error-soft);
  border: 1px solid rgba(180, 35, 24, 0.25);
}
.form-status a { color: var(--error); }

/* Cloudflare Turnstile widget (§6.6.5). The explicit-render API sizes it (compact/normal);
   this rule only spaces it within the form (status above, submit button below). */
.turnstile-widget { margin: 16px 0; }

/* Submitting state. */
.contact-form .btn:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.contact-form .btn.is-sending .arrow { display: none; }
.contact-form .btn.is-sending::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
/* SCCM-63 audit item 7: this block previously covered only the form spinner,
   while the .reveal scroll transitions, the hero fadeUp set and smooth scrolling
   all ran regardless of the OS preference. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero-sub, .hero-ctas, .hero-trust, .hero-visual { animation: none; }
  .btn, .btn .arrow, .doc-download, .social-link, .service-card, .who-card { transition: none; }
  .contact-form .btn.is-sending::after { animation: none; }
}

/* Success panel (§9.8.1) — replaces the form inline and receives focus. */
.form-success {
  text-align: center;
  padding: clamp(20px, 4vw, 32px) 0;
}
.form-success:focus { outline: none; }
.form-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  color: var(--pink-deep);
}
.form-success h3 { margin: 0 0 8px; color: var(--navy); }
.form-success p { margin: 0; color: var(--ink-soft); }
.footer-note { color: rgba(255,255,255,0.65); }

/* =========================================================
   SCCM-61 — content authoring additions
   ========================================================= */

/* --- #what-we-treat: Jo's symptom checklist -------------- */
.symptom-list {
  list-style: none;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px 32px;
}
.symptom-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.symptom-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--pink-deep);
}

/* Secondary heading inside a section that already has an h2 */
.subsection-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 350;
  color: var(--navy);
  margin: 0 0 28px;
}

/* --- #services: two cards rather than the mockup's three - */
.services-grid--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}
.services-terms {
  max-width: 780px;
  margin: 32px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: center;
}

/* Longer, real testimonials need a smaller measure than the mockup's */
.testimonial-quote {
  font-size: 17px;
  line-height: 1.55;
}

/* Inline links in body prose */
.section-prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-prose a:hover { text-decoration-thickness: 2px; }

/* =========================================================
   LEGAL PAGES — long-form prose (/privacy, /accessibility)
   Scoped to .legal-prose so nothing else on the site is affected.
   Borders use --ink-muted (3.16:1) not --rule (~1.3:1), so this
   adds no new debt to the SCCM-28 contrast fixes.
   ========================================================= */
.legal-prose {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-prose > *:first-child { margin-top: 0; }
.legal-prose h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 350;
  color: var(--navy);
  margin: 48px 0 14px;
}
.legal-prose h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 10px;
}
.legal-prose p { margin: 0 0 16px; font-size: inherit; color: inherit; max-width: none; }
.legal-prose ul,
.legal-prose ol { margin: 0 0 18px; padding-left: 22px; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--navy); font-weight: 600; }
.legal-prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere; /* SCCM-63 Finding 10: email/URL tokens wrap at 320px */
}
.legal-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--cream-warm);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--navy);
}

/* Tables scroll inside their own container so the page body never
   scrolls horizontally at the 320px reflow target (§11.5.1.1). */
.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  -webkit-overflow-scrolling: touch;
}
.legal-prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 15px;
}
.legal-prose caption {
  caption-side: top;
  text-align: left;
  font-size: 14px;
  color: var(--ink-soft);
  padding-bottom: 8px;
}
.legal-prose th,
.legal-prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--ink-muted);
}
.legal-prose th {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2px solid var(--navy);
  white-space: nowrap;
}
.legal-prose tbody tr:last-child td { border-bottom: none; }

/* Dated "last reviewed" block at the head of a legal page */
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 40px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-muted);
  border-bottom: 1px solid var(--ink-muted);
  font-size: 14px;
  color: var(--ink-soft);
}
.legal-meta strong { color: var(--navy); }

/* A section still awaiting the Phase 6 audit outcome */
.legal-pending {
  background: var(--cream);
  border-left: 3px solid var(--pink-deep);
  padding: 16px 20px;
  margin: 0 0 18px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .services-grid--pair { grid-template-columns: 1fr; max-width: 480px; }
}

/* Photograph pending for #canine-massage-therapy: the panel renders as a
   quote card rather than an empty frame. The mockup's stock image was
   removed because the site CSP (img-src 'self' data:) blocks remote images. */
.what-is-image--quote {
  background: var(--navy);
  display: flex;
  align-items: center;
}
.what-is-image--quote .what-is-quote {
  position: static;
  background: none;
  backdrop-filter: none;
  padding: clamp(28px, 5vw, 48px);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

/* =========================================================
   SCCM-31 — document download (vet consent form)
   Colours chosen at >=4.5:1 so nothing new lands on the
   SCCM-28 contrast fixes.
   ========================================================= */
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 16px 22px 16px 18px;
  background: var(--white);
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.doc-download:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.doc-download-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--navy);
}
.doc-download-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc-download-text strong {
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doc-download-meta {
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .doc-download { width: 100%; }
}

/* =========================================================
   FOCUS VISIBILITY  (SCCM-28 items 4 + 7)
   Before this, no author rule styled focus on links or buttons - they fell
   back to the browser default ring - while form fields removed the default
   outright and substituted a --pink border at 2.16:1, under the 3:1 that a
   focus indicator requires. One consistent ring replaces both situations.
   --navy measures 14.62:1 on white, 13.58:1 on cream and 6.76:1 on --pink.
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* On the dark grounds --navy is 1.16:1 and effectively invisible, so the ring
   is rendered in white there instead (16.94:1 on --navy-deep). */
footer :focus-visible,
.trust-strip :focus-visible,
.testimonials :focus-visible,
.service-card.featured :focus-visible {
  outline-color: var(--white);
}

/* =========================================================
   SCCM-62 - gallery grid
   Jo's photographs are thumbnail-resolution (220-320px native),
   so tiles are capped at 220px display width - at or below the
   source pixels, never above - and the grid stays compact rather
   than stretching soft images to fill. No text = no new contrast
   surface for the SCCM-20 audit.
   ========================================================= */
.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 220px)); /* 220 = smallest native width in the set */
  justify-content: center;
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-warm);
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* =========================================================
   SCCM-63 - pre-audit remediation
   ========================================================= */

/* A2: skip link (WCAG 2.4.1). Visually hidden until keyboard focus. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
}
/* The skip target takes programmatic focus; a ring around the whole page
   would be noise, and main is not an interactive control. */
main[tabindex="-1"]:focus { outline: none; }

/* A1: mobile nav open state. Below 720px the links are display:none and the
   toggle shows; .nav-open (set by main.js, mirrored by aria-expanded) reveals
   them as a stacked panel under the bar. */
@media (max-width: 720px) {
  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ink-muted);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
  }
  .navbar.nav-open .nav-links li { width: 100%; }
  .navbar.nav-open .nav-links a {
    display: block;
    padding: 14px 24px;
  }
  .nav-inner { position: relative; }
}

/* SCCM-63 Finding 10 guard: the root never becomes horizontally pannable even
   if some future element pokes past the edge. overflow-x: clip rather than
   hidden - clip does not create a scroll container, so the sticky navbar
   keeps working (hidden would break it on iOS). The real fix for the found
   offender (the unbreakable email address in #contact) is above; this is
   defence in depth, and the viewport-overflow probe in tools/ still detects
   offenders for future audits regardless of this guard. */
html { overflow-x: clip; }
