:root {
    --bg: #202124;
    --bg-soft: #26272b;
    --panel: #2b2d31;
    --line: rgba(255,255,255,0.1);
    --text: #f2efe9;
    --muted: #c7c1b6;
    --accent: #8e1b1b;
    --accent-soft: rgba(142, 27, 27, 0.18);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    --container: 1280px;
    --narrow: 760px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), var(--narrow)); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(24,25,28,0.82);
    border-bottom: 1px solid var(--line);
}
.topbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand-logo { width: 190px; height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.has-dropdown { padding-bottom: 8px; margin-bottom: -8px; }
.site-nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 0 14px; border-radius: 999px; color: var(--muted);
    font-size: .96rem; font-weight: 600;
}
.site-nav li.active > a, .site-nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.buyer-link,
.admin-link {
    min-height: 46px;
    padding: 0 18px !important;
    border-radius: 999px;
    color: var(--text) !important;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}
.admin-link {
    background: rgba(142, 27, 27, 0.14);
    border-color: rgba(142, 27, 27, 0.34);
}
.has-dropdown > a { padding-right: 36px; }
.dropdown-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px; border: 0; background: none; cursor: pointer;
}
.dropdown-toggle::before {
    content: '▾'; color: var(--muted); font-size: .8rem;
}
.dropdown-menu {
    position: absolute; top: calc(100% + 2px); left: 0; min-width: 220px; z-index: 70;
    background: rgba(30,31,35,0.98); border: 1px solid var(--line);
    border-radius: 18px; padding: 10px; display: none; box-shadow: var(--shadow);
}
.has-dropdown::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { width: 100%; border-radius: 12px; }
.nav-toggle {
    display: none; background: none; border: 0; width: 48px; height: 48px; padding: 0; cursor: pointer;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto; transition: .25s ease;
}
.hero, .page-hero {
    position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.hero {
    background: transparent;
}

.page-hero {
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: transform, background-position;
    animation: heroFloat 34s ease-in-out infinite alternate;
}

.hero-media,
.page-hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.035);
    will-change: transform, background-position;
    animation: heroFloat 34s ease-in-out infinite alternate;
}
.short-hero { min-height: 46svh; }
@keyframes heroFloat {
    0% { transform: scale(1.035) translate3d(0, 0, 0); background-position: 50% 50%; }
    50% { transform: scale(1.06) translate3d(-0.4%, -0.6%, 0); background-position: 50.8% 49.6%; }
    100% { transform: scale(1.085) translate3d(0.5%, -1%, 0); background-position: 49.6% 50.4%; }
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,12,0.16), rgba(16,17,20,0.68));
}
.hero-content, .page-hero .container { position: relative; z-index: 1; }
.eyebrow, .section-kicker {
    text-transform: uppercase; letter-spacing: .24em; font-size: .78rem; color: #dfd4c3;
}
.hero h1, .page-hero h1, .section-intro h2 {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: .06em;
    line-height: .96;
    margin: 0 0 18px;
}
.hero h1 { font-size: clamp(4rem, 10vw, 8rem); max-width: 8ch; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); max-width: 10ch; }
.hero-text { max-width: 680px; font-size: clamp(1rem, 2vw, 1.2rem); color: #f5eee3; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
    border-radius: 999px; font-weight: 700; transition: transform .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: white; }
.btn-secondary { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.12); }
.scroll-indicator {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 34px; z-index: 2;
    font-size: 2rem; color: #fff; opacity: .75;
}
.content-section { padding: 110px 0; }
.alt-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02)); }
.section-intro { margin-bottom: 36px; }
.text-block p { margin: 0 0 24px; font-size: clamp(1.04rem, 1.4vw, 1.12rem); color: #efe7da; }
.feature-image {
    margin-top: 44px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.08);
}
.feature-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.card, .portal-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.card h3, .portal-card h2, .group-title {
    font-family: "Cormorant Garamond", serif; letter-spacing: .05em; font-size: 2rem; margin: 0 0 10px;
}
.sport-kicker { margin: 0 0 8px; }
.sport-copy p:last-child { margin-bottom: 0; }
.text-link { color: #f2d1d1; font-weight: 700; }
.dogs-group + .dogs-group { margin-top: 60px; }
.dog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.dog-card {
    background: var(--panel); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow);
}
.dog-card-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #1c1d20; }
.dog-card-body { padding: 22px; }
.dog-card-body h4 { margin: 0 0 14px; font-size: 1.35rem; }
.dog-meta { list-style: none; padding: 0; margin: 0 0 12px; }
.dog-meta li { color: var(--muted); font-size: .94rem; }
.checklist ul, .portal-grid ul { padding-left: 18px; }
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.litter-summary-row {
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.litter-summary-row strong { color: var(--text); }
.litter-summary-row span, .muted-copy { color: var(--muted) !important; }
.interest-card { padding: 28px; }
.interest-card p { color: var(--muted); }
.interest-card a { color: #f2d1d1; font-weight: 700; }
.contact-card {
    margin-top: 30px;
}
.contact-card h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.contact-form {
    max-width: none;
}
.interest-form {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    max-width: 520px;
}
.interest-form label {
    display: grid;
    gap: 6px;
    color: rgba(242,239,233,0.82);
    font-weight: 700;
}
.interest-form input,
.interest-form textarea,
.interest-form select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font: inherit;
}
.interest-form input:focus,
.interest-form textarea:focus,
.interest-form select:focus {
    outline: none;
    border-color: rgba(142,27,27,0.7);
    box-shadow: 0 0 0 3px rgba(142,27,27,0.18);
}
.interest-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.interest-form button {
    justify-self: start;
    min-height: 44px;
    padding: 0 22px;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}
.interest-form button:hover { transform: translateY(-1px); background: #a32222; }
.waitlist-start {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.waitlist-start p {
    max-width: 520px;
    margin: 0 !important;
    color: var(--muted) !important;
}
.waitlist-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}
.waitlist-start-btn:hover { transform: translateY(-1px); background: #a32222; }
.waitlist-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}
.waitlist-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12,13,16,0.78);
    backdrop-filter: blur(10px);
}
.waitlist-modal-dialog {
    position: relative;
    width: min(900px, calc(100vw - 32px));
    max-height: min(88vh, 920px);
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 22px;
    background: #24262a;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.waitlist-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}
.waitlist-modal-head h3 {
    margin: 0;
    font-size: 1.55rem;
}
.waitlist-modal-kicker {
    margin: 0 0 3px !important;
    color: var(--muted) !important;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.waitlist-modal-close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}
.waitlist-modal .interest-form {
    max-width: none;
}
.waitlist-step {
    display: grid;
    gap: 12px;
}
.waitlist-step-label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.waitlist-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.interest-form .waitlist-back-btn {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
}
.interest-form .waitlist-back-btn:hover { background: rgba(255,255,255,0.12); }
.form-alert-soft { color: #f1a3a3 !important; font-weight: 700; }
.form-alert-soft.success { color: #d7f3df !important; }
.available-section { padding-bottom: 24px; }
.available-grid { display: grid; gap: 22px; }
.available-card {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0,1fr);
    gap: 22px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.available-image { border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.05); min-height: 220px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 3rem; font-family: "Cormorant Garamond", serif; }
.available-image img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.available-copy h2 { margin: 4px 0 4px; font-size: 1.9rem; }
.available-copy p { color: var(--muted); }
.available-type { display: inline-flex; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #f2d1d1; }
.available-meta { margin-top: 0; font-weight: 700; }
.available-price { color: var(--text) !important; font-weight: 800; }
.interest-panel { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }
.interest-panel summary { cursor: pointer; font-weight: 800; color: var(--text); }
.interest-panel .interest-form { max-width: none; }
.pat-slider-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 4px 0; }
.pat-slider {
    display: grid;
    grid-template-columns: minmax(210px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
}
.pat-slider-control { display: grid; gap: 8px; }
.pat-slider-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px !important;
    color: rgba(242,239,233,0.88) !important;
    font-size: .9rem;
}
.pat-slider-title strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    font-size: .78rem;
}
.pat-slider input { padding: 0; accent-color: var(--accent); }
.pat-slider-scale {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 600;
}
.pat-slider-help {
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,0.14);
    color: rgba(242,239,233,0.82) !important;
    font-size: .86rem;
    line-height: 1.35;
}
.puppy-match-form { max-width: none; }
.available-page .short-hero {
    min-height: 34svh;
    align-items: flex-end;
    padding: 96px 0 52px;
}
.available-page .page-hero h1 {
    max-width: 880px;
    margin-bottom: 10px;
}
.page-hero-copy {
    max-width: 640px;
    margin: 0;
    color: #f3eadc;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
}
.available-page .content-section {
    padding: 46px 0;
}
.available-page .available-section {
    padding-top: 42px;
    padding-bottom: 22px;
}
.available-page .breeding-section {
    padding-top: 12px;
    padding-bottom: 20px;
}
.available-page .waitlist-section {
    padding-top: 16px;
    padding-bottom: 68px;
}
.available-page-intro {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}
.available-page-intro h2,
.breeding-copy h2,
.available-empty h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.1;
}
.available-page-intro p,
.breeding-copy p,
.available-empty p {
    margin: 0;
    color: var(--muted);
}
.available-empty {
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.breeding-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
    gap: 22px;
    align-items: start;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.breeding-copy {
    display: grid;
    gap: 8px;
}
.breeding-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.breeding-checks span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: rgba(242,239,233,0.86);
    font-size: .84rem;
    font-weight: 700;
}
.litter-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.breeding-section .litter-summary-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
    margin: 0;
    padding: 13px 0;
}
.breeding-section .litter-summary-row span:not(.litter-pill),
.breeding-section .litter-summary-row small {
    grid-column: 2;
    color: var(--muted);
}
.litter-pill {
    grid-row: span 3;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(142, 27, 27, 0.18);
    color: #f2d1d1;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.site-footer { border-top: 1px solid var(--line); padding: 54px 0; background: rgba(0,0,0,0.12); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.footer-grid h3, .footer-grid h4 { margin-top: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 10px; }
.reveal {
    opacity: 0; transform: translateY(44px); transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@media (max-width: 1180px) {
    .brand-logo { width: 170px; }
    .site-nav { gap: 10px; }
    .site-nav a { padding: 0 10px; font-size: .92rem; }
}
@media (max-width: 1080px) {
    .site-nav {
        position: fixed; inset: 82px 0 auto 0; background: rgba(24,25,28,0.98);
        border-bottom: 1px solid var(--line); display: none; padding: 18px 20px 26px;
        flex-direction: column; align-items: stretch; gap: 12px;
    }
    .site-nav.open { display: flex; }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .site-nav a { width: 100%; border-radius: 14px; }
    .nav-actions { flex-direction: column; align-items: stretch; margin-left: 0; }
    .dropdown-menu { position: static; display: none; background: rgba(255,255,255,0.03); box-shadow: none; margin-top: 8px; }
    .has-dropdown.open .dropdown-menu { display: block; }
    .nav-toggle { display: block; }
    .grid-2, .dog-grid, .portal-grid, .footer-grid, .available-card, .pat-slider-grid, .pat-slider, .interest-form-grid, .breeding-panel { grid-template-columns: 1fr; }
    .hero-media, .page-hero-media, .page-hero { background-attachment: scroll; }
}
@media (max-width: 720px) {
    .content-section { padding: 80px 0; }
    .available-page .content-section { padding: 34px 0; }
    .available-page .short-hero {
        min-height: 30svh;
        padding: 82px 0 38px;
    }
    .available-page .waitlist-section { padding-bottom: 48px; }
    .available-image,
    .available-image img {
        min-height: 180px;
    }
    .breeding-checks span {
        width: 100%;
        justify-content: center;
    }
    .topbar { min-height: 74px; }
    .brand-logo { width: 150px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
    .page-hero h1 { font-size: clamp(2.3rem, 11vw, 3.7rem); }
    .waitlist-modal { align-items: stretch; padding: 12px; }
    .waitlist-modal-dialog { width: 100%; max-height: calc(100vh - 24px); padding: 18px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media, .page-hero-media, .page-hero { animation: none !important; transform: none !important; }
}
