/* MyBreeder
   Warm and friendly: butter-cream ground, garden green, sunshine yellow
   and peach, with the animals themselves doing most of the work.
   Red is kept for one job only, which is warning the buyer. */

:root {
    --cream: #FFF8EC;
    --blush: #FFEBDD;
    --peach: #FFD3BD;
    --sun: #FFC940;
    --green: #1F7A54;
    --green-deep: #175E41;
    --forest: #1D3B30;
    --red: #C8323C;
    --moss: #5C6B62;
    --line: #EADFCB;
    --white: #FFFFFF;

    --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --body: 'Figtree', 'Segoe UI', sans-serif;

    --step--1: 0.9rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: 1.625rem;
    --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
    --step-4: clamp(2.6rem, 5.6vw, 4.4rem);

    --radius: 22px;
    --radius-big: 34px;
    --radius-small: 12px;
    --lift: 0 2px 4px rgba(64, 44, 20, 0.05), 0 14px 34px -14px rgba(64, 44, 20, 0.22);
    --lift-big: 0 4px 8px rgba(64, 44, 20, 0.06), 0 28px 60px -22px rgba(64, 44, 20, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--body);
    font-size: var(--step-0);
    line-height: 1.55;
    color: var(--forest);
    background: var(--cream);
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 0;
    text-wrap: balance;
}

h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: var(--step-3); letter-spacing: -0.025em; }
h3 { font-size: var(--step-1); }

p { margin: 0; }
p + p { margin-top: 0.75em; }

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

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-deep); }

:focus-visible {
    outline: 3px solid var(--forest);
    outline-offset: 3px;
    border-radius: 6px;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
    width: min(100% - 2.5rem, 74rem);
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--sun);
    color: var(--forest);
    padding: 0.6rem 1rem;
    z-index: 10;
}
.skip:focus { left: 0; }

.lede { font-size: var(--step-1); max-width: 34em; }
.muted { color: var(--moss); }

/* Buttons */

.button {
    display: inline-block;
    font: 700 var(--step-0)/1.2 var(--body);
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    border: 2px solid var(--green);
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.button:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); transform: translateY(-2px); }
.button--sun { background: var(--sun); border-color: var(--sun); color: var(--forest); }
.button--sun:hover { background: #FFD666; border-color: #FFD666; color: var(--forest); }
.button--quiet { background: var(--white); border-color: var(--line); color: var(--forest); }
.button--quiet:hover { background: var(--white); border-color: var(--forest); color: var(--forest); }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }

/* Pills */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--step--1);
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #E3F3EA;
    color: var(--green-deep);
}
.pill--plain { background: var(--blush); color: var(--forest); }
.pill--warn { background: #FBE0E1; color: #9E1F28; }
.pill--tick::before {
    content: '';
    width: 1rem; height: 1rem; border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Header */

.site-header { background: var(--cream); position: relative; z-index: 2; }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5rem;
    flex-wrap: wrap;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font: 800 1.6rem/1 var(--display);
    letter-spacing: -0.035em;
    color: var(--forest);
    text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 0.35rem; }
.site-nav a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 999px;
}
.site-nav a:hover { background: var(--blush); color: var(--forest); }
.site-nav a[aria-current="page"] { background: var(--sun); }
.site-nav a.site-nav__cta { background: var(--green); color: var(--white); margin-left: 0.5rem; }
.site-nav a.site-nav__cta:hover { background: var(--green-deep); }
.nav-toggle {
    display: none;
    font: 700 var(--step-0) var(--body);
    background: var(--white);
    border: 2px solid var(--forest);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    color: var(--forest);
    cursor: pointer;
}

@media (max-width: 58rem) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: 100%;
        padding-bottom: 1rem;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a.site-nav__cta { margin-left: 0; text-align: center; }
}

/* Rosette: the score badge used everywhere */

.rosette { flex: none; display: block; filter: drop-shadow(0 4px 6px rgba(64, 44, 20, 0.25)); }
.rosette__num { font: 800 30px/1 var(--display); letter-spacing: -0.03em; }
.rosette__num--small { font-size: 17px; }
.rosette__ring { fill: none; stroke-width: 1.5; stroke-dasharray: 2 3; }

.rosette--gold .rosette__petals, .rosette--gold .rosette__tails { fill: #E9A513; }
.rosette--gold .rosette__disc { fill: var(--sun); }
.rosette--gold .rosette__ring { stroke: var(--forest); }
.rosette--gold .rosette__num { fill: var(--forest); }

.rosette--blue .rosette__petals, .rosette--blue .rosette__tails { fill: #57B48C; }
.rosette--blue .rosette__disc { fill: var(--green); }
.rosette--blue .rosette__ring { stroke: var(--white); }
.rosette--blue .rosette__num { fill: var(--white); }

.rosette--grey .rosette__petals, .rosette--grey .rosette__tails { fill: #A9B3AC; }
.rosette--grey .rosette__disc { fill: var(--moss); }
.rosette--grey .rosette__ring { stroke: var(--white); }
.rosette--grey .rosette__num { fill: var(--white); }

.rosette--red .rosette__petals, .rosette--red .rosette__tails { fill: #E4777E; }
.rosette--red .rosette__disc { fill: var(--red); }
.rosette--red .rosette__ring { stroke: var(--white); }
.rosette--red .rosette__num { fill: var(--white); }

.rosette--none .rosette__petals, .rosette--none .rosette__tails { fill: var(--line); }
.rosette--none .rosette__disc { fill: var(--white); }
.rosette--none .rosette__ring { stroke: var(--moss); }
.rosette--none .rosette__num { fill: var(--moss); }

/* Hero */

.hero { overflow: hidden; }
.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    padding-block: 2.5rem 5.5rem;
}
.hero h1 { max-width: 12em; }
.hero .lede { margin-top: 1.4rem; color: #3F5248; }

.lookup {
    margin-top: 2rem;
    background: var(--white);
    border-radius: 28px;
    padding: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 38rem;
    box-shadow: var(--lift);
    position: relative;
}
.lookup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lookup input, .lookup select {
    font: 500 var(--step-0) var(--body);
    color: var(--forest);
    border: 0;
    border-radius: 999px;
    background: var(--cream);
    padding: 0.9rem 1.2rem;
    min-width: 0;
}
.lookup input { flex: 1 1 12rem; }
.lookup select { flex: 1 1 8.5rem; }
.lookup .button { flex: 1 0 auto; }

.hero__hint { margin-top: 1.1rem; font-size: var(--step--1); color: var(--moss); }

.hero__art { position: relative; padding: 0 1.5rem 2.5rem 0; }
.hero__art::before {
    content: '';
    position: absolute;
    right: -3rem; top: -2rem;
    width: 78%; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--sun);
}
.hero__art::after {
    content: '';
    position: absolute;
    left: -2.5rem; bottom: 0.5rem;
    width: 42%; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--peach);
}
.hero__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 5 / 5.4;
    object-fit: cover;
    border-radius: 46% 54% 44% 56% / 42% 40% 60% 58%;
    box-shadow: var(--lift-big);
}
.hero__card {
    position: absolute;
    z-index: 2;
    left: -1.5rem; bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.9rem 1.3rem 0.9rem 0.9rem;
    box-shadow: var(--lift-big);
    color: var(--forest);
    text-decoration: none;
    max-width: 21rem;
    animation: settle 0.7s cubic-bezier(0.2, 1.3, 0.4, 1) 0.3s both;
}
.hero__card:hover { color: var(--forest); }
.hero__card strong { display: block; font: 700 var(--step-1)/1.15 var(--display); }
.hero__card span { font-size: var(--step--1); color: var(--moss); }
.hero__chip {
    position: absolute;
    z-index: 2;
    right: 0; top: 1.5rem;
    background: var(--white);
    box-shadow: var(--lift);
    padding: 0.55rem 1rem;
}

@keyframes settle {
    from { transform: translateY(18px) rotate(-3deg); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__card { animation: none; } }

@media (max-width: 60rem) {
    .hero__inner { grid-template-columns: 1fr; gap: 3rem; padding-block: 1.5rem 4rem; }
    .hero__art { max-width: 30rem; margin-inline: auto; width: 100%; padding-right: 0; }
    .hero__card { left: 0; }
}

/* Check list (ticks and crosses) */

.checklist { margin-top: 1rem; display: grid; gap: 0.55rem; font-size: var(--step--1); }
.checklist li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.55rem; align-items: start; }
.checklist li::before {
    content: '';
    width: 1.3rem; height: 1.3rem; margin-top: 0.05rem;
    border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist li.is-missing { color: var(--moss); }
.checklist li.is-missing::before {
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7-7 7' fill='none' stroke='%235C6B62' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    box-shadow: inset 0 0 0 1.5px var(--moss);
}

/* Sections */

.section { padding-block: 4.75rem; }
.section--tight { padding-block: 0 4.75rem; }
.section--blush { background: var(--blush); }
.section--white { background: var(--white); }
.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}
.section__head p { max-width: 34em; margin-top: 0.7rem; color: var(--moss); }

/* Animal type tiles */

.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.types a {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--lift);
}
.types img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.types a:hover img { transform: scale(1.06); }
.types a::after {
    content: '';
    position: absolute; inset: 40% 0 0 0;
    background: linear-gradient(to top, rgba(20, 35, 28, 0.85), rgba(20, 35, 28, 0));
}
.types__label { position: absolute; z-index: 1; left: 1.1rem; right: 1rem; bottom: 1rem; }
.types__label strong { display: block; font: 700 var(--step-2)/1.1 var(--display); letter-spacing: -0.02em; }
.types__label span { font-size: var(--step--1); opacity: 0.9; }
@media (max-width: 56rem) { .types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 34rem) {
    .types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
    .types li:first-child { grid-column: 1 / -1; }
    .types li:first-child a { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .types img { transition: none; } .types a:hover img { transform: none; } }

/* Breeder cards */

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 68rem) { .cards, .cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .cards, .cards--three { grid-template-columns: 1fr; } }

.card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--lift);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--lift-big); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
.card__photo { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--blush); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.card__body h3 a { color: var(--forest); text-decoration: none; }
.card__body h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card__breeds { font-weight: 600; }
.card__place { color: var(--moss); font-size: var(--step--1); }
.card__facts { margin-top: auto; padding-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card--flagged { box-shadow: 0 0 0 2px var(--red), var(--lift); }

/* Warning signs */

.flags { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4rem; align-items: center; }
.flags .lede { color: #3F5248; margin-top: 1rem; }
.flags .button { margin-top: 1.75rem; }
.flags__list { background: var(--white); border-radius: var(--radius-big); padding: 1rem 2rem; box-shadow: var(--lift); }
.flags__list li {
    padding: 1.05rem 0 1.05rem 2.6rem;
    border-bottom: 1px solid var(--line);
    position: relative;
    font-weight: 600;
}
.flags__list li:last-child { border-bottom: 0; }
.flags__list li::before {
    content: '!';
    position: absolute; left: 0; top: 1rem;
    width: 1.7rem; height: 1.7rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #FBE0E1;
    color: var(--red);
    font: 800 1rem/1 var(--display);
}
@media (max-width: 56rem) { .flags { grid-template-columns: 1fr; gap: 2rem; } }

/* Reviews */

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 60rem) { .quotes { grid-template-columns: 1fr; } }

.review { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--lift); }
.review__top { display: flex; align-items: center; gap: 0.8rem; }
.review__thumb { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; flex: none; }
.review__who { flex: 1; min-width: 0; font-weight: 700; line-height: 1.25; }
.review__who a { color: var(--forest); text-decoration: none; }
.review__who a:hover { text-decoration: underline; }
.review__who span { display: block; font-weight: 500; font-size: var(--step--1); color: var(--moss); }
.review__score {
    font: 800 var(--step-1)/1 var(--display);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--blush);
    color: var(--forest);
}
.review__score--gold { background: var(--sun); }
.review__score--blue { background: var(--green); color: var(--white); }
.review__score--grey { background: var(--moss); color: var(--white); }
.review__score--red  { background: var(--red); color: var(--white); }
.review h3 { margin-top: 1.1rem; }
.review__body { margin-top: 0.6rem; }
.review__meta { margin-top: 0.9rem; font-size: var(--step--1); color: var(--moss); }
.review__dims { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.review + .review { margin-top: 1.25rem; }
.quotes .review + .review { margin-top: 0; }

/* Steps: a real sequence, so they are numbered */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--lift); }
.steps li::before {
    content: counter(step);
    display: grid; place-items: center;
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: var(--sun);
    font: 800 var(--step-1) var(--display);
    margin-bottom: 1.1rem;
}
.steps p { margin-top: 0.5rem; color: var(--moss); }
@media (max-width: 56rem) { .steps { grid-template-columns: 1fr; } }

/* Call to action for breeders */

.pitch {
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-big);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    overflow: hidden;
}
.pitch__text { padding: 3.25rem; align-self: center; }
.pitch__text p { max-width: 30em; margin-top: 0.9rem; color: #DDF1E7; }
.pitch__text .button { margin-top: 1.75rem; }
.pitch img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
@media (max-width: 52rem) {
    .pitch { grid-template-columns: 1fr; }
    .pitch__text { padding: 2.25rem; }
    .pitch img { max-height: 16rem; }
}

/* Page heads for inner pages */

.page-head { background: var(--blush); padding-block: 3rem 3.5rem; border-radius: 0 0 var(--radius-big) var(--radius-big); }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 16em; }
.page-head .lede { margin-top: 1rem; color: #3F5248; }
.crumb { font-size: var(--step--1); margin-bottom: 1.25rem; }

/* Directory */

.directory { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); gap: 2.5rem; padding-block: 3rem 5rem; align-items: start; }
@media (max-width: 56rem) { .directory { grid-template-columns: 1fr; gap: 2rem; } }

.filters { background: var(--white); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1.1rem; box-shadow: var(--lift); }
.filters h2 { font-size: var(--step-1); letter-spacing: -0.015em; }
.filters .button { width: 100%; text-align: center; }
.filters__clear { font-size: var(--step--1); text-align: center; }

.results__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.results__bar h2 { font-size: var(--step-2); }

.empty { background: var(--white); border: 2px dashed var(--peach); border-radius: var(--radius); padding: 2.5rem; }
.empty p { margin-top: 0.6rem; max-width: 34em; }
.empty .button { margin-top: 1.25rem; }

/* Forms */

.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 700; padding: 0; }
.field__hint { font-size: var(--step--1); color: var(--moss); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="search"],
.field input[type="number"], .field select, .field textarea {
    font: 500 var(--step-0)/1.4 var(--body);
    color: var(--forest);
    background: var(--white);
    border: 1.5px solid #CDBFA6;
    border-radius: var(--radius-small);
    padding: 0.75rem 0.95rem;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { min-height: 9rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red); background: #FDF1F1; }
.field__error { color: var(--red); font-weight: 600; font-size: var(--step--1); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem; }
.field--check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--green); }
.field--check label { font-weight: 500; }
.field--check .field__error { grid-column: 2; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.form-page { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; padding-block: 3rem 5rem; align-items: start; }
@media (max-width: 56rem) { .form-page { grid-template-columns: 1fr; gap: 2rem; } }
.form { display: grid; gap: 1.4rem; background: var(--white); border-radius: var(--radius-big); padding: 2.5rem; box-shadow: var(--lift); }
@media (max-width: 36rem) { .form { padding: 1.5rem; } }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 36rem) { .form__pair { grid-template-columns: 1fr; } }
.form h2 { font-size: var(--step-2); margin-top: 1rem; padding-top: 1.9rem; border-top: 1px solid var(--line); }
.form h2:first-child, .form .notice + h2 { margin-top: 0; padding-top: 0; border-top: 0; }

/* 1 to 5 score picker */
.score-pick { position: relative; display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.2rem; }
.score-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.score-pick label {
    display: grid; place-items: center;
    width: 3.1rem; height: 3.1rem;
    border: 1.5px solid #CDBFA6;
    border-radius: 50%;
    background: var(--cream);
    font: 700 var(--step-1) var(--display);
    cursor: pointer;
}
.score-pick label:hover { border-color: var(--green); background: var(--white); }
.score-pick input:checked + label { background: var(--sun); border-color: var(--sun); }
.score-pick input:focus-visible + label { outline: 3px solid var(--forest); outline-offset: 3px; }
.score-pick__ends { display: flex; justify-content: space-between; width: 17.3rem; max-width: 100%; font-size: var(--step--1); color: var(--moss); }

.aside { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--lift); }
.aside h2 { font-size: var(--step-1); letter-spacing: -0.015em; }
.aside ul { margin-top: 0.9rem; display: grid; gap: 0.7rem; font-size: var(--step--1); }
.aside ul:not(.checklist):not(.tick-list) li { padding-left: 1.2rem; position: relative; }
.aside ul:not(.checklist):not(.tick-list) li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--sun); }
.aside + .aside { margin-top: 1.25rem; }
.aside p { font-size: var(--step--1); margin-top: 0.6rem; }
.aside--sun { background: var(--sun); box-shadow: none; }

.notice { border-radius: var(--radius); padding: 1.6rem 1.9rem; background: #E3F3EA; }
.notice h2 { font-size: var(--step-2); }
.notice p { margin-top: 0.6rem; max-width: 40em; }
.notice--error, .notice--warn { background: #FBE0E1; }

/* Breeder profile */

.profile-head { background: var(--blush); padding-block: 2rem 3.5rem; border-radius: 0 0 var(--radius-big) var(--radius-big); }
.profile-head__inner { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 3rem; align-items: center; }
.profile-head__photo { position: relative; }
.profile-head__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-big); box-shadow: var(--lift-big); }
.profile-head__photo .rosette { position: absolute; right: -1.6rem; bottom: -1.8rem; }
.profile-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.profile-head__breeds { font-size: var(--step-1); font-weight: 600; margin-top: 0.8rem; }
.profile-head__place { color: var(--moss); margin-top: 0.2rem; }
.profile-head__pills { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-head__action { margin-top: 1.6rem; }
@media (max-width: 52rem) {
    .profile-head__inner { grid-template-columns: 1fr; gap: 3rem; }
    .profile-head__photo { max-width: 16rem; }
}

.profile { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 3rem; padding-block: 3.5rem 5rem; align-items: start; }
@media (max-width: 60rem) { .profile { grid-template-columns: 1fr; gap: 2.5rem; } }
.profile h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.profile .aside h2 { font-size: var(--step-1); margin-bottom: 0; }
.profile .notice h2 { margin-bottom: 0; }
.profile__block + .profile__block { margin-top: 3rem; }
.profile__about { max-width: 40em; font-size: var(--step-1); }

.bars { display: grid; gap: 1rem; max-width: 36rem; background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--lift); }
.bars li { display: grid; grid-template-columns: 11rem 1fr 2.2rem; gap: 0.9rem; align-items: center; }
.bars__track { height: 0.8rem; border-radius: 999px; background: var(--blush); overflow: hidden; }
.bars__fill { display: block; height: 100%; border-radius: 999px; background: var(--green); }
.bars__fill--low { background: var(--red); }
.bars b { font-family: var(--display); text-align: right; }
@media (max-width: 36rem) { .bars li { grid-template-columns: 1fr 2.2rem; } .bars__track { grid-column: 1 / -1; grid-row: 2; } }

.contact-list { margin: 0.9rem 0 0; display: grid; gap: 0.2rem; font-size: var(--step--1); }
.contact-list dt { color: var(--moss); }
.contact-list dd { margin: 0 0 0.5rem; font-weight: 600; overflow-wrap: anywhere; }

/* Guide */

.prose { padding-block: 3rem 5rem; display: grid; grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 60rem) { .prose { grid-template-columns: 1fr; } }
.prose h2 { font-size: var(--step-2); margin: 3rem 0 1.1rem; }
.prose h2:first-child { margin-top: 0; }
.prose__photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-big); margin-bottom: 2.5rem; box-shadow: var(--lift); }
.prose__list { display: grid; gap: 0; background: var(--white); border-radius: var(--radius); padding: 0.5rem 1.75rem; box-shadow: var(--lift); }
.prose__list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.prose__list li:last-child { border-bottom: 0; }
.prose__list strong { display: block; font: 700 var(--step-1)/1.2 var(--display); margin-bottom: 0.3rem; }
.tick-list { display: grid; gap: 0.7rem; }
.tick-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; }
.tick-list li::before { content: ''; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; border: 2px solid var(--forest); border-radius: 5px; background: var(--white); }
.sticky { position: sticky; top: 1.5rem; }

/* Footer */

.site-footer { background: var(--forest); color: #C7D6CD; padding-block: 4rem 3rem; font-size: var(--step--1); border-radius: var(--radius-big) var(--radius-big) 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand { font: 800 var(--step-2)/1 var(--display); color: var(--white); margin-bottom: 0.8rem; letter-spacing: -0.03em; }
.site-footer__note { margin-top: 1rem; color: #8FA79A; }
.site-footer h2 { font: 700 var(--step-0) var(--body); color: var(--white); letter-spacing: 0; margin-bottom: 0.8rem; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { color: #C7D6CD; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 52rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .site-footer__grid { grid-template-columns: 1fr; } }

.profile-head .pill--plain, .section--blush .pill--plain { background: var(--white); }
.section--blush .card .pill--plain { background: var(--blush); }
