/* RasKompas — herschreven, opgeschoonde stijlen (fasegewijs vervangt app.css)
   Bevat voorlopig een eigen kopie van de tokens/basis die nodig zijn om dit
   bestand op zichzelf te kunnen testen (app.css staat tijdelijk uit). Zodra
   alle secties gemigreerd zijn, wordt dit de enige bron en vervalt app.css'
   eigen :root/body-blok. Sectie 0: tokens & basis. Sectie 1: header & nav. */

:root {
    color-scheme: light;

    --font-inter: "Inter";
    --font-fraunces: "Fraunces";
    --font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
    --font-serif: var(--font-fraunces), ui-serif, Georgia, serif;

    --background: oklch(0.985 0.008 85);
    --foreground: oklch(0.27 0.02 60);
    --card: oklch(0.995 0.006 85);
    --primary: oklch(0.52 0.07 175);
    --primary-foreground: oklch(0.99 0.01 175);
    --secondary: oklch(0.94 0.02 90);
    --secondary-foreground: oklch(0.32 0.02 60);
    --muted-foreground: oklch(0.5 0.02 70);
    --border: oklch(0.9 0.015 80);
    --muted: oklch(0.95 0.015 85);
    --accent: oklch(0.72 0.11 55);
    --destructive: oklch(0.577 0.18 27);
    --radius: 0.75rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1rem;
}
.skiplink { position: absolute; left: 1rem; top: -5rem; background: var(--foreground); color: var(--card); padding: .7rem 1rem; z-index: 20; border-radius: calc(var(--radius) * 0.6); }
.skiplink:focus { top: 1rem; }
.lucide-icon { display: block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.lucide-icon.icon--small { width: 1rem; height: 1rem; }
.lucide-icon.icon--tiny { width: .875rem; height: .875rem; }
button, .button {
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    color: var(--card);
    padding: .78rem 1.08rem;
    font-weight: 750;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    transition: transform 140ms cubic-bezier(.2,.7,.2,1), background 140ms cubic-bezier(.2,.7,.2,1), border-color 140ms cubic-bezier(.2,.7,.2,1);
}
button:hover, .button:hover {
    background: var(--foreground);
    border-color: var(--foreground);
    color: var(--card);
    transform: translateY(-1px);
}
.button.secondary {
    background: transparent;
    color: var(--primary);
    border-color: oklch(0.82 0.025 80);
}
.button.secondary:hover {
    background: var(--muted);
    color: var(--foreground);
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .82rem .9rem;
    color: var(--foreground);
    background: var(--card);
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(140, 106, 47, .2);
}
input::placeholder { color: var(--muted-foreground); }
.stack-form {
    display: grid;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    box-shadow: none;
}
.check { display: flex; gap: .75rem; align-items: center; }
.check input { width: auto; min-width: 1.1rem; }
.error { color: var(--destructive); font-weight: 750; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid color-mix(in oklch, var(--border) 80%, transparent);
    background: color-mix(in oklch, var(--background) 85%, transparent);
    backdrop-filter: blur(12px);
}
.header-grid {
    display: flex;
    min-height: 64px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand--home {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--foreground);
    text-decoration: none;
}
.brand--home .brand-icon {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.brand--home > span {
    display: inline;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
}
.nav-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--foreground);
    box-shadow: none;
}
.nav-toggle:hover {
    background: var(--secondary);
    color: var(--foreground);
    transform: none;
}
.nav-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }
.main-nav {
    display: flex;
    width: calc(100% + 2rem);
    max-height: 0;
    flex: 0 0 calc(100% + 2rem);
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    overflow: hidden;
    margin-inline: -1rem;
    padding: 0 1rem;
    border: 0;
    border-top: 0 solid var(--border);
    border-radius: 0;
    background: var(--background);
    box-shadow: none;
    transition: max-height 200ms ease, padding 200ms ease, border-width 200ms ease;
}
.main-nav.is-open {
    max-height: 320px;
    padding-block: .75rem;
    border-top-width: 1px;
}
.main-nav a {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: .625rem .75rem;
    border-radius: 8px;
    color: var(--foreground);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: var(--secondary);
    color: var(--foreground);
}
.header-search {
    display: flex;
    width: 100%;
    max-width: 18rem;
    min-height: 38px;
    align-items: center;
    gap: .375rem;
    margin: 0;
    padding: .25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.header-search input {
    width: auto;
    min-width: 0;
    height: 28px;
    flex: 1 1 auto;
    padding: 0 .5rem;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--foreground);
    font-size: .875rem;
    line-height: 1.25rem;
    box-shadow: none;
}
.header-search input:focus { box-shadow: none; }
.header-search button {
    display: inline-flex;
    width: auto;
    height: 30px;
    min-height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 .75rem;
    border: 0;
    border-radius: 6px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1rem;
}
.header-search button:hover {
    background: color-mix(in oklch, var(--secondary) 70%, transparent);
    color: var(--secondary-foreground);
    transform: none;
}
/* Sectie 2: homepage hero & de 3 feature-kaarten. */
.home-hero {
    position: relative;
    overflow: hidden;
}
.home-hero__inner {
    display: block;
    padding-block: 4rem;
}
.home-hero__copy {
    display: block;
}
.soft-pill {
    display: inline-flex;
    width: fit-content;
    min-height: 22px;
    align-items: center;
    gap: .4rem;
    margin: 0;
    padding: .15rem .6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--muted-foreground);
    font-size: .6875rem;
    font-weight: 500;
    line-height: 1rem;
}
.soft-pill .lucide-icon {
    color: var(--primary);
}
.home-hero__copy h1 {
    margin: 1.25rem 0 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.05;
    text-wrap: balance;
}
.home-hero__copy > p:not(.soft-pill) {
    max-width: 32rem;
    margin: 1.25rem 0 0;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.75;
    text-wrap: pretty;
}
.home-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 2rem 0 0;
}
.home-hero .button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 12px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-align: center;
    text-decoration: none;
}
.home-hero .button:hover {
    background: color-mix(in oklch, var(--primary) 90%, transparent);
    border-color: color-mix(in oklch, var(--primary) 90%, transparent);
    color: var(--primary-foreground);
    transform: none;
}
.home-hero .button.secondary {
    border-color: var(--border);
    background: var(--card);
    color: var(--foreground);
}
.home-hero .button.secondary:hover {
    border-color: var(--border);
    background: var(--secondary);
    color: var(--foreground);
}
.home-search {
    position: static;
    display: flex;
    width: 100%;
    max-width: 28rem;
    min-height: 54px;
    align-items: center;
    gap: .5rem;
    margin: 2rem 0 0;
    padding: .5rem;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.home-search::after {
    content: none;
}
.home-search__icon {
    display: flex;
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    align-items: center;
    justify-content: center;
    margin-left: .5rem;
    color: var(--muted-foreground);
}
.home-search input {
    width: auto;
    min-width: 0;
    height: auto;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--foreground);
    font-size: .875rem;
    line-height: 1.25rem;
    box-shadow: none;
}
.home-search input:focus {
    box-shadow: none;
}
.home-search button {
    position: static;
    display: inline-flex;
    width: auto;
    height: 36px;
    min-height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border: 0;
    border-radius: 8px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    opacity: 1;
}
.home-search button:hover {
    background: color-mix(in oklch, var(--secondary) 70%, transparent);
    color: var(--secondary-foreground);
    transform: none;
}
.home-hero__visual {
    position: relative;
    margin-top: 2.5rem;
}
.home-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 2.2);
    box-shadow: 0 20px 60px -20px rgba(0,0,0,.25);
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 2.5rem;
}
.section-heading > div {
    max-width: 42rem;
}
.section-heading p {
    max-width: 42rem;
    color: var(--muted-foreground);
}
.section-kicker {
    margin: 0;
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}
.section-heading h2,
.choice-band h2,
.home-callout h2 {
    margin: .5rem 0 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.1;
    text-wrap: balance;
}
.route-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.route-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    text-decoration: none;
    box-shadow: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.route-card:hover {
    border-color: color-mix(in oklch, var(--primary) 40%, transparent);
    color: var(--foreground);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
    transform: none;
}
.rk-card-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: color-mix(in oklch, var(--primary) 10%, transparent);
    color: var(--primary);
}
.route-card .eyebrow {
    margin: 1rem 0 0;
    color: var(--muted-foreground);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1rem;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.route-card h3 {
    margin: .25rem 0 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}
.route-card p:not(.eyebrow) {
    flex: 1 1 auto;
    margin: .5rem 0 0;
    color: var(--muted-foreground);
    font-size: .875rem;
    line-height: 1.625;
}
.route-card .text-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .25rem;
    margin-top: 1rem;
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}
.route-card .text-link::after {
    content: none;
}
.route-card:hover .text-link .lucide-icon {
    transform: translateX(2px);
}

/* Sectie 3: diergroep- en rassenkaarten (homepage). */
.tile-grid,
.card-grid,
.knowledge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.group-tile {
    display: flex;
    min-height: 0;
    gap: 1rem;
    padding: 1.25rem;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    text-decoration: none;
    box-shadow: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.group-tile:hover {
    border-color: color-mix(in oklch, var(--primary) 40%, transparent);
    color: var(--foreground);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
    transform: none;
}
.group-tile .rk-card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: var(--secondary);
    transition: background 200ms ease, color 200ms ease;
}
.group-tile .rk-card-icon .lucide-icon {
    width: 24px;
    height: 24px;
}
.group-tile:hover .rk-card-icon {
    background: var(--primary);
    color: var(--primary-foreground);
}
.group-tile h3 {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
}
.group-tile p {
    margin: .25rem 0 0;
    color: var(--muted-foreground);
    font-size: .875rem;
    line-height: 1.625;
}
.profile-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    text-decoration: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.profile-card:hover {
    border-color: color-mix(in oklch, var(--primary) 40%, transparent);
    color: var(--foreground);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
}
.profile-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.profile-card__group {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: .375rem;
    padding: .25rem .625rem;
    border-radius: 999px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1rem;
}
.profile-card__group .lucide-icon {
    width: .875rem;
    height: .875rem;
    color: var(--primary);
}
.profile-card__size {
    color: var(--muted-foreground);
    font-size: .75rem;
    line-height: 1rem;
    text-transform: capitalize;
}
.profile-card h3 {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}
.profile-card > p {
    flex: 1 1 auto;
    margin: .5rem 0 0;
    color: var(--muted-foreground);
    font-size: .875rem;
    line-height: 1.625;
}
.profile-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: .75rem;
    line-height: 1rem;
}
.profile-card__meta strong {
    color: var(--foreground);
    font-weight: 600;
}
.profile-card__link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
    color: var(--primary);
    font-weight: 500;
}
.profile-card:hover .profile-card__link .lucide-icon {
    transform: translateX(2px);
}

/* Sectie 4: formulieren & keuzehulp. */
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.empty-state, .success {
    background: var(--muted);
    padding: 1.5rem;
    border-radius: 12px;
}
.empty-state h2 {
    margin: 0 0 1rem;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.1;
}
.filter-form {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) minmax(12rem, .6fr) minmax(10rem, .5fr) auto;
    align-items: end;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
}
.advice-layout {
    display: grid;
    gap: 4rem;
}
.choice-wizard {
    display: grid;
    max-width: 980px;
    gap: 1.25rem;
}
.choice-question,
.choice-submit-card {
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
}
.choice-question {
    scroll-margin-top: 7rem;
}
.choice-question legend {
    display: grid;
    gap: .45rem;
    width: 100%;
    margin: 0 0 1.5rem;
    padding: .25rem .5rem 0;
}
.choice-question legend strong,
.choice-submit-card h2,
.choice-results h2 {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}
.choice-question > p,
.choice-submit-card p,
.choice-results .section-heading p {
    max-width: 52rem;
    color: var(--muted-foreground);
    line-height: 1.625;
}
.choice-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 0;
}
.choice-option {
    display: inline-block;
    cursor: pointer;
}
.choice-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.choice-option span {
    display: block;
    padding: .75rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 12px;
    background: var(--card);
    color: var(--foreground);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-align: center;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.choice-option:hover span,
.choice-option input:focus-visible + span {
    background: var(--secondary);
    box-shadow: none;
}
.choice-option input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
}
.choice-submit-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    scroll-margin-top: 7rem;
}
.choice-wizard .button,
.choice-results .button {
    min-height: 44px;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
}
.choice-wizard .button { margin-inline: auto; }
.choice-results {
    scroll-margin-top: 7rem;
}
.choice-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}
.result-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    text-align: left;
    box-shadow: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.result-card:hover {
    border-color: color-mix(in oklch, var(--primary) 40%, transparent);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
}
.result-card__top {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1rem;
    align-items: center;
}
.result-card__image-link {
    display: block;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--secondary);
}
.result-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.result-card__heading {
    display: grid;
    justify-items: start;
    gap: .5rem;
    min-width: 0;
}
.result-card h3 {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
}
.result-card h3 a {
    color: inherit;
    text-decoration: none;
}
.result-card h3 a:hover {
    color: var(--primary);
}
.result-card__body {
    display: grid;
    gap: .75rem;
}
.result-card__body p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: .9375rem;
    line-height: 1.6;
}
.result-card__body ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--foreground);
}
.result-card__body li + li {
    margin-top: .35rem;
}
.result-card .button {
    align-self: flex-start;
    margin-top: auto;
}

/* Sectie 5: rasprofielpagina (hero, kerngegevens-paneel, score-meters). */
.muted { color: var(--muted-foreground); }
.italic { font-style: italic; }
.eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    letter-spacing: 0;
    text-transform: none;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
    color: var(--muted-foreground);
    font-size: .875rem;
    line-height: 1.25rem;
}
.breadcrumbs a { color: var(--muted-foreground); text-decoration: none; }
.breadcrumbs a:hover { color: var(--foreground); }
.breadcrumbs > * + *::before { content: "/"; margin-right: .5rem; color: var(--border); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: .25rem .75rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
}
.chip.outline { border-color: var(--border); background: var(--card); color: var(--muted-foreground); }
.page-hero, .profile-hero {
    padding-block: 4rem;
    border-bottom: 1px solid var(--border);
    background: color-mix(in oklch, var(--card) 50%, transparent);
}
.page-hero h1, .profile-hero h1 {
    max-width: 48rem;
    margin: .5rem 0 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.05;
    text-wrap: balance;
}
.page-hero p:not(.eyebrow):not(.muted),
.profile-hero p:not(.eyebrow):not(.muted) {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: var(--muted-foreground);
    font-size: 1.0625rem;
    line-height: 1.75;
}
.profile-grid, .profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
.profile-gallery { display: grid; gap: .85rem; align-self: center; }
.profile-mark {
    display: grid;
    min-height: 20rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 2.2);
    background: var(--card);
}
.profile-mark img { width: min(58%, 18rem); opacity: .82; }
.profile-mark.has-image { display: block; padding: 0; }
.profile-mark.has-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    opacity: 1;
    object-fit: cover;
}
.profile-main-trigger { display: block; width: 100%; height: 100%; min-height: 20rem; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.profile-main-trigger:focus-visible { outline: 3px solid color-mix(in oklch, var(--primary) 48%, transparent); outline-offset: -3px; }
.profile-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: .55rem; max-width: 100%; }
.profile-thumb {
    aspect-ratio: 1 / 1;
    min-width: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--secondary);
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
}
.profile-thumb:hover,
.profile-thumb:focus-visible { border-color: color-mix(in oklch, var(--primary) 48%, transparent); outline: none; }
.profile-thumb.is-active { border-color: var(--primary); }
.profile-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.inpage-nav {
    position: sticky;
    top: 64px;
    z-index: 4;
    border-bottom: 1px solid var(--border);
    background: color-mix(in oklch, var(--background) 90%, transparent);
    backdrop-filter: blur(12px);
    overflow-x: auto;
}
.inpage-nav .container { display: flex; gap: .5rem; padding-block: .75rem; }
.inpage-nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: .375rem .75rem;
    border-radius: 999px;
    color: var(--muted-foreground);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.inpage-nav a:hover,
.inpage-nav a.is-active { background: var(--secondary); color: var(--foreground); }
.fact-panel {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    box-shadow: none;
}
.fact-panel h2 {
    margin: 0 0 1rem;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.1;
}
.fact-panel dl { display: grid; gap: .5rem; }
.fact-panel dt { color: var(--foreground); font-weight: 600; }
.fact-panel dd { margin: 0 0 .75rem; color: var(--muted-foreground); }
.score {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    align-items: center;
    margin: 1rem 0 0;
    color: var(--muted-foreground);
}
.score strong { color: var(--foreground); font-weight: 600; }
.score meter { grid-column: 1 / -1; width: 100%; height: .7rem; accent-color: var(--primary); }
body.profile-lightbox-open { overflow: hidden; }
.profile-lightbox[hidden] { display: none; }
.profile-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem); background: rgba(20, 25, 22, .68); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.profile-lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; }
.profile-lightbox__image { display: block; max-width: min(1100px, calc(100vw - 2rem)); max-height: calc(100vh - 6rem); border-radius: 8px; object-fit: contain; background: var(--secondary); box-shadow: 0 24px 80px rgba(0, 0, 0, .34); }
.profile-lightbox__button { position: fixed; z-index: 1001; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--foreground); cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.profile-lightbox__button:hover,
.profile-lightbox__button:focus-visible { background: var(--card); outline: 3px solid rgba(255,255,255,.42); outline-offset: 2px; transform: none; }
.profile-lightbox__close { top: 1rem; right: 1rem; }
.profile-lightbox__close:hover,
.profile-lightbox__close:focus-visible { transform: none; }
.profile-lightbox__prev,
.profile-lightbox__next { top: 50%; transform: translateY(-50%); font-size: 1.8rem; line-height: 1; }
.profile-lightbox__prev:hover,
.profile-lightbox__prev:focus-visible,
.profile-lightbox__next:hover,
.profile-lightbox__next:focus-visible { transform: translateY(-50%); }
.profile-lightbox__prev { left: 1rem; }
.profile-lightbox__next { right: 1rem; }
.profile-lightbox__counter { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); min-width: 4.5rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--foreground); text-align: center; font-size: .875rem; font-weight: 800; }

/* Sectie 6: footer. */
.site-footer--home {
    margin-top: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    background: color-mix(in oklch, var(--secondary) 40%, transparent);
    color: var(--foreground);
}
.v0-footer__inner { padding-block: 3rem; }
.v0-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.v0-footer__brand { display: flex; align-items: center; gap: .5rem; color: var(--foreground); text-decoration: none; }
.v0-footer__brand .brand-icon { display: block; width: 32px; height: 32px; object-fit: contain; filter: none; opacity: 1; }
.v0-footer__brand > span { display: inline; color: var(--foreground); font-family: var(--font-serif); font-size: 1rem; font-weight: 600; line-height: 1.5rem; }
.v0-footer__grid p { max-width: 20rem; margin: .75rem 0 0; color: var(--muted-foreground); font-size: .875rem; line-height: 1.625; }
.v0-footer__grid h3 { margin: 0; color: var(--foreground); font-family: var(--font-sans); font-size: .875rem; font-weight: 600; line-height: 1.25rem; }
.v0-footer__grid ul { display: grid; gap: .5rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.v0-footer__grid li { margin: 0; }
.v0-footer__grid a:not(.v0-footer__brand) { color: var(--muted-foreground); font-size: .875rem; text-decoration: none; }
.v0-footer__grid a:not(.v0-footer__brand):hover { color: var(--foreground); }
.v0-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.v0-footer__bottom p { margin: 0; color: var(--muted-foreground); font-size: .75rem; line-height: 1rem; }
.cookie-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 10px 40px -12px rgba(0,0,0,.25);
    z-index: 20;
}
.cookie-bar p { margin: 0 auto 0 0; }

/* Sectie 7: resterende publieke onderdelen. */
.section { padding-block: 4rem; }
.entity-card, .inline-item, details {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    box-shadow: none;
}
.entity-card { overflow: hidden; transition: border-color 200ms ease, box-shadow 200ms ease; }
.entity-card:hover,
.inline-item:hover {
    border-color: color-mix(in oklch, var(--primary) 40%, transparent);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
}
.entity-card a {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: .75rem;
    color: var(--foreground);
    text-decoration: none;
}
.entity-card h3,
.inline-item h3 {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0;
}
.entity-card h3 { font-size: 1.25rem; line-height: 1.25; }
.entity-card p,
.inline-item p,
.rich-text p,
.rich-text li {
    color: var(--muted-foreground);
    line-height: 1.625;
}
.animal-card__media {
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    margin-bottom: .25rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--secondary);
    overflow: hidden;
}
.animal-card__media img { width: 34%; height: 34%; opacity: .72; object-fit: contain; }
.animal-card__media.has-image img,
.animal-card__media .animal-card__image { width: 100%; height: 100%; opacity: 1; object-fit: cover; }
.animal-card__media.has-image img.animal-card__placeholder,
.animal-card__media .animal-card__placeholder { width: 75%; height: 75%; object-fit: contain; }
.animal-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; color: var(--muted-foreground); font-size: .75rem; line-height: 1rem; }
.text-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .25rem;
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
}
details { padding: 1rem 1.5rem; margin: .75rem 0; }
summary { font-weight: 850; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.narrow { width: min(100% - 2 * clamp(1rem, 3vw, 2.5rem), 760px); }

.profile-content h2,
.rich-text h2 {
    margin: 0 0 1rem;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.1;
}
.rich-text h2 { margin-top: 3rem; }
.profile-content section + section { margin-top: 3rem; }
.rich-text { font-size: 1rem; }
.rich-text p, .rich-text li { max-width: 68ch; }

.medical-note, .affiliate-note {
    padding: 1.5rem;
    border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--border));
    border-radius: calc(var(--radius) * 1.8);
    background: color-mix(in oklch, var(--accent) 10%, var(--card));
}
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); }
.table-wrap table { width: 100%; border-collapse: collapse; background: var(--card); }
.table-wrap th,
.table-wrap td { padding: .875rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--secondary); color: var(--foreground); font-size: .875rem; font-weight: 600; }

.home-section,
.choice-band,
.trust-panel {
    padding-block: 4rem;
    border-top: 1px solid var(--border);
}
.home-section--soft { background: color-mix(in oklch, var(--card) 50%, transparent); }
.section-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
}
.section-link:hover { text-decoration: underline; }

.choice-band { background: var(--primary); color: var(--primary-foreground); }
.choice-band__grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2rem; }
.choice-band .section-kicker,
.choice-band h2 { color: var(--primary-foreground); }
.choice-band p { max-width: 36rem; margin: 1rem 0 0; color: color-mix(in oklch, var(--primary-foreground) 85%, transparent); line-height: 1.625; }
.choice-band .chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.choice-band .chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: .25rem .75rem;
    border: 1px solid color-mix(in oklch, var(--primary-foreground) 25%, transparent);
    border-radius: 999px;
    background: transparent;
    color: var(--primary-foreground);
    font-size: .875rem;
    font-weight: 400;
}
.choice-band__button {
    display: inline-flex;
    width: fit-content;
    height: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 0 1.75rem;
    border: 0;
    border-radius: 12px;
    background: var(--primary-foreground);
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
}
.choice-band__button:hover { background: var(--primary-foreground); color: var(--primary); opacity: .9; }

.home-callout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}
.home-callout > div { max-width: 36rem; }
.home-callout p:not(.section-kicker) { margin: 1rem 0 0; color: var(--muted-foreground); line-height: 1.625; }
.home-callout > .button {
    display: inline-flex;
    height: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    padding: 0 1.5rem;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
}
.home-callout > .button:hover { background: color-mix(in oklch, var(--primary) 90%, transparent); color: var(--primary-foreground); }

.knowledge-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    text-decoration: none;
    transition: border-color 200ms ease;
}
.knowledge-card:hover { border-color: color-mix(in oklch, var(--primary) 40%, transparent); color: var(--foreground); }
.knowledge-card .soft-pill--small {
    min-height: 24px;
    gap: .375rem;
    padding: .25rem .625rem;
    border: 0;
    background: var(--secondary);
    color: var(--secondary-foreground);
}
.knowledge-card strong {
    margin-top: 1rem;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.375;
}
.knowledge-card > span:last-child { flex: 1 1 auto; margin-top: .5rem; color: var(--muted-foreground); font-size: .875rem; line-height: 1.625; }

.trust-panel { background: color-mix(in oklch, var(--secondary) 40%, transparent); }
.trust-panel__content { display: flex; max-width: 56rem; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.trust-panel .rk-card-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: calc(var(--radius) * 1.8); }
.trust-panel .rk-card-icon .lucide-icon { width: 24px; height: 24px; }
.trust-panel h2 {
    margin: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
}
.trust-panel p:not(.section-kicker) { max-width: 42rem; margin: 0; color: var(--muted-foreground); line-height: 1.625; }

.animal-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.animal-choice-card {
    position: relative;
    display: grid;
    min-height: 8.5rem;
    gap: 1rem;
    align-content: start;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.8);
    background: var(--card);
    color: var(--foreground);
    text-decoration: none;
    box-shadow: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.animal-choice-card:hover {
    border-color: color-mix(in oklch, var(--primary) 40%, transparent);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,.15);
}
.animal-choice-card:focus-within {
    outline: 3px solid color-mix(in oklch, var(--primary) 34%, transparent);
    outline-offset: 4px;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}
.animal-choice-card__head { display: flex; align-items: center; gap: 1rem; min-width: 0; color: inherit; text-decoration: none; }
.animal-choice-card .rk-card-icon {
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    color: var(--primary);
    transition: background 200ms ease, color 200ms ease;
}
.animal-choice-card:hover .rk-card-icon,
.animal-choice-card:focus-within .rk-card-icon { background: var(--primary); color: var(--primary-foreground); }
.animal-choice-card h2 {
    margin: 0;
    min-width: 0;
    color: var(--foreground);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}
.animal-choice-card__range { max-width: 100%; margin: 0; color: var(--muted-foreground); font-size: .875rem; line-height: 1.5; }
.animal-choice-card__range a { color: var(--primary); font-weight: 500; text-decoration: none; }
.animal-choice-card__range a:hover { text-decoration: underline; text-underline-offset: .18em; }
.animal-choice-card__link {
    display: inline-flex;
    width: fit-content;
    flex: 0 0 auto;
    min-height: 30px;
    align-items: center;
    gap: .25rem;
    justify-self: end;
    margin-top: .15rem;
    margin-left: auto;
    padding: .25rem .75rem;
    border-radius: 999px;
    background: var(--secondary);
    color: var(--primary);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
    transition: background 200ms ease, color 200ms ease;
}
.animal-choice-card:hover .animal-choice-card__link,
.animal-choice-card:focus-within .animal-choice-card__link { background: var(--primary); color: var(--primary-foreground); text-decoration: none; }
.animal-choice-card__link .lucide-icon { transition: transform 180ms ease; }
.animal-choice-card:hover .animal-choice-card__link .lucide-icon,
.animal-choice-card:focus-within .animal-choice-card__link .lucide-icon { transform: translateX(3px); }

.compare-page { display: grid; gap: 2rem; }
.compare-builder {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: color-mix(in oklch, var(--card) 86%, transparent);
    box-shadow: 0 8px 24px rgba(16, 39, 31, .06);
}
.compare-search { display: grid; gap: .5rem; max-width: 720px; }
.compare-search label { color: var(--foreground); font-weight: 850; }
.compare-search__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.compare-search__row input { min-height: 48px; }
.compare-search__row button { min-width: 116px; }
.compare-selection { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: .75rem; }
.compare-selection-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    min-width: 0;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.8);
    background: var(--card);
}
.compare-selection-card__image { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: calc(var(--radius) * 0.6); background: var(--secondary); }
.compare-selection-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare-selection-card span { display: block; color: var(--muted-foreground); font-size: .75rem; font-weight: 750; }
.compare-selection-card strong { display: block; margin-top: .15rem; line-height: 1.2; }
.compare-selection-card strong a { color: var(--foreground); text-decoration: none; }
.compare-remove { color: var(--destructive); font-size: .875rem; font-weight: 800; text-decoration: none; }
.compare-suggestions { display: grid; gap: .5rem; }
.compare-suggestions .eyebrow { margin-bottom: 0; }
.compare-table table { min-width: 760px; }
.compare-table th:first-child,
.compare-table td:first-child { position: sticky; left: 0; z-index: 1; width: 190px; background: var(--secondary); }
.compare-table__animal { display: grid; gap: .5rem; min-width: 132px; color: var(--foreground); text-decoration: none; }
.compare-table__animal img {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: calc(var(--radius) * 0.6);
    object-fit: cover;
    background: var(--secondary);
}
.compare-table__animal span { font-weight: 850; line-height: 1.2; }

.rk-autocomplete-form { position: relative; }
.rk-autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .45rem);
    z-index: 80;
    display: grid;
    gap: 0;
    max-height: min(24rem, calc(100vh - 8rem));
    overflow-y: auto;
    padding: .3rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.8);
    background: var(--card);
    box-shadow: 0 18px 50px rgba(16, 39, 31, .09);
}
.rk-autocomplete-list[hidden] { display: none; }
.header-search .rk-autocomplete-list { left: auto; width: min(28rem, calc(100vw - 2rem)); }
.rk-autocomplete-option {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: .36rem .58rem;
    border: 0;
    border-radius: calc(var(--radius) * 0.6);
    background: transparent;
    color: var(--foreground);
    text-decoration: none;
    text-align: left;
    justify-content: start;
    justify-items: start;
    line-height: 1.2;
    box-shadow: none;
    cursor: pointer;
}
.rk-autocomplete-option + .rk-autocomplete-option {
    border-top: 1px dashed color-mix(in oklch, var(--border) 86%, var(--primary) 14%);
}
.rk-autocomplete-option:hover,
.rk-autocomplete-option.is-active {
    background: color-mix(in oklch, var(--secondary) 86%, var(--primary) 14%);
    color: var(--primary);
    border-color: transparent;
}
.rk-autocomplete-option:focus { outline: none; }
.rk-autocomplete-thumb { width: 52px; height: 52px; border-radius: calc(var(--radius) * 0.6); object-fit: cover; background: var(--secondary); }
.rk-autocomplete-thumb.is-placeholder { padding: .35rem; object-fit: contain; }
.rk-autocomplete-text { display: grid; gap: .1rem; min-width: 0; }
.rk-autocomplete-name {
    overflow: hidden;
    color: inherit;
    font-size: .875rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: normal;
    text-align: left;
}
.rk-autocomplete-group { color: var(--muted-foreground); font-size: .75rem; font-weight: 650; }

@media (max-width: 900px) {
    .animal-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .header-search .rk-autocomplete-list { left: 0; right: 0; width: auto; }
}
@media (max-width: 560px) {
    .animal-choice-grid { grid-template-columns: 1fr; }
    .animal-choice-card { min-height: 0; }
}

@media (min-width: 768px) {
    .header-grid {
        height: 64px;
        min-height: 64px;
        flex-wrap: nowrap;
    }
    .nav-toggle {
        display: none;
    }
    .main-nav {
        display: flex;
        width: auto;
        max-height: none;
        flex: 0 1 auto;
        order: 0;
        flex-direction: row;
        align-items: center;
        gap: .25rem;
        overflow: visible;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }
    .main-nav a {
        min-height: 36px;
        padding: .5rem .625rem;
        color: var(--muted-foreground);
    }
    .header-search {
        flex: 0 1 18rem;
    }
    .route-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .v0-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .home-callout {
        flex-direction: row;
        align-items: center;
    }
}
@media (max-width: 639px) {
    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .header-search {
        max-width: none;
        flex: 0 0 100%;
        flex-direction: row;
        order: 5;
        margin-bottom: .75rem;
    }
    .home-hero__inner {
        padding-block: 3rem;
    }
    .home-hero__copy > p:not(.soft-pill) {
        font-size: 1rem;
        line-height: 1.625;
    }
    .home-search {
        max-width: 100%;
    }
    .home-search input {
        font-size: .8125rem;
    }
    .home-search button {
        padding-inline: .75rem;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-card__meta {
        gap: .75rem;
    }
    .filter-form {
        grid-template-columns: 1fr;
        align-items: flex-start;
        flex-direction: column;
    }
    .choice-submit-card {
        align-items: stretch;
        flex-direction: column;
    }
    .choice-submit-card .button {
        width: 100%;
    }
    .page-hero,
    .profile-hero {
        padding-block: 3rem;
    }
    .page-hero h1,
    .profile-hero h1 {
        font-size: 2.25rem;
    }
    .choice-band__button {
        width: 100%;
    }
    .compare-search__row {
        grid-template-columns: 1fr;
    }
    .compare-search__row button {
        width: 100%;
    }
    .compare-selection-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .compare-selection-card__image {
        width: 64px;
        height: 64px;
    }
    .compare-remove {
        grid-column: 2;
        width: fit-content;
    }
    .compare-table table {
        min-width: 680px;
    }
    .compare-table th:first-child,
    .compare-table td:first-child {
        width: 150px;
    }
}
@media (max-width: 1024px) {
    .filter-form {
        grid-template-columns: 1fr;
    }
    .profile-grid,
    .profile-layout {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }
    .home-hero__copy h1 {
        font-size: 3rem;
    }
    .section-heading h2,
    .choice-band h2,
    .home-callout h2 {
        font-size: 2.25rem;
    }
    .tile-grid,
    .card-grid,
    .knowledge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .v0-footer__bottom {
        flex-direction: row;
        align-items: center;
    }
}
@media (min-width: 1024px) {
    .home-hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 4rem;
        padding-block: 6rem;
    }
    .home-hero__copy h1 {
        font-size: 3.75rem;
    }
    .home-hero__visual {
        margin-top: 0;
    }
    .tile-grid,
    .card-grid,
    .knowledge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .profile-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr);
        align-items: center;
        gap: 4rem;
    }
    .profile-layout {
        grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr);
        align-items: start;
        gap: 4rem;
    }
    .choice-band__grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
    .choice-band__button {
        justify-self: end;
    }
}
