/* ═══════════════════════════════════════════════════════════════════════════
   VelvetFields — Main Stylesheet
   Palette: #0A0A0A, #FFFFFF, #2D6A2D (forest), #7AB648 (lime), #F5F5F0
   Type: Playfair Display (display) + Inter (body)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ──────────────────────────────────────────────────── */
:root {
    --black:       #0A0A0A;
    --off-black:   #111111;
    --dark-grey:   #1C1C1C;
    --mid-grey:    #3A3A3A;
    --light-grey:  #8A8A8A;
    --rule-grey:   #2A2A2A;
    --white:       #FFFFFF;
    --off-white:   #F5F5F0;
    --cream:       #EEEEE8;

    --green-deep:  #2D6A2D;
    --green-mid:   #3D8C3D;
    --green-lime:  #7AB648;
    --green-light: #A8D470;
    --green-pale:  #E8F5D8;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --nav-h:       72px;
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;

    --shadow-card: 0 2px 20px rgba(0,0,0,0.45);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.65);

    --transition: 0.25s ease;
    --max-w: 1280px;
    --gutter: clamp(1rem, 4vw, 2rem);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--black);
    color: var(--off-white);
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.7;
    min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ─── Typography Scale ───────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-lime);
    display: block;
    margin-bottom: 0.75rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
}

.btn-green {
    background: var(--green-deep);
    color: var(--white);
    border: 2px solid var(--green-deep);
}
.btn-green:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-1px);
}

.btn-outline-green {
    background: transparent;
    color: var(--green-lime);
    border: 2px solid var(--green-lime);
}
.btn-outline-green:hover {
    background: var(--green-lime);
    color: var(--black);
}

.btn-white {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
}
.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-1px);
}

.btn-nav {
    background: var(--green-deep);
    color: var(--white);
    border: 2px solid var(--green-deep);
    padding: 0.55rem 1.25rem;
}
.btn-nav:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
}

/* ─── Layout Utilities ───────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark  { background: var(--black); }
.section-mid   { background: var(--off-black); }
.section-card  { background: var(--dark-grey); }

.section-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.centered { text-align: center; }

.divider {
    width: 60px;
    height: 3px;
    background: var(--green-lime);
    margin: 1.25rem 0;
}
.section-header.centered .divider { margin: 1.25rem auto; }

/* ─── HEADER / NAV ───────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule-grey);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark svg { flex-shrink: 0; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-lime);
    font-weight: 500;
}

/* Desktop Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--light-grey);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--green-lime);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--off-black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--off-white);
    padding: 0.5rem 2rem;
    transition: color var(--transition);
}

.mobile-nav-link:hover { color: var(--green-lime); }

.mobile-nav-cta {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green-lime);
    margin-top: 1rem;
    border: 2px solid var(--green-lime);
    padding: 0.75rem 2.5rem;
    border-radius: var(--radius-sm);
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 6vw, 6rem) var(--gutter) clamp(3rem, 6vw, 6rem) max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
    background: var(--black);
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--green-lime);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--green-lime);
}

.hero-headline {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-headline em {
    font-style: italic;
    color: var(--green-light);
}

.hero-subline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--light-grey);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--black) 0%, transparent 30%),
                linear-gradient(0deg, rgba(10,10,10,0.4) 0%, transparent 60%);
}

/* Green field stripe accent */
.hero-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green-deep), var(--green-lime), var(--green-deep));
    z-index: 10;
}

/* ─── STAT BAR ───────────────────────────────────────────────────────────── */
.stat-bar {
    background: var(--green-deep);
    padding: 1.5rem 0;
}

.stat-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* ─── INTRO / ABOUT ──────────────────────────────────────────────────────── */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text p {
    color: var(--light-grey);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.intro-text p:last-of-type { margin-bottom: 2rem; }

.intro-image-wrap {
    position: relative;
}

.intro-image-wrap img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.intro-image-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--green-deep);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.badge-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ─── CATEGORY CARDS GRID ────────────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: var(--rule-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    text-decoration: none;
    color: var(--white);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.6) saturate(0.8);
}

.category-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.5) saturate(0.9);
}

.category-card-body {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(10,10,10,0.95) 0%, transparent 100%);
    padding-top: 4rem;
}

.category-card-body::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-lime);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.category-card:hover .category-card-body::before {
    transform: scaleX(1);
}

.category-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-lime);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-lime);
    transition: gap var(--transition);
}

.category-card:hover .category-link-arrow { gap: 0.7rem; }

/* ─── ANIMAL CARDS ───────────────────────────────────────────────────────── */
.animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.animal-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.animal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green-deep);
}

.animal-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.animal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.85) saturate(0.9);
}

.animal-card:hover .animal-card-image img {
    transform: scale(1.04);
    filter: brightness(0.9) saturate(1);
}

.animal-card-body {
    padding: 1.5rem;
}

.animal-breed {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-lime);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.animal-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.animal-desc {
    font-size: 0.88rem;
    color: var(--light-grey);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.animal-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--off-white);
    line-height: 1.4;
}

.highlight-item::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-lime);
    margin-top: 0.4rem;
    flex-shrink: 0;
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────────────────── */
.page-hero {
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(0.7);
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--black) 0%, transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 5vw, 4rem);
    width: 100%;
}

.page-hero-content .container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--light-grey);
    max-width: 600px;
}

.page-hero-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-deep), var(--green-lime), var(--green-deep));
}

/* ─── POSTS / NEWS CARDS ─────────────────────────────────────────────────── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--green-deep);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.post-category {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-lime);
    font-weight: 600;
}

.post-date {
    font-size: 0.75rem;
    color: var(--light-grey);
}

.post-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.post-excerpt {
    font-size: 0.85rem;
    color: var(--light-grey);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.25rem;
}

.post-read-more {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-lime);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition);
}

.post-card:hover .post-read-more { gap: 0.7rem; }

/* ─── CONTACT SECTION ────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info p { color: var(--light-grey); margin-bottom: 2rem; }

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--green-deep);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-item-text strong {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 0.15rem;
}

.contact-item-text span, .contact-item-text a {
    font-size: 0.95rem;
    color: var(--off-white);
}

.contact-item-text a:hover { color: var(--green-lime); }

/* Contact Form */
.contact-form {
    background: var(--dark-grey);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-md);
    border: 1px solid var(--rule-grey);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--light-grey);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    color: var(--off-white);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-mid);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
    background: rgba(45,106,45,0.2);
    border: 1px solid var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    color: var(--green-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

/* ─── VALUES SECTION ─────────────────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--rule-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.value-item {
    background: var(--dark-grey);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: background var(--transition);
}

.value-item:hover { background: var(--mid-grey); }

.value-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.value-desc {
    font-size: 0.85rem;
    color: var(--light-grey);
    line-height: 1.65;
}

/* ─── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
    background: var(--green-deep);
    padding: clamp(3rem, 6vw, 5rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.02) 40px,
        rgba(255,255,255,0.02) 80px
    );
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--off-black);
    border-top: 1px solid var(--rule-grey);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--rule-grey);
}

.footer-logo-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-lime);
    margin-bottom: 1rem;
}

.footer-about {
    font-size: 0.85rem;
    color: var(--light-grey);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 1.25rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--light-grey);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav a::before {
    content: '';
    width: 12px;
    height: 1px;
    background: var(--green-deep);
    transition: width var(--transition), background var(--transition);
}

.footer-nav a:hover {
    color: var(--green-lime);
}

.footer-nav a:hover::before {
    width: 18px;
    background: var(--green-lime);
}

.footer-contact address p {
    font-size: 0.88rem;
    color: var(--light-grey);
    margin-bottom: 0.5rem;
}

.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--green-lime); }

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--light-grey);
    gap: 1rem;
}

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.5rem var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--mid-grey);
}

/* ─── ALERT / NOTICE ─────────────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.alert-success { background: rgba(45,106,45,0.15); border: 1px solid var(--green-deep); color: var(--green-light); }
.alert-error   { background: rgba(180,30,30,0.15); border: 1px solid #8B0000; color: #ffaaaa; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-image { aspect-ratio: 16/9; max-height: 50vh; }
    .hero-content { padding: 3rem var(--gutter); }
    .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .intro-image-wrap { display: none; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
    .category-grid { grid-template-columns: 1fr; }
    .animal-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .stat-divider { display: none; }
}

/* ─── Print / Accessibility ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
    outline: 2px solid var(--green-lime);
    outline-offset: 3px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ─── DROPDOWN NAVIGATION ────────────────────────────────────────────────── */

.nav-item.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform var(--transition);
    color: currentColor;
    position: relative;
    top: -1px;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hidden by default — visibility+opacity so focus-within still works */
.dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    margin-left: -80px;   /* half of min-width, avoids transform conflict */
    min-width: 160px;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 0.4rem 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease, top 0.18s ease;
    z-index: 1100;
    white-space: nowrap;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
}

/* Small caret pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255,255,255,0.1);
}

/* Show on hover */
.nav-item.has-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    top: calc(100% + 4px);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--light-grey);
    transition: color var(--transition), background var(--transition);
    text-decoration: none;
}

.dropdown-link:hover,
.dropdown-link.is-active {
    color: var(--green-lime);
    background: rgba(122, 182, 72, 0.08);
}

/* ─── BREADCRUMB BAR ─────────────────────────────────────────────────────── */

.breadcrumb-bar {
    background: var(--off-black);
    border-bottom: 1px solid var(--rule-grey);
    padding: 0.65rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mid-grey);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--rule-grey);
    font-weight: 300;
}

.breadcrumb-list a {
    color: var(--light-grey);
    transition: color var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--green-lime);
}

.breadcrumb-list li:last-child {
    color: var(--green-lime);
}

/* ─── TOPIC PAGE CONTENT ─────────────────────────────────────────────────── */

.topic-content {
    max-width: 860px;
    margin: 0 auto;
}

.topic-section {
    margin-bottom: 4rem;
}

.topic-section:last-child {
    margin-bottom: 0;
}

.topic-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.topic-body {
    margin-top: 1.25rem;
}

.topic-body p {
    color: var(--light-grey);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.topic-body p:last-child {
    margin-bottom: 0;
}

.topic-body strong {
    color: var(--white);
    font-weight: 600;
}

.topic-body em {
    color: var(--green-lime);
    font-style: italic;
}

/* ─── MOBILE NAV DROPDOWNS ───────────────────────────────────────────────── */

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--light-grey);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color var(--transition);
}

.mobile-nav-close:hover {
    color: var(--white);
}

.mobile-nav-group {
    width: 100%;
}

.mobile-nav-parent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav-children {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rule-grey);
    margin-bottom: 0.25rem;
}

.mobile-nav-child-link {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid-grey);
    padding: 0.3rem 1.5rem;
    transition: color var(--transition);
}

.mobile-nav-child-link:hover {
    color: var(--green-lime);
}

/* ─── HOME PAGE — CATEGORY CARDS ──────────────────────────────────────────── */
.home-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.home-cat-card {
    display: flex;
    flex-direction: column;
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.home-cat-card:hover {
    border-color: var(--green-lime);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.home-cat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.home-cat-title {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.home-cat-desc {
    font-size: 0.9rem;
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.home-cat-arrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-lime);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition);
}

.home-cat-card:hover .home-cat-arrow {
    gap: 0.8rem;
}

/* ─── HOME PAGE — POPULAR PLACEHOLDER ─────────────────────────────────────── */
.popular-placeholder {
    background: var(--dark-grey);
    border: 1px dashed var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    color: var(--mid-grey);
    font-style: italic;
}

/* ─── HOME PAGE — RESOURCES GRID ──────────────────────────────────────────── */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.resource-card {
    display: flex;
    flex-direction: column;
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    gap: 0;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.resource-card:hover {
    border-color: var(--green-lime);
    box-shadow: var(--shadow-hover);
}

.resource-card--soon {
    opacity: 0.55;
    border-style: dashed;
}
.resource-card--soon:hover {
    border-color: var(--rule-grey);
    box-shadow: none;
    opacity: 0.55;
}

.resource-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
}

.resource-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--green-deep);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.resource-title {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.resource-desc {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.resource-btn {
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 0.55rem 1.1rem;
}

/* ─── HOME PAGE — NEWSLETTER ──────────────────────────────────────────────── */
.newsletter-section {
    background: var(--green-deep);
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.25) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.newsletter-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    max-width: 420px;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.45);
}

.newsletter-input:focus {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.18);
}

/* Screen-reader only utility */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─── HOME RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .home-cat-grid    { grid-template-columns: repeat(2, 1fr); }
    .resources-grid   { grid-template-columns: repeat(2, 1fr); }
    .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .home-cat-grid  { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; align-items: stretch; }
}

/* ─── GOAT BREEDS — LISTING PAGE ──────────────────────────────────────────── */

/* Intro grid */
.breeds-intro-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.breeds-intro-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.breeds-intro-text p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.breeds-intro-text p:last-child { margin-bottom: 0; }

.breeds-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.intro-stat-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.intro-stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green-lime);
    line-height: 1;
}

.intro-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-grey);
}

/* Filter bar */
.breeds-filter-bar {
    background: var(--off-black);
    border-bottom: 1px solid var(--rule-grey);
    padding: 1.25rem 0;
    position: sticky;
    top: var(--nav-h);
    z-index: 100;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-grey);
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--rule-grey);
    color: var(--light-grey);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--green-lime);
    color: var(--green-lime);
}

.filter-btn.active {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: var(--white);
}

/* Category block */
.breeds-section { padding-top: 3rem; }

.breed-category-block {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.breed-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule-grey);
}

.breed-cat-emoji {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.breed-cat-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 0.35rem;
}

.breed-cat-desc {
    color: var(--light-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Breed card grid */
.breed-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.breed-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.breed-card:hover {
    border-color: var(--green-lime);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Card header */
.breed-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.breed-card-name-row { flex: 1; }

.breed-card-name {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.breed-card-origin {
    font-size: 0.75rem;
    color: var(--light-grey);
    letter-spacing: 0.05em;
}

.breed-cat-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.breed-cat-badge--meat      { background: rgba(220,80,40,0.15); color: #e07050; border: 1px solid rgba(220,80,40,0.3); }
.breed-cat-badge--dairy     { background: rgba(80,140,220,0.15); color: #70a0e0; border: 1px solid rgba(80,140,220,0.3); }
.breed-cat-badge--fibre     { background: rgba(160,80,200,0.15); color: #c080e0; border: 1px solid rgba(160,80,200,0.3); }
.breed-cat-badge--companion { background: rgba(80,180,100,0.15); color: #70c080; border: 1px solid rgba(80,180,100,0.3); }

.breed-card-summary {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* Specs strip */
.breed-card-specs {
    display: flex;
    gap: 0;
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.breed-spec {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border-right: 1px solid var(--rule-grey);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.breed-spec:last-child { border-right: none; }

.breed-spec-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-grey);
}

.breed-spec-value {
    font-size: 0.78rem;
    color: var(--off-white);
    font-weight: 500;
    line-height: 1.3;
}

/* Star ratings */
.breed-ratings { margin-bottom: 1.5rem; }

.breed-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--rule-grey);
}

.breed-rating-row:first-child { border-top: 1px solid var(--rule-grey); }

.breed-rating-label {
    font-size: 0.75rem;
    color: var(--light-grey);
}

.breed-stars { line-height: 1; white-space: nowrap; }

.star { font-size: 0.85rem; }
.star-on  { color: var(--green-lime); }
.star-off { color: var(--rule-grey); }

.breed-card-cta {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-lime);
    transition: letter-spacing var(--transition);
    margin-top: auto;
    padding-top: 0.25rem;
}

.breed-card-cta:hover { letter-spacing: 0.12em; }


/* ─── BREED DETAIL PAGE ────────────────────────────────────────────────────── */

.breed-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.breed-detail-section {
    margin-bottom: 3.5rem;
}

.breed-detail-section:last-child { margin-bottom: 0; }

.breed-detail-section h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Chars grid */
.breed-chars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.breed-char {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.breed-char-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-grey);
}

.breed-char-value {
    font-size: 0.9rem;
    color: var(--off-white);
    line-height: 1.5;
}

/* Pros/cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.pros-heading, .cons-heading {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.pros-cons-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pros-cons-list li {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.55;
    padding-left: 0.85rem;
    position: relative;
}

.pros-block .pros-cons-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green-lime);
}

.cons-block .pros-cons-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e07050;
}

/* Sidebar */
.breed-detail-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.breed-sidebar-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.breed-sidebar-card--ratings {
    border-color: var(--green-deep);
}

.breed-sidebar-heading {
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-lime);
    margin-bottom: 1.25rem;
}

.breed-facts-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
}

.breed-facts-list dt {
    color: var(--mid-grey);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    align-self: center;
    white-space: nowrap;
}

.breed-facts-list dd {
    color: var(--off-white);
    align-self: center;
}

.sidebar-ratings { display: flex; flex-direction: column; gap: 0; }

.sidebar-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--rule-grey);
    gap: 0.5rem;
}

.sidebar-rating-row:first-child { border-top: 1px solid var(--rule-grey); }

.sidebar-rating-label {
    font-size: 0.8rem;
    color: var(--light-grey);
    flex: 1;
}

.sidebar-rating-note {
    font-size: 0.7rem;
    color: var(--mid-grey);
    line-height: 1.5;
    margin-top: 1rem;
}

.breed-back-btn {
    text-align: center;
    justify-content: center;
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .breeds-intro-grid   { grid-template-columns: 1fr; }
    .breeds-intro-stats  { grid-template-columns: repeat(4, 1fr); }
    .breed-card-grid     { grid-template-columns: repeat(2, 1fr); }
    .breed-detail-layout { grid-template-columns: 1fr; }
    .breed-detail-sidebar { position: static; }
}

@media (max-width: 700px) {
    .breed-card-grid    { grid-template-columns: 1fr; }
    .breeds-intro-stats { grid-template-columns: 1fr 1fr; }
    .breed-chars-grid   { grid-template-columns: 1fr; }
    .pros-cons-grid     { grid-template-columns: 1fr; }
    .filter-row         { flex-direction: column; align-items: flex-start; }
}

/* ─── ABOUT PAGE ──────────────────────────────────────────────────────────── */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.about-intro-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.about-intro-text p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stat-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-self: start;
}

.about-stat-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-lime);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}

.about-stat-sub {
    font-size: 0.7rem;
    color: var(--mid-grey);
    line-height: 1.4;
}

/* Coverage grid */
.about-coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-coverage-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.about-coverage-card:hover {
    border-color: var(--green-lime);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.about-coverage-emoji {
    font-size: 2.25rem;
    display: block;
    margin-bottom: 1rem;
}

.about-coverage-card h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.about-coverage-card p {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.25rem;
}

.about-coverage-arrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-lime);
    margin-top: auto;
}

/* Approach section */
.about-approach-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.about-approach-grid h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.about-approach-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.about-approach-card {
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.about-approach-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.about-approach-card h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.about-approach-card p {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.65;
}

/* ─── PRIVACY PAGE ──────────────────────────────────────────────────────────── */
.page-hero--short .page-hero-bg img { filter: brightness(0.4); }

.privacy-layout {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-body h2 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 2.5rem 0 0.75rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--rule-grey);
}

.privacy-body h2:first-of-type { margin-top: 1.5rem; padding-top: 0; border-top: none; }

.privacy-body p { color: var(--light-grey); line-height: 1.8; margin-bottom: 1rem; }
.privacy-body a { color: var(--green-lime); }
.privacy-body a:hover { text-decoration: underline; }
.privacy-body strong { color: var(--off-white); }
.privacy-body em { color: var(--off-white); font-style: italic; }

.privacy-intro {
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-left: 3px solid var(--green-lime);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem !important;
}

.privacy-contact-block {
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    color: var(--light-grey);
    font-size: 0.9rem;
    line-height: 2;
}

.privacy-contact-block strong { color: var(--white); }
.privacy-contact-block a { color: var(--green-lime); }

/* ─── CONTACT PAGE ──────────────────────────────────────────────────────────── */
.contact-guides-block {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule-grey);
}

.contact-guide-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.contact-guide-link {
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light-grey);
    transition: border-color var(--transition), color var(--transition);
}

.contact-guide-link:hover {
    border-color: var(--green-lime);
    color: var(--green-lime);
}

.contact-success-block {
    text-align: center;
    padding: 3rem 2rem;
}

.contact-success-icon {
    width: 60px;
    height: 60px;
    background: var(--green-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin: 0 auto 1.25rem;
}

.contact-success-block h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-success-block p {
    color: var(--light-grey);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem !important;
    font-size: 1rem;
}

.alert { padding: 0.9rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.875rem; }
.alert-success { background: rgba(80,160,60,0.15); border: 1px solid rgba(80,160,60,0.4); color: #80c870; }
.alert-error   { background: rgba(200,60,40,0.15); border: 1px solid rgba(200,60,40,0.4); color: #e08070; }

/* ─── HUB PAGES (Goats / Sheep / Poultry / Small Farm) ─────────────────────── */
.hub-intro-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.hub-intro-text h2 {
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.hub-intro-text p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hub-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Guide grid */
.hub-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hub-guide-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.hub-guide-card:hover {
    border-color: var(--green-lime);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.hub-guide-card--featured {
    grid-column: span 3;
    border-color: var(--green-deep);
    background: linear-gradient(135deg, var(--dark-grey) 0%, rgba(40,80,40,0.3) 100%);
}

.hub-guide-emoji {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.hub-guide-body { flex: 1; }

.hub-guide-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-lime);
    margin-bottom: 0.5rem;
}

.hub-guide-body h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.hub-guide-body p {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.hub-guide-meta {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--mid-grey);
    text-transform: uppercase;
}

/* Category strip */
.hub-cat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hub-cat-strip-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hub-cat-strip-card:hover {
    border-color: var(--green-lime);
    transform: translateY(-2px);
}

.hub-cat-strip-card span { font-size: 1.75rem; display: block; margin-bottom: 0.25rem; }
.hub-cat-strip-card strong { font-size: 0.95rem; color: var(--white); }
.hub-cat-strip-card p { font-size: 0.75rem; color: var(--mid-grey); line-height: 1.5; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .about-intro-grid    { grid-template-columns: 1fr; }
    .about-stat-column   { grid-template-columns: repeat(4, 1fr); }
    .about-coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .about-approach-grid { grid-template-columns: 1fr; }
    .about-approach-cards{ grid-template-columns: repeat(2, 1fr); }
    .hub-intro-grid      { grid-template-columns: 1fr; }
    .hub-intro-stats     { grid-template-columns: repeat(4, 1fr); }
    .hub-guide-grid      { grid-template-columns: repeat(2, 1fr); }
    .hub-guide-card--featured { grid-column: span 2; }
}

@media (max-width: 700px) {
    .about-coverage-grid  { grid-template-columns: 1fr; }
    .about-approach-cards { grid-template-columns: 1fr; }
    .about-stat-column    { grid-template-columns: 1fr 1fr; }
    .hub-intro-stats      { grid-template-columns: 1fr 1fr; }
    .hub-guide-grid       { grid-template-columns: 1fr; }
    .hub-guide-card--featured { grid-column: span 1; }
    .hub-guide-card       { flex-direction: column; }
    .contact-guide-links  { grid-template-columns: 1fr; }
}

/* ─── SEARCH PAGE ─────────────────────────────────────────────────────────── */
.search-layout { max-width: 860px; margin: 0 auto; }

.search-form { margin-bottom: 2.5rem; }

.search-input-wrap {
    display: flex;
    gap: 0.75rem;
}

.search-input-wrap input[type="search"] {
    flex: 1;
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition);
}

.search-input-wrap input[type="search"]:focus { border-color: var(--green-lime); }

.search-btn { padding: 0.85rem 1.75rem; white-space: nowrap; }

.search-meta {
    font-size: 0.9rem;
    color: var(--light-grey);
    margin-bottom: 1.5rem;
}

.search-meta strong { color: var(--white); }

.search-results { display: flex; flex-direction: column; gap: 1rem; }

.search-result-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-result-card:hover {
    border-color: var(--green-lime);
    box-shadow: var(--shadow-hover);
}

.search-result-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-lime);
}

.search-result-title {
    font-size: 1.1rem;
    color: var(--white);
    font-family: var(--font-display);
}

.search-result-excerpt {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.6;
}

.search-result-url {
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-top: 0.25rem;
}

.search-no-results { margin-top: 1rem; }
.search-no-results p { color: var(--light-grey); margin-bottom: 1.5rem; }

.search-cat-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.search-browse-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.search-browse-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}

.search-browse-card:hover { border-color: var(--green-lime); transform: translateY(-2px); }

.search-browse-emoji { font-size: 2rem; display: block; margin-bottom: 0.75rem; }

.search-browse-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.4rem; }
.search-browse-card p  { font-size: 0.8rem; color: var(--mid-grey); }

/* ─── ARTICLES PAGE ──────────────────────────────────────────────────────── */
.articles-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.articles-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.articles-sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-grey);
    padding: 1.25rem 1.25rem 0.75rem;
}

.articles-cat-nav { display: flex; flex-direction: column; padding-bottom: 0.5rem; }

.articles-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    color: var(--light-grey);
    transition: background var(--transition), color var(--transition);
    border-left: 3px solid transparent;
}

.articles-cat-link:hover { background: var(--off-black); color: var(--white); }

.articles-cat-link.is-active {
    color: var(--green-lime);
    border-left-color: var(--green-lime);
    background: var(--off-black);
    font-weight: 600;
}

.articles-cat-count {
    font-size: 0.7rem;
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: 10px;
    padding: 0.1rem 0.5rem;
    color: var(--mid-grey);
}

.articles-grid { display: flex; flex-direction: column; gap: 1.5rem; }

.article-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.article-card:hover {
    border-color: var(--green-lime);
    box-shadow: var(--shadow-hover);
}

.article-card-image-link { display: block; overflow: hidden; }

.article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.article-card:hover .article-card-image { transform: scale(1.03); }

.article-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-card-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.article-cat-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-lime);
    background: rgba(80,140,60,0.12);
    border: 1px solid rgba(80,140,60,0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.article-date, .article-read-time {
    font-size: 0.75rem;
    color: var(--mid-grey);
}

.article-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
}

.article-card-title a {
    color: var(--white);
    transition: color var(--transition);
}

.article-card-title a:hover { color: var(--green-lime); }

.article-card-excerpt {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.65;
    flex: 1;
}

.article-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-lime);
    margin-top: 0.25rem;
}

.articles-empty { text-align: center; padding: 4rem 2rem; }

/* ─── ARTICLE DETAIL PAGE ─────────────────────────────────────────────────── */
.page-hero--article .page-hero-bg img { filter: brightness(0.45); }

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.75rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.article-content { max-width: 720px; }

.article-lead {
    font-size: 1.15rem;
    color: var(--off-white);
    line-height: 1.75;
    border-left: 3px solid var(--green-lime);
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
}

.article-body { }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: 0.5rem; }

.article-tags { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-grey); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.article-tags-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-grey); }

.article-tag {
    font-size: 0.75rem;
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: 12px;
    padding: 0.2rem 0.65rem;
    color: var(--light-grey);
}

.article-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); display: flex; flex-direction: column; gap: 1.25rem; }

.article-sidebar-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.article-sidebar-card--newsletter { border-color: var(--green-deep); }
.article-sidebar-card p { font-size: 0.85rem; color: var(--light-grey); line-height: 1.6; margin-bottom: 1rem; }

.article-sidebar-cats { display: flex; flex-direction: column; gap: 0; }

.article-sidebar-cat-link {
    font-size: 0.825rem;
    color: var(--light-grey);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--rule-grey);
    transition: color var(--transition);
}

.article-sidebar-cat-link:hover { color: var(--green-lime); }
.article-sidebar-cat-link.is-active { color: var(--green-lime); font-weight: 600; }
.article-sidebar-cat-link:last-child { border-bottom: none; }

.sidebar-nl-input {
    width: 100%;
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white);
    outline: none;
    box-sizing: border-box;
    transition: border-color var(--transition);
}

.sidebar-nl-input:focus { border-color: var(--green-lime); }

.article-related-list { display: flex; flex-direction: column; gap: 0; }

.article-related-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule-grey);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: color var(--transition);
}

.article-related-link:last-child { border-bottom: none; }
.article-related-link:hover .article-related-title { color: var(--green-lime); }

.article-related-title { font-size: 0.875rem; color: var(--white); line-height: 1.4; }
.article-related-date  { font-size: 0.7rem; color: var(--mid-grey); }

/* ─── RESOURCES PAGE ─────────────────────────────────────────────────────── */
.resource-card--download {
    flex-direction: column;
    gap: 0;
}

.resource-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.resource-card-header .resource-icon { font-size: 1.75rem; flex-shrink: 0; margin-top: 0.1rem; }

.resource-pages {
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-top: 0.2rem;
    display: block;
}

.resource-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 1rem 0 1.5rem;
}

.resource-items li {
    font-size: 0.8rem;
    color: var(--light-grey);
    padding-left: 1rem;
    position: relative;
}

.resource-items li::before { content: '✓'; position: absolute; left: 0; color: var(--green-lime); }

.resource-download-form { margin-top: auto; }

.checklist-form-row { display: flex; gap: 0.6rem; }

.checklist-email-input {
    flex: 1;
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition);
}

.checklist-email-input:focus { border-color: var(--green-lime); }

.checklist-form-note {
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-top: 0.4rem;
}

.checklist-error {
    font-size: 0.8rem;
    color: #e08070;
    margin-top: 0.5rem;
}

.resource-success-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(80,140,60,0.12);
    border: 1px solid rgba(80,140,60,0.3);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: auto;
}

.resource-success-inner strong { color: var(--white); display: block; margin-bottom: 0.25rem; }
.resource-success-inner p { font-size: 0.8rem; color: var(--light-grey); line-height: 1.5; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .articles-layout { grid-template-columns: 220px 1fr; }
    .article-layout  { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .search-browse-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .articles-layout     { grid-template-columns: 1fr; }
    .articles-sidebar    { position: static; }
    .article-card        { grid-template-columns: 1fr; }
    .article-card-image-link { height: 200px; }
    .search-browse-grid  { grid-template-columns: 1fr 1fr; }
    .checklist-form-row  { flex-direction: column; }
    .search-input-wrap   { flex-direction: column; }
}

/* ─── SEARCH ICON IN NAV ──────────────────────────────────────────────────── */
.nav-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--light-grey);
    transition: color var(--transition), background var(--transition);
    flex-shrink: 0;
}

.nav-search-btn:hover {
    color: var(--white);
    background: var(--dark-grey);
}

/* ─── AFFILIATE LINKS ─────────────────────────────────────────────────────── */
.affiliate-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.affiliate-block {
    display: flex;
    flex-direction: column;
    position: relative;
}

.affiliate-link-block {
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.affiliate-link-block:hover {
    border-color: var(--green-lime);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.affiliate-label {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.3;
}

.affiliate-platform {
    font-size: 0.7rem;
    color: var(--green-lime);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.affiliate-disclosure {
    font-size: 0.6rem;
    color: var(--mid-grey);
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.affiliate-link-inline {
    color: var(--green-lime);
    font-weight: 600;
    border-bottom: 1px dashed var(--green-lime);
    transition: opacity var(--transition);
}

.affiliate-link-inline:hover { opacity: 0.8; }

/* Footer affiliate note */
.footer-affiliate-note {
    background: var(--off-black);
    border-top: 1px solid var(--rule-grey);
    padding: 0.75rem 0;
}

.footer-affiliate-note p {
    font-size: 0.72rem;
    color: var(--mid-grey);
    text-align: center;
    line-height: 1.5;
}

/* ─── SHOP PAGE ───────────────────────────────────────────────────────────── */
.shop-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.shop-value-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.shop-value-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.shop-value-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.shop-value-card p  { font-size: 0.85rem; color: var(--light-grey); line-height: 1.6; }

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.shop-product-card {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.shop-product-card:hover {
    border-color: var(--green-lime);
    box-shadow: var(--shadow-hover);
}

.shop-product-head {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.shop-product-emoji { font-size: 2.5rem; flex-shrink: 0; margin-top: 0.1rem; }

.shop-product-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-lime);
    display: block;
    margin-bottom: 0.3rem;
}

.shop-product-title {
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.3;
}

.shop-product-meta {
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-top: 0.35rem;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.shop-product-desc {
    font-size: 0.875rem;
    color: var(--light-grey);
    line-height: 1.7;
}

.shop-product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.shop-product-features li {
    font-size: 0.8rem;
    color: var(--light-grey);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.shop-product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-lime);
}

.shop-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule-grey);
    margin-top: auto;
}

.shop-price-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.shop-price-note {
    font-size: 0.7rem;
    color: var(--mid-grey);
    display: block;
    margin-top: 0.1rem;
}

.shop-buy-btn { white-space: nowrap; }

.shop-guarantee { max-width: 680px; margin: 0 auto; }

.shop-guarantee-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.shop-guarantee-inner h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.shop-guarantee-inner p  { font-size: 0.9rem; color: var(--light-grey); line-height: 1.7; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .shop-value-grid   { grid-template-columns: repeat(2, 1fr); }
    .shop-product-grid { grid-template-columns: 1fr; }
    .affiliate-tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .shop-value-grid   { grid-template-columns: 1fr 1fr; }
    .affiliate-tool-grid { grid-template-columns: 1fr; }
    .shop-product-footer { flex-direction: column; align-items: flex-start; }
    .shop-guarantee-inner { flex-direction: column; }
}

/* Shop nav button */
.btn-shop-nav {
    background: transparent;
    border: 1px solid var(--rule-grey);
    color: var(--light-grey);
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
    white-space: nowrap;
}
.btn-shop-nav:hover { border-color: var(--green-lime); color: var(--green-lime); }

/* ─── NAV FIX — ensure site-nav and nav-list fill header height properly ─── */
.site-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > .nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list > .nav-item > a.btn,
.nav-list > .nav-item > a.btn-shop-nav,
.nav-list > .nav-item > a.btn-nav,
.nav-list > .nav-item > a.nav-search-btn {
    display: inline-flex;
    align-items: center;
}

/* ─── CHECKOUT PAGE ────────────────────────────────────────────────────────── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Order summary */
.checkout-summary {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
}

.checkout-summary-title,
.checkout-payment-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.checkout-product-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule-grey);
    margin-bottom: 1.25rem;
}

.checkout-product-emoji { font-size: 2rem; flex-shrink: 0; }

.checkout-product-info h3 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.checkout-product-info p {
    font-size: 0.75rem;
    color: var(--mid-grey);
}

.checkout-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-features li {
    font-size: 0.8rem;
    color: var(--light-grey);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.checkout-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-lime);
    font-size: 0.75rem;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--rule-grey);
    border-bottom: 1px solid var(--rule-grey);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--light-grey);
}

.checkout-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.checkout-price small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--mid-grey);
}

.checkout-trust {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-trust-item {
    font-size: 0.8rem;
    color: var(--mid-grey);
}

/* Payment form */
.checkout-payment {
    background: var(--dark-grey);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.checkout-form-group {
    margin-bottom: 1.25rem;
}

.checkout-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.4rem;
}

.checkout-input {
    width: 100%;
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.checkout-input:focus { border-color: var(--green-lime); }

.checkout-field-note {
    font-size: 0.7rem;
    color: var(--mid-grey);
    margin-top: 0.3rem;
}

.checkout-stripe-element {
    background: var(--off-black);
    border: 1px solid var(--rule-grey);
    border-radius: var(--radius-sm);
    padding: 1rem;
    min-height: 44px;
    transition: border-color var(--transition);
}

.checkout-stripe-element:focus-within { border-color: var(--green-lime); }

.checkout-loading-stripe {
    font-size: 0.85rem;
    color: var(--mid-grey);
    padding: 0.5rem 0;
}

.checkout-error {
    background: rgba(229,57,53,0.1);
    border: 1px solid rgba(229,57,53,0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #ef9a9a;
    margin-top: 0.75rem;
}

.checkout-pay-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem !important;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.checkout-secure-note {
    font-size: 0.75rem;
    color: var(--mid-grey);
    text-align: center;
    margin-top: 0.75rem;
}

/* Success state */
.checkout-success {
    text-align: center;
    padding: 2rem 1rem;
}

.checkout-success-icon {
    width: 64px;
    height: 64px;
    background: var(--green-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.25rem;
}

.checkout-success h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.checkout-success p {
    color: var(--light-grey);
    line-height: 1.7;
}

/* Setup notice (before keys configured) */
.checkout-setup-notice {
    background: rgba(249,168,37,0.08);
    border: 1px solid rgba(249,168,37,0.25);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    color: #ffd54f;
}

.checkout-setup-notice h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.75rem; }
.checkout-setup-notice p  { font-size: 0.875rem; color: var(--light-grey); margin-bottom: 0.75rem; line-height: 1.7; }
.checkout-setup-notice ol { font-size: 0.875rem; color: var(--light-grey); padding-left: 1.25rem; line-height: 2; }
.checkout-setup-notice a  { color: var(--green-lime); }
.checkout-setup-notice code { background: var(--off-black); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.8rem; }

/* Spin animation for loading */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; }

/* Responsive */
@media (max-width: 800px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
}
