/* K9 Body Balance. Hand-written. Colours come from Karen's logo: sky blue #A4DFFF as a
   field colour, the logo's blue for links, buttons and the photo rings, a navy shade of it
   for text, and the logo's red heart used ONLY for what an owner has ticked (Build-Plan.md,
   art direction). No cream, no gold, no gradients, no tracked-capital labels.
   The one framing device is the logo itself: a circle with a blue ring (.ring).
   Layout after NHS condition pages and GOV.UK step-by-step. */

@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/atkinson-next-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/atkinson-next-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/bitter-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/bitter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sky: #a4dfff;
  --sky-soft: #e8f6ff;
  --sky-mist: #f4fbff;
  --blue: #004aab;
  --blue-dark: #003a87;
  --navy: #0c2340;
  --muted: #4a5d75;
  --line: #c9dbee;
  --heart: #eb2026;
  --white: #fff;
  --focus: #ffdd00;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --body: "Atkinson Hyperlegible Next", Verdana, system-ui, sans-serif;
  --head: "Bitter", Georgia, serif;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.site-head { view-transition-name: site-head; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.1875rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s, text-decoration-thickness .2s; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; box-shadow: 0 0 0 6px var(--navy); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-top: 1.6em; }
h3 { font-size: 1.3rem; margin-top: 1.4em; }
p, li, dd { text-wrap: pretty; }
p, ul, ol, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { width: min(74rem, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 46rem; }
.wrap.narrow { width: min(46rem, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--focus); color: var(--navy); padding: .6rem 1rem; z-index: 30; }
.skip:focus { left: 0; }
mark.need { background: #fff3a8; color: #5a3d00; padding: .05em .3em; border-radius: 3px; font-size: .85em; font-weight: 700; }

/* The ring: a photo in the circle and blue ring of Karen's logo */
.ring { margin: 0; aspect-ratio: 1; border-radius: 50%; border: clamp(5px, .9vw, 10px) solid var(--blue); padding: clamp(4px, .6vw, 7px); background: var(--white); flex: none; }
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ring.no-photo { background: var(--sky); display: grid; place-items: center; }
.ring.no-photo svg { width: 58%; height: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; background: var(--blue); color: #fff; font-weight: 700;
  text-decoration: none; padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--blue); line-height: 1.2;
  font-family: var(--body); font-size: 1.0625rem; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--white); color: var(--blue-dark); }
.btn.small { font-size: 1rem; padding: .6em 1.15em; }
.btn .ico, .head-phone .ico, .big-phone .ico, .callbar .ico { width: 1.05em; height: 1.05em; flex: none; }
.arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .25s var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.more { font-weight: 700; display: inline-flex; gap: .4em; align-items: center; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 18px -16px rgba(12, 35, 64, .5); }
.head-row { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 52px; height: 52px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg); }
.brand-name { display: block; font-family: var(--head); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.brand-sub { display: block; font-size: .875rem; color: var(--muted); }
.head-phone { display: none; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; font-size: 1.0625rem;
  padding: .5em 1em; border: 2px solid var(--sky); border-radius: 999px; }
.head-phone:hover { border-color: var(--blue); }
.nav-toggle { font: 700 1rem var(--body); background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 999px; padding: .45em 1em; cursor: pointer; }
.site-nav ul { list-style: none; padding: 0; margin: 0 auto; }
.site-nav a { display: block; text-decoration: none; font-weight: 500; color: var(--navy); padding: .75rem .1rem; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.js .site-nav { display: none; }
.js .site-nav.open { display: block; border-top: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
.site-nav li { margin: 0; border-bottom: 1px solid var(--sky-soft); }
@media (min-width: 62em) {
  .head-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
  .site-nav li { border: 0; }
  .site-nav .nav-cta { margin-left: auto; }
  .site-nav .nav-cta a { color: var(--blue); font-weight: 700; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 1.1rem auto 0; display: flex; flex-wrap: wrap; font-size: .95rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "\203A"; margin: 0 .55em; }

/* Page heads */
.page-head { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: .35em; }
.page-head.has-photo .head-grid { display: grid; gap: 1.5rem; align-items: center; }
.head-ring { width: min(11rem, 42vw); }
@media (min-width: 48em) {
  .page-head.has-photo .head-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; }
  .head-ring { width: clamp(12rem, 20vw, 16rem); }
}
.eyebrow { font-weight: 700; color: var(--blue); margin-bottom: .5em; }
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.2rem, 2vw, 1.375rem); line-height: 1.55; max-width: 38em; color: var(--navy); }
.lead-sm { font-size: 1.25rem; line-height: 1.55; }
.section { padding: var(--section) 0 0; }
.section > .wrap > h2:first-child, .ask h2 { margin-top: 0; }
.welsh-line { font-size: 1rem; margin-top: 1.25rem; }
.empty { color: var(--muted); }

/* Home: hero */
.hero { background: var(--sky); padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.05; margin-bottom: .45em; }
.hero h1 .h1-strap { display: block; margin-top: .45em; font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 400; line-height: 1.25; letter-spacing: 0; color: var(--blue); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero .lead { margin-bottom: 1.6em; }
.hero .btn.ghost { border-color: var(--blue); }
.hero-ring { width: min(26rem, 78vw); justify-self: center; box-shadow: 0 0 0 clamp(10px, 2vw, 22px) var(--white); }
@media (min-width: 52em) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } .hero-ring { justify-self: end; } }

/* Home: sessions at home */
.at-home-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56em) { .at-home-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; } }
.at-home-text h2 { margin-top: 0; }
.points { margin: 1.5rem 0 0; }
.points div { padding: .9rem 0; border-top: 1px solid var(--line); }
.points dt { font-family: var(--head); font-weight: 600; font-size: 1.2rem; }
.points dd { margin: .15rem 0 0; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mosaic .tile:nth-child(even) { transform: translateY(2rem); }
.motion .mosaic .tile.reveal:nth-child(even) { transform: translateY(3.2rem); }
.motion .mosaic .tile.reveal.in:nth-child(even) { transform: translateY(2rem); }
.tile { margin: 0; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.tile.tall img { aspect-ratio: 1; }
.tile.tall { max-width: 30rem; justify-self: end; }
.mosaic { max-width: 36rem; justify-self: end; }
.tile figcaption { font-size: .95rem; color: var(--muted); margin-top: .45rem; }

/* Reviews */
.reviews-home { padding-top: calc(var(--section) + 1.5rem); }
.review-row { display: grid; gap: 2.5rem; margin: 1.5rem 0 1.5rem; }
@media (min-width: 60em) { .review-row { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.review { margin: 0 0 2.5rem; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.review-row .review { margin: 0; grid-template-columns: 1fr; }
.review-ring { width: 88px; border-width: 4px; padding: 3px; }
.review-row .review-ring { width: 104px; }
.review-dog { font-family: var(--head); font-weight: 600; font-size: 1.35rem; margin-bottom: .5rem; line-height: 1.2; }
.review-about { display: block; font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--muted); }
.guild-copy { margin: 0 0 1.5rem; padding: 1.25rem 1.5rem .25rem; background: var(--sky-mist); border-radius: var(--radius); }
.review blockquote { margin: 0 0 .75rem; font-size: 1.125rem; }
.review blockquote p { margin-bottom: .6em; }
.review blockquote p:first-child::before { content: "\201C"; }
.review blockquote p:last-child::after { content: "\201D"; }
.review figcaption { font-size: 1rem; font-weight: 700; }
.review figcaption .muted { font-weight: 400; }
.reviews-list .review { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.reviews-list h2 { margin-top: 2rem; }

/* Home: the checklist teaser, the logo dog draws itself */
.teaser .noticed-teaser { background: var(--sky-mist); border: 1px solid var(--sky); border-radius: 24px; padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: 2rem; align-items: center; }
.teaser-dog { width: min(15rem, 60vw); justify-self: center; }
@media (min-width: 48em) { .teaser .noticed-teaser { grid-template-columns: 15rem 1fr; gap: 4rem; } }
.noticed-teaser h2 { margin-top: 0; }
svg.dog { overflow: visible; display: block; width: 100%; height: auto; }
.dog-shape { fill: #fff; stroke: var(--navy); stroke-width: 70; stroke-linejoin: round; stroke-linecap: round; }
.dog.small .dog-shape { stroke-width: 90; }
.tease-heart { fill: var(--heart); }
.tease-heart path, .part-heart path { transform: scale(1.5); transform-origin: 17px 17px; }
.motion [data-draw] .dog-shape { stroke-dasharray: 1; stroke-dashoffset: 1; fill: rgba(255, 255, 255, 0); }
.motion [data-draw] .tease-heart { opacity: 0; }
.motion [data-draw].in .dog-shape { animation: k9-draw 2.2s var(--ease) forwards, k9-fill .6s 1.8s forwards; }
.motion [data-draw].in .tease-heart { animation: k9-heart .5s calc(2.1s + var(--i) * .35s) var(--ease) forwards; }
@keyframes k9-draw { to { stroke-dashoffset: 0; } }
@keyframes k9-fill { to { fill: #fff; } }
@keyframes k9-heart { from { opacity: 0; } to { opacity: 1; } }

/* Home: steps, Karen, area */
.steps-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56em) { .steps-grid { grid-template-columns: 1.1fr .9fr; gap: 4.5rem; } }
.steps-grid h2 { margin-top: 0; }
.karen-intro { display: grid; gap: 2rem; align-items: center; }
.intro-ring { width: min(20rem, 70vw); justify-self: center; }
@media (min-width: 48em) { .karen-intro { grid-template-columns: auto 1fr; gap: 4.5rem; } }
.karen-intro h2 { margin-top: 0; }
.area .wrap { padding-top: .5rem; }

/* Facts column */
.with-facts { display: grid; gap: 2.5rem; padding-bottom: var(--section); }
@media (min-width: 60em) { .with-facts { grid-template-columns: minmax(0, 1fr) 18rem; gap: 5rem; align-items: start; } .facts { position: sticky; top: 6rem; } }
.prose { max-width: 42em; }
.prose > h2:first-child { margin-top: 0; }
.facts { background: var(--sky-mist); border: 1px solid var(--sky); border-radius: var(--radius); padding: 1.35rem 1.4rem .5rem; font-size: 1.0625rem; }
.facts dl { margin: 0; }
.facts div { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-family: var(--head); font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }
.facts dd a { font-weight: 700; }

/* GOV.UK-style step by step */
.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.step { position: relative; padding: 0 0 1.4rem 3.6rem; margin: 0; }
.step::before { content: ""; position: absolute; left: 1.2rem; top: 2.5rem; bottom: .1rem; border-left: 2px solid var(--line); }
.step:last-child::before { display: none; }
.step h3 { margin: 0 0 .5rem; font-size: 1.3rem; padding-top: .4rem; }
.step-num { position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 2px solid var(--blue);
  color: var(--blue); display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.steps.compact .step { padding-bottom: 1rem; }
.steps.compact .step h3 { font-size: 1.2rem; }

/* Fees */
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem .5rem; margin-bottom: 1.5rem; }
.price-card h2 { margin-top: 0; }
.price { font-family: var(--head); font-size: 1.7rem; font-weight: 600; margin-bottom: 0; }
dl.signs div { padding: .6rem 0; border-bottom: 1px solid var(--line); }
dl.signs dt { font-weight: 700; }
dl.signs dd { margin: 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.6em; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .25em; top: .6em; width: .5em; height: .5em; border-radius: 50%; border: 2px solid var(--blue); }

/* Cards */
.card-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; margin: 0 0 var(--section); }
@media (min-width: 48em) { .card-list { grid-template-columns: repeat(2, 1fr); } }
.card-list li { margin: 0; }
.card-link { display: block; height: 100%; padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: border-color .2s, background .2s; }
.card-link:hover { background: var(--sky-mist); border-color: var(--blue); color: var(--navy); }
.card-title { display: block; font-family: var(--head); font-weight: 600; font-size: 1.35rem; color: var(--blue); margin-bottom: .35rem; }

/* About */
.photo { margin: 0 0 1.5rem; }
.photo img { border-radius: var(--radius); }
.photo figcaption { font-size: .95rem; color: var(--muted); margin-top: .45rem; }
.photo.wide { max-width: 520px; }
.photo.lenton-graphic { max-width: 680px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.pair .photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding-bottom: var(--section); }
.gallery .photo { margin: 0; }
.gallery .photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ben { display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .ben { grid-template-columns: 220px 1fr; } }

/* Ask Karen */
.ask { padding: var(--section) 0; }
.ask-grid { display: grid; gap: 1.5rem 3rem; align-items: center; background: var(--sky); border-radius: 24px; padding: clamp(1.75rem, 4vw, 3rem); }
.ask-ring { width: 8.5rem; }
@media (min-width: 44em) { .ask-grid { grid-template-columns: auto 1fr; } .ask-ring { width: 11rem; } }
.ask p:last-child { margin-bottom: 0; }

/* News */
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 1rem; }
.post-card a { display: block; text-decoration: none; color: var(--navy); height: 100%; }
.post-card img { border-radius: var(--radius); margin-bottom: .8rem; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .4s var(--ease); }
.post-card a:hover img { transform: scale(1.02); }
.post-card h3 { margin: .2rem 0 .4rem; color: var(--blue); }
.post-date { font-size: .95rem; color: var(--muted); margin: 0; }
.post-body { margin: 1.5rem 0; }
.post-sign { font-family: var(--head); font-weight: 600; }
.panel-soft { background: var(--sky-mist); padding-bottom: var(--section); margin-top: var(--section); }

/* Forms */
label { display: block; font-weight: 700; margin-bottom: 1.1rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
input[type=text], input:not([type]), input[type=email], input[type=tel], select, textarea {
  display: block; width: 100%; max-width: 32rem; margin-top: .35rem; font: 400 1.125rem var(--body); color: var(--navy);
  padding: .7rem .8rem; border: 2px solid var(--navy); border-radius: 6px; background: #fff; transition: border-color .2s; }
textarea { max-width: 42rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
[aria-invalid="true"] { border-color: #b3001b; border-width: 3px; }
.check-line { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.check-line input { width: 1.4rem; height: 1.4rem; margin-top: .2rem; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 700; }
.form-status.is-error { color: #b3001b; }
.form-done { background: var(--sky-mist); border: 1px solid var(--sky); border-radius: var(--radius); padding: 1.5rem; }
.form-done .big { font-size: 1.25rem; font-weight: 700; margin: 0; }
.big-phone { font-family: var(--head); font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 600; }
.big-phone a { text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.prefill-note { background: var(--sky-mist); border: 1px solid var(--sky); border-radius: var(--radius); padding: 1rem 1.2rem .1rem; margin-bottom: 1.25rem; }

/* What have you noticed? */
.noticed-form { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 56em) {
  .noticed-form { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .noticed-dog { position: sticky; top: 6rem; }
  /* The whole panel, body-part ticks included, has to fit on a laptop screen or the ticks stay out of sight. */
  .noticed-dog .dog-frame { max-width: min(22rem, calc(100vh - 32rem)); min-width: 11rem; }
  .noticed-dog .parts .check { margin-bottom: .35rem; }
}
.dog-frame { position: relative; background: var(--sky); border-radius: 50%; aspect-ratio: 1; padding: 9% 12%; max-width: 22rem; margin: 0 auto 1.25rem;
  border: clamp(5px, .9vw, 10px) solid var(--blue); box-shadow: inset 0 0 0 6px var(--white); }
.dog-box { position: relative; height: 100%; aspect-ratio: 379 / 453; margin: 0 auto; }
.dog-frame .dog { width: 100%; height: 100%; }
@media (max-width: 55.99em) { .dog-frame { max-width: 15rem; } }
/* No CSS transform on the <g>: it would override the SVG translate that places each heart. */
.part-heart { fill: var(--heart); opacity: 0; transition: opacity .2s; }
.pin { position: absolute; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; cursor: pointer; margin: 0; transition: box-shadow .2s; }
.pin:hover { box-shadow: 0 0 0 3px var(--blue) inset; }
/* The dog frame is inside the form, so :has() lights the hearts with no JavaScript. */
.noticed-form:has(#part-neck:checked) .part-heart[data-part="neck"],
.noticed-form:has(#part-shoulders:checked) .part-heart[data-part="shoulders"],
.noticed-form:has(#part-back:checked) .part-heart[data-part="back"],
.noticed-form:has(#part-hips:checked) .part-heart[data-part="hips"],
.noticed-form:has(#part-tail:checked) .part-heart[data-part="tail"],
.part-heart.on { opacity: 1; }
fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
legend { padding: 0; margin-bottom: .7rem; }
.area-title, .dog-details legend { font-family: var(--head); font-weight: 600; font-size: 1.35rem; }
.area-guild { display: inline-block; font-size: .9rem; color: var(--muted); font-weight: 400; }
.parts legend { font-weight: 700; }
.check { display: block; margin: 0 0 .55rem; font-weight: 400; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: flex; gap: .75rem; align-items: center; padding: .65rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, background .15s; }
.check span:hover { border-color: var(--blue); }
.check span::before { content: ""; flex: none; width: 1.45rem; height: 1.45rem; border: 2px solid var(--navy); border-radius: 4px; background: #fff; }
.check .heart { display: none; width: 1.45rem; height: 1.45rem; color: var(--heart); flex: none; }
.check input:checked + span { border-color: var(--navy); background: var(--sky-mist); }
.check input:checked + span::before { display: none; }
.check input:checked + span .heart { display: block; animation: k9-pop .3s var(--ease); }
@keyframes k9-pop { from { transform: scale(.4); } to { transform: scale(1); } }
.check input:focus-visible + span { outline: 3px solid var(--focus); box-shadow: 0 0 0 6px var(--navy); }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio { margin: 0; font-weight: 400; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; transition: background .15s, color .15s; }
.radio input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--focus); }
.dog-details label { max-width: 32rem; }
.note-box { background: var(--sky-mist); border: 1px solid var(--sky); border-radius: var(--radius); padding: 1.1rem 1.3rem .15rem; margin-bottom: 2rem; }
.notes-sheet { border: 2px solid var(--navy); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); margin: 0 0 2.5rem; background: #fff; }
.notes-sheet h2 { margin-top: 0; }
.notes-sheet h3 { margin: 1.1rem 0 .3rem; font-size: 1.1rem; }
.notes-sheet ul { margin-bottom: .5rem; }
.sheet-meta { color: var(--muted); }
.sheet-foot { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: 1.2rem; font-size: 1rem; }
.noticed + .section { padding-bottom: var(--section); }

/* Legal */
.legal { padding-bottom: var(--section); }
.legal h2 { font-size: 1.5rem; }
.draft-note { background: #fff3a8; color: #5a3d00; padding: .7rem 1rem; font-weight: 700; border-radius: 6px; }
.link-list li { margin-bottom: .6em; }
main > .wrap.narrow:last-child, main > .wrap:last-child { padding-bottom: var(--section); }

/* Footer */
.site-foot { background: var(--navy); color: #fff; padding: 3.5rem 0 1.5rem; font-size: 1.0625rem; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 48em) { .foot-grid { grid-template-columns: 1.3fr 1fr auto; gap: 3rem; } }
.foot-name { font-family: var(--head); font-weight: 600; font-size: 1.35rem; margin-bottom: .35rem; }
.foot-strap { font-family: var(--head); font-style: italic; margin-bottom: .5rem; }
.plain { list-style: none; padding: 0; }
.badges { display: flex; gap: 1rem; align-items: center; }
.badges img { background: #fff; border-radius: 6px; padding: 3px; }
.foot-base { border-top: 1px solid #2c4a70; margin-top: 2rem; padding-top: 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .95rem; }
.foot-base p { margin: 0; }
.credit { opacity: .9; }

/* Phone call bar: most owners ring, so it stays in reach on phones */
.callbar { display: none; }
@media (max-width: 47.99em) {
  .callbar { display: flex; position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 25; justify-content: center; align-items: center; gap: .5em;
    background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; padding: .85rem 1rem; border-radius: 999px;
    box-shadow: 0 8px 20px -10px rgba(12, 35, 64, .7); transition: transform .3s var(--ease); }
  .callbar.hide { transform: translateY(160%); }
  body:has(.callbar) .site-foot { padding-bottom: 5.5rem; }
  .page-contact .callbar { display: none; }
}

/* Calm motion: sections rise in once. Only when JavaScript runs and reduced motion has
   not been asked for (html.motion, set in the head; the head also removes it again if
   site.js has not started within 3 seconds, so nothing can stay hidden). ---- */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
/* The hero is never hidden: it only settles into place (transform, no opacity), so the
   first screen shows even if animations are paused or the page is printed. */
.motion .hero-ring { animation: k9-ring 1.1s var(--ease) both; }
@keyframes k9-ring { from { transform: scale(.96) rotate(-3deg); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* Print: the notes sheet on its own */
@media print {
  body { font-size: 12pt; color: #000; }
  .site-head, .site-foot, .crumbs, .page-head, .noticed-form, .section, .ask, .no-print, .sheet-actions, .callbar { display: none !important; }
  .notes-sheet { border: 0; padding: 0; display: block !important; }
  a { color: #000; text-decoration: none; }
}
