/* Palette comes from the dog itself: merle coat, white collar, copper points, one blue eye and one amber. */
:root {
  --ink: #17212d;
  --ink-soft: #46546380;
  --text: #25303d;
  --muted: #5d6b7a;
  --paper: #f1f5f8;
  --white: #ffffff;
  --line: #d6dfe7;
  --merle: #8496a8;
  --merle-light: #dbe4ec;
  --eye: #159fd9;
  --eye-deep: #0b6f9c;
  --eye-light: #dff3fc;
  --amber: #f5a81c;
  --amber-light: #fdeecb;
  --copper: #c9682c;
  --liver: #7b3b27;
  --liver-light: #f4e3da;
  --grass: #23875a;
  --grass-light: #dcf2e6;
  --stop: #c9302c;
  --stop-light: #fbe3e1;
  --display: 'Karantina', 'Rubik Variable', 'Arial Hebrew', Arial, sans-serif;
  --body: 'Rubik Variable', 'Rubik', 'Arial Hebrew', Arial, sans-serif;
  --wrap: 1160px;
  --blob-a: 58% 42% 47% 53% / 46% 55% 45% 54%;
  --blob-b: 41% 59% 56% 44% / 57% 43% 57% 43%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.7;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--eye-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1, h2, .display { font-family: var(--display); font-weight: 700; line-height: 0.92; letter-spacing: 0.01em; }
h1 { font-size: clamp(3.4rem, 9vw, 6.6rem); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4rem); }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; }
.site-header .wrap { display: flex; align-items: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; padding-block: 0.6rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; }
.eyes { display: inline-flex; gap: 5px; }
.eyes i { width: 15px; height: 15px; border-radius: 50%; background: var(--eye); box-shadow: inset 0 0 0 4px var(--eye), inset 0 0 0 8px var(--ink); }
.eyes i + i { background: var(--amber); box-shadow: inset 0 0 0 4px var(--amber), inset 0 0 0 8px var(--ink); }
.main-nav { display: flex; gap: 0.15rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { padding: 0.4rem 0.75rem; border-radius: 999px; text-decoration: none; color: var(--text); white-space: nowrap; font-weight: 500; }
.main-nav a:hover { background: var(--paper); }
.main-nav a[aria-current='page'] { background: var(--ink); color: var(--white); }
.main-nav a.strong { color: var(--eye-deep); font-weight: 650; }
.main-nav a.strong[aria-current='page'] { color: var(--white); }
.account { display: flex; align-items: center; gap: 0.5rem; margin-inline-start: auto; }
.account form { margin: 0; }
@media (max-width: 1020px) {
  .main-nav { order: 3; flex-basis: 100%; margin-inline: -0.5rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white); font: inherit; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { color: var(--white); background: #24344a; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sun { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-sun:hover { background: #ffbb3d; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 0.7rem; width: 100%; background: var(--white); color: var(--ink); }
.btn-google:hover { background: var(--paper); color: var(--ink); }
.google-note { text-align: center; margin: 0.6rem 0 0; }
.or { display: flex; align-items: center; gap: 0.9rem; color: var(--muted); font-size: 0.9rem; margin: 1.1rem 0; }
.or::before, .or::after { content: ''; flex: 1; border-top: 2px solid currentColor; opacity: 0.35; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 0.4rem 0.95rem; font-size: 0.95rem; }
.btn-danger { background: transparent; border-color: var(--stop); color: var(--stop); }
.btn-danger:hover { background: var(--stop); color: var(--white); }
.btn-link { background: none; border: none; padding: 0; color: var(--eye-deep); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper) url('/static/img/merle-paper.svg') center / 900px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-art { position: relative; min-height: 420px; }
.blob { position: absolute; object-fit: cover; border-radius: var(--blob-a); }
.hero-art .blob-main { inset: 0 0 8% 6%; width: 94%; height: 92%; }
.hero-art .blob-side { width: 42%; aspect-ratio: 1; inset-inline-start: -4%; bottom: 0; border-radius: var(--blob-b); border: 8px solid var(--paper); }
.hero-art .dot { position: absolute; border-radius: 50%; }
.hero-art .dot-eye { width: 74px; height: 74px; background: var(--eye); top: -14px; inset-inline-end: 4%; }
.hero-art .dot-amber { width: 40px; height: 40px; background: var(--amber); top: 46px; inset-inline-end: -1%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .blob-main { animation: settle 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-art .blob-side { animation: settle 0.9s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(0.92) rotate(-3deg); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; order: -1; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { margin: 0.75rem 0 0; max-width: 38em; }
.band-ink { background: var(--ink) url('/static/img/merle-ink.svg') center / 900px; color: #dbe4ec; }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink a:not(.btn) { color: #8fd6f5; }
.band-eye { background: var(--eye); color: var(--ink); }
.band-amber { background: var(--amber); }
.band-white { background: var(--white); }

/* ---------- coat colour strip ---------- */
.coats { display: grid; grid-template-columns: repeat(4, 1fr); }
.coat { position: relative; display: block; min-height: 340px; color: var(--white); text-decoration: none; overflow: hidden; }
.coat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.coat:hover img { transform: scale(1.05); }
.coat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 33, 45, 0.85), rgba(23, 33, 45, 0) 55%); }
.coat span { position: absolute; z-index: 1; inset-inline: 1.25rem; bottom: 1rem; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 0.95; }
.coat small { display: block; font-family: var(--body); font-size: 0.95rem; font-weight: 400; margin-top: 0.35rem; opacity: 0.9; }
.coat:hover { color: var(--white); }
@media (max-width: 860px) { .coats { grid-template-columns: repeat(2, 1fr); } .coat { min-height: 240px; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border-radius: 22px; padding: 1.5rem; }
.card-line { border: 1px solid var(--line); }

.dog-card { display: flex; flex-direction: column; background: var(--white); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform 0.15s ease; }
.dog-card:hover { transform: translateY(-3px); color: var(--text); }
.dog-card .pic { aspect-ratio: 4 / 3; background: var(--merle-light); display: grid; place-items: center; overflow: hidden; }
.dog-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.dog-card .pic svg { width: 62%; }
.dog-card .body { padding: 1rem 1.15rem 1.2rem; }
.dog-card h3, .band-ink .dog-card h3 { font-family: var(--display); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--ink); }
.dog-card .meta { color: var(--muted); font-size: 0.95rem; margin: 0.2rem 0 0.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; background: var(--paper); color: var(--text); }
.tag-mate { background: var(--amber-light); color: #6b4500; }
.tag-friends { background: var(--eye-light); color: var(--eye-deep); }
.tag-pedigree { background: var(--grass-light); color: #14553a; }
.tag-demo { background: var(--liver-light); color: var(--liver); }
.pic.tone-black_tri, .pic.tone-black_bi { background: #cfd6dd; }
.pic.tone-blue_merle { background: var(--eye-light); }
.pic.tone-red_tri, .pic.tone-red_bi { background: var(--liver-light); }
.pic.tone-red_merle { background: var(--amber-light); }

.link-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.link-tile { display: block; text-decoration: none; color: var(--text); background: var(--white); border-radius: 22px; overflow: hidden; }
.link-tile img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.link-tile div { padding: 1rem 1.25rem 1.3rem; }
.link-tile h3 { margin-bottom: 0.3rem; }
.link-tile p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.link-tile:hover h3 { color: var(--eye-deep); }

/* ---------- map ---------- */
.map { height: 440px; border-radius: 22px; overflow: hidden; background: var(--merle-light); z-index: 0; }
.map-small { height: 300px; }
.pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid var(--white); box-shadow: 0 2px 6px rgba(23, 33, 45, 0.35); background: var(--ink); }
.pin-blue_merle { background: var(--merle); }
.pin-red_tri, .pin-red_bi { background: var(--liver); }
.pin-red_merle { background: var(--copper); }
.pin-me { background: var(--eye); border-radius: 50%; transform: none; }
.leaflet-container { font-family: var(--body); }
.leaflet-popup-content { margin: 0.8rem 1rem; text-align: right; direction: rtl; line-height: 1.5; }
.leaflet-popup-content a { font-weight: 650; font-size: 1.1rem; }
.map-tools { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.9rem; }

/* ---------- article pages ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-head.no-art .wrap { grid-template-columns: 1fr; }
.page-head .lead { margin: 1rem 0 0; }
.page-head img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--blob-a); }
@media (max-width: 760px) { .page-head .wrap { grid-template-columns: 1fr; } .page-head img { max-width: 420px; } }
.article { padding-block: 3rem 4.5rem; display: grid; grid-template-columns: minmax(0, 46rem) 1fr; gap: 3rem; }
.article-body > h2 { font-size: clamp(2.3rem, 4.5vw, 3.2rem); margin: 2.6rem 0 0.9rem; scroll-margin-top: 6rem; }
.article-body > h2:first-child { margin-top: 0; }
.article-body > h3 { margin: 1.8rem 0 0.5rem; }
.article-body ul, .article-body ol { padding-inline-start: 1.3rem; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 0.45em; }
.article-body li::marker { color: var(--copper); font-weight: 700; }
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: 22px; width: 100%; }
.article-body figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.toc { position: sticky; top: 6.5rem; align-self: start; background: var(--white); border-radius: 22px; padding: 1.25rem 1.4rem; }
.toc h4 { margin-bottom: 0.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 0.4rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .toc { position: static; order: -1; } }

.note { border-radius: 18px; padding: 1.1rem 1.3rem; margin: 1.5rem 0; background: var(--eye-light); border-inline-start: 6px solid var(--eye); }
.note > :last-child { margin-bottom: 0; }
.note h4 { margin-bottom: 0.3rem; }
.note-stop { background: var(--stop-light); border-color: var(--stop); }
.note-sun { background: var(--amber-light); border-color: var(--amber); }
.note-grass { background: var(--grass-light); border-color: var(--grass); }

.table-scroll { overflow-x: auto; margin: 1.25rem 0; }
table { border-collapse: collapse; width: 100%; background: var(--white); border-radius: 16px; overflow: hidden; font-size: 0.98rem; }
th, td { text-align: start; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink); color: var(--white); font-weight: 600; }
tr:last-child td { border-bottom: none; }

.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.swatch { background: var(--white); border-radius: 22px; overflow: hidden; }
.swatch img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.swatch div { padding: 1rem 1.2rem 1.2rem; }
.swatch h3 { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; margin-bottom: 0.4rem; }
.swatch p { margin: 0; font-size: 0.98rem; line-height: 1.55; }

.timeline { list-style: none; padding: 0; margin: 1.5rem 0; border-inline-start: 4px solid var(--merle-light); }
.timeline li { position: relative; padding-inline-start: 1.4rem; margin-bottom: 1.3rem; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: -11px; top: 0.45rem; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); border: 4px solid var(--paper); }
.timeline b { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--ink); }

/* ---------- forms ---------- */
.form-page { padding-block: 2.5rem 4rem; }
.narrow { max-width: 30rem; margin-inline: auto; }
.form-card { background: var(--white); border-radius: 22px; padding: 1.5rem; margin-bottom: 1.25rem; }
.form-card > h2, .form-card > legend { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; margin-bottom: 0.3rem; padding: 0; }
fieldset.form-card { border: none; min-width: 0; margin-inline: 0; }
fieldset.form-card > legend { float: inline-start; width: 100%; margin-bottom: 0.8rem; }
fieldset.form-card > legend + * { clear: both; }
.form-card > .hint { margin-bottom: 1.1rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field.wide { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 0.97rem; color: var(--ink); }
.hint { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0; }
input[type='text'], input[type='email'], input[type='password'], input[type='tel'], input[type='date'], input[type='search'], select, textarea {
  width: 100%; padding: 0.65rem 0.8rem; border: 1.5px solid #b9c5d1; border-radius: 12px; background: var(--white);
  font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--eye); outline-offset: 0; border-color: var(--eye); }
textarea { min-height: 7.5rem; resize: vertical; }
input[type='file'] { font: inherit; max-width: 100%; }
.check { display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 500; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.3rem; accent-color: var(--eye-deep); flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; }
.choice { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 0.5rem 1.2rem; border-radius: 999px; border: 1.5px solid #b9c5d1; font-weight: 600; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.errors { background: var(--stop-light); border-inline-start: 6px solid var(--stop); border-radius: 14px; padding: 0.9rem 1.2rem; margin-bottom: 1.25rem; }
.errors ul { margin: 0; padding-inline-start: 1.2rem; }
.notice { background: var(--grass-light); border-inline-start: 6px solid var(--grass); border-radius: 14px; padding: 0.8rem 1.2rem; margin: 1.25rem 0; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }
details.more { margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--eye-deep); }
details.more[open] summary { margin-bottom: 1rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; background: var(--white); border-radius: 22px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.filters .field { flex: 1 1 150px; }
.filters .check { align-self: center; padding-top: 1.2rem; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.9rem; margin-bottom: 1.25rem; }
.media-item { background: var(--paper); border-radius: 14px; overflow: hidden; font-size: 0.88rem; }
.media-item img, .media-item video { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--merle-light); }
.media-item form { padding: 0.45rem 0.6rem; margin: 0; }
.doc-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.doc-list li { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.doc-list li > :first-child { flex: 1 1 200px; }
.doc-list form { margin: 0; }

/* ---------- dog profile ---------- */
.profile { padding-block: 2rem 4rem; }
.profile-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .profile-top { grid-template-columns: 1fr; } }
.gallery .main { border-radius: 26px; overflow: hidden; background: var(--merle-light); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main svg { width: 55%; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.6rem; margin-top: 0.6rem; }
.thumbs a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.profile h1 { font-size: clamp(3.6rem, 8vw, 5.6rem); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1.25rem; margin: 1.25rem 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); }
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.6rem; }
.results li { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; background: var(--paper); border-radius: 12px; padding: 0.55rem 0.85rem; font-size: 0.95rem; }
.pill { padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.83rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--grass-light); color: #14553a; }
.pill-caution { background: var(--amber-light); color: #6b4500; }
.pill-stop { background: var(--stop-light); color: #8c1d1a; }
.pill-none { background: var(--merle-light); color: var(--muted); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.videos video, .videos .yt { width: 100%; border-radius: 18px; background: var(--ink); aspect-ratio: 16 / 9; }
.videos figure { margin: 0; }
.videos figcaption { font-size: 0.95rem; margin-top: 0.4rem; }
.yt { position: relative; display: block; overflow: hidden; border: none; padding: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.yt::after { content: ''; position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.500z' fill='%2317212d'/%3E%3C/svg%3E") center / 60% no-repeat; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- compatibility ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 800px) { .pair { grid-template-columns: 1fr; } }
.pair .form-card { margin: 0; border-top: 10px solid var(--eye); }
.pair .form-card + .form-card { border-top-color: var(--amber); }
.verdict { border-radius: 26px; padding: 1.75rem; margin-bottom: 1.5rem; background: var(--white); border-top: 12px solid var(--merle); }
.verdict h2 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 0.4rem; }
.verdict-stop { border-color: var(--stop); background: var(--stop-light); }
.verdict-caution { border-color: var(--amber); background: var(--amber-light); }
.verdict-ok { border-color: var(--grass); background: var(--grass-light); }
.verdict-incomplete, .verdict-na { border-color: var(--merle); }
.findings { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.75rem; }
.finding { background: var(--white); border-radius: 18px; padding: 1rem 1.25rem; border-inline-start: 8px solid var(--merle); }
.finding h3, .band-ink .finding h3 { margin-bottom: 0.25rem; color: var(--ink); }
.finding p { margin: 0; }
.finding-stop { border-color: var(--stop); }
.finding-caution { border-color: var(--amber); }
.finding-ok { border-color: var(--grass); }
.finding-missing, .finding-info { border-color: var(--merle); }
.demo-check { display: grid; gap: 0.6rem; }
.demo-check .finding { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink) url('/static/img/merle-ink.svg') center / 900px; color: #c3cfda; padding-block: 3rem 2rem; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .logo { color: var(--white); }
.site-footer h4 { color: var(--white); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: #c3cfda; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid #ffffff22; padding-top: 1.25rem; font-size: 0.9rem; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.message-page { padding-block: 5rem; text-align: center; }
.message-page h1 { font-size: clamp(3rem, 8vw, 5rem); margin-bottom: 1rem; }
.empty { background: var(--white); border-radius: 22px; padding: 2.5rem 1.5rem; text-align: center; }
.empty svg { width: 120px; margin: 0 auto 1rem; }
.stack > * + * { margin-top: 1.25rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
