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

:root {
    --charcoal: #1a1a1a;
    --brown: #4a3728;
    --gold: #8b6914;
    --light-gray: #e8e8e8;
    --bg: #f9f8f6;
    --border: #d4cfc8;
    --text: #2c2c2c;
    --text-muted: #6b6560;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ─── UNIVERSAL HEADER ─── */

header {
    width: 100%;
    background: var(--light-gray);
}

.site-masthead {
    width: 100%;
    background: #e8e8e8;
    overflow: hidden;
    line-height: 0;
}

.site-masthead img {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── NAV ─── */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--charcoal);
    min-height: 52px;
}

.logo {
    display: none; /* logo image is the masthead */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 0.85rem 1.1rem;
    color: #d6d0c8;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.mobile-menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
    user-select: none;
}

/* ─── HERO ─── */

.hero {
    background: linear-gradient(160deg, #2a2a2a 0%, #4a3728 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 1.5rem 4.5rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero .tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
}

.cta-button:hover {
    background: #a07a1c;
    transform: translateY(-1px);
}

/* ─── SECTIONS ─── */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.teaser {
    padding: 4rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.teaser h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--brown);
    margin-bottom: 1rem;
}

.teaser p {
    max-width: 660px;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.learn-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.learn-more:hover {
    color: var(--brown);
}

.featured {
    padding: 4rem 1.5rem;
}

.featured h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--brown);
    text-align: center;
    margin-bottom: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: #ddd;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    padding: 1rem 1rem 0.4rem;
    color: var(--charcoal);
}

.card p {
    padding: 0 1rem 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ─── FOOTER ─── */

footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.85rem;
    line-height: 2;
}

footer a {
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}

footer a:hover {
    color: #fff;
}

/* ─── PAGE HERO ─── */

.page-hero {
    background: linear-gradient(160deg, #2a2a2a 0%, #4a3728 100%);
    color: #fff;
    text-align: center;
    padding: 3.5rem 1.5rem 3rem;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 480px;
    margin: 0 auto;
}

/* ─── WAITLIST BANNER ─── */

.waitlist-banner {
    background: var(--gold);
    color: #fff;
    padding: 1rem 1.5rem;
}

.waitlist-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.waitlist-text {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 700px;
}

.waitlist-banner .cta-button {
    background: var(--charcoal);
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.65rem 1.4rem;
}

.waitlist-banner .cta-button:hover {
    background: #333;
}

/* ─── LITTER SECTIONS ─── */

.litters-section {
    padding: 4rem 1.5rem;
}

.litters-section--alt {
    background: #f2f0ec;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 2.5rem;
}

/* ─── LITTER CARD ─── */

.litter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.litter-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--gold);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    z-index: 2;
}

.litter-badge--new {
    background: #2a7a4b;
}

.litter-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.litter-image-wrap {
    overflow: hidden;
    max-height: 580px;
}

.litter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.litter-info {
    padding: 2.5rem 2rem;
}

.litter-breed-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-bottom: 0.8rem;
}

.litter-breed-tag--fcr {
    color: var(--brown);
    border-color: var(--brown);
}

.litter-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.litter-nickname {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* ─── LITTER DETAILS TABLE ─── */

.litter-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.86rem;
}

.litter-detail dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.litter-detail dd {
    color: var(--text);
    margin: 0;
}

.status-available {
    color: #2a7a4b;
    font-weight: 600;
}

/* ─── PEDIGREE ─── */

.pedigree-block {
    background: var(--light-gray);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pedigree-entry {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.84rem;
}

.pedigree-role {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
    white-space: nowrap;
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.pedigree-name {
    color: var(--charcoal);
    font-weight: 500;
    line-height: 1.4;
}

/* ─── LITTER SUMMARY ─── */

.litter-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.litter-enquire-btn {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.litter-enquire-btn:hover {
    color: var(--brown);
}

/* ─── PLACEMENT MAP ─── */

.placement-map {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.placement-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.placements {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.placement {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.5rem 0.9rem;
    gap: 0.2rem;
}

.placement--home {
    background: #f0ece3;
    border-color: var(--gold);
}

.placement-state {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brown);
}

.placement-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ─── UPCOMING LITTERS ─── */

.upcoming-section {
    padding: 4rem 1.5rem;
    background: var(--charcoal);
    color: #fff;
}

.upcoming-section .section-label {
    color: #c9a84c;
}

.upcoming-section .section-title {
    color: #fff;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.upcoming-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 2rem;
}

.upcoming-breed-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 0.5rem;
}

.upcoming-date {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.upcoming-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}

.upcoming-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.upcoming-enquire-btn {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #c9a84c;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.upcoming-enquire-btn:hover {
    color: #fff;
}

/* ─── BUYER INFO ─── */

.buyer-info-section {
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border);
}

.buyer-info-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.buyer-info-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 1rem;
}

.buyer-info-inner p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.buyer-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    text-align: left;
    margin: 0 auto 1.5rem;
    max-width: 600px;
    font-size: 0.88rem;
    color: var(--text);
}

.buyer-list li::before {
    content: "✓ ";
    color: var(--gold);
    font-weight: 700;
}

.buyer-cta-text {
    font-size: 0.95rem !important;
    color: var(--text) !important;
    margin-bottom: 1.5rem !important;
}

/* ─── MOBILE ─── */

@media (max-width: 700px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--charcoal);
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .navbar {
        position: relative;
    }

    .waitlist-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .litter-body {
        grid-template-columns: 1fr;
    }

    .litter-image-wrap {
        max-height: 320px;
    }

    .litter-info {
        padding: 1.5rem 1.2rem;
    }

    .litter-details {
        grid-template-columns: 1fr;
    }

    .buyer-list {
        grid-template-columns: 1fr;
    }

    .placements {
        gap: 0.4rem;
    }
}
