/* ==========================================================================
   Yenman Heritage Breeds — Premium Stylesheet
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-off-white:    #FFFDF8;
    --bg-light-cream:  #FAF6EF;
    --bg-light-beige:  #F3EAD8;
    --bg-warm-beige:   #EDE3D0;

    --accent-yellow:   #F2C368;
    --accent-amber:    #E8A317;
    --accent-tan:      #C9A96A;

    --green-100: #7FBF6A;
    --green-200: #4E8C5A;
    --green-300: #3E7A4C;
    --green-400: #2E6B3E;
    --green-500: #1F4D2E;

    --brown-100: #6B4226;
    --brown-200: #5A3720;
    --brown-300: #4A2E1A;

    --alert-red: #B5341F;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body:    'Inter', sans-serif;

    /* Layout */
    --container-width: 1240px;
    --section-padding: 6rem 1.5rem;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm:  0 2px 12px rgba(31,77,46,.06);
    --shadow-md:  0 8px 32px rgba(31,77,46,.10);
    --shadow-lg:  0 20px 60px rgba(31,77,46,.14);

    /* Transitions */
    --t-fast:   0.2s ease;
    --t-medium: 0.4s cubic-bezier(.4,0,.2,1);
    --t-slow:   0.7s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-off-white);
    color: var(--brown-200);
    line-height: 1.7;
    overflow-x: hidden;
}

body.loading { overflow: hidden; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--green-500);
    line-height: 1.15;
}

em { font-style: italic; color: var(--accent-amber); }

p { margin-bottom: 1rem; }
img { max-width:100%; height:auto; display:block; }
a { color: var(--green-400); text-decoration:none; transition: var(--t-fast); }
a:hover { color: var(--accent-amber); }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
    position: fixed; inset: 0;
    background: var(--bg-off-white);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }
.loader-logo { width: 200px; margin: 0 auto 2rem; filter: none; }
.loader-bar {
    width: 220px; height: 3px;
    background: var(--bg-warm-beige);
    border-radius: 99px; overflow: hidden;
}
.loader-progress {
    height: 100%;
    background: linear-gradient(to right, var(--green-300), var(--accent-amber));
    border-radius: 99px;
    animation: load 1.4s ease-in-out forwards;
}
@keyframes load { from { width:0 } to { width:100% } }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section-padding { padding: var(--section-padding); }

/* Section Tag */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-amber);
    margin-bottom: .75rem;
}
.section-tag.light { color: var(--accent-yellow); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}
.section-header h2 { font-size: 2.75rem; margin-bottom: .75rem; }
.section-header p { font-size: 1.125rem; color: var(--brown-100); }

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.delay-1 { transition-delay: .12s; }
.reveal-up.delay-2 { transition-delay: .24s; }
.reveal-up.delay-3 { transition-delay: .36s; }
.reveal-up.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .875rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--t-medium);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,.12);
    transform: translateX(-100%);
    transition: transform .4s ease;
}
.btn:hover::after { transform: translateX(0); }

.btn-primary {
    background: var(--accent-amber);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,163,23,.35);
}
.btn-primary:hover { background: var(--brown-100); color: #fff; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.6);
    color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }

.btn-cta {
    background: var(--accent-amber);
    color: #fff;
    padding: .55rem 1.4rem;
    font-size: .875rem;
    box-shadow: 0 3px 12px rgba(232,163,23,.3);
}
.btn-cta:hover { background: var(--brown-100); color: #fff; }

.btn-cta-large {
    background: var(--accent-amber);
    color: #fff;
    font-size: 1.05rem;
    padding: 1rem 2.25rem;
    box-shadow: 0 6px 24px rgba(232,163,23,.35);
}
.btn-cta-large:hover { background: var(--bg-off-white); color: var(--green-500); transform: translateY(-2px); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,253,248,.88);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(201,169,106,.15);
    z-index: 1000;
    transition: box-shadow var(--t-fast), background var(--t-fast);
}
.navbar.scrolled {
    background: rgba(255,253,248,.97);
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}
.logo {
    display: flex; align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-500);
}
.logo-img { height: 62px; width: auto; display: block; }

.nav-links {
    display: flex; align-items: center; gap: 2rem;
}
.nav-link {
    font-size: .92rem; font-weight: 500;
    color: var(--green-500);
    position: relative; padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-amber);
    transition: width var(--t-medium);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--green-500); }

/* Hamburger */
.mobile-menu-btn {
    display: none; flex-direction: column;
    gap: 5px; background: none; border: none;
    cursor: pointer; padding: .4rem;
}
.mobile-menu-btn span {
    display: block; width: 26px; height: 2px;
    background: var(--green-500);
    border-radius: 99px;
    transition: var(--t-medium);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 90px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transform-origin: center;
    transition: transform 12s ease;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        rgba(31,77,46,.75) 0%,
        rgba(31,77,46,.45) 45%,
        rgba(232,163,23,.12) 100%
    );
}
.hero-grain {
    position: absolute; inset: 0;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative; z-index: 1;
    max-width: 720px;
    padding: 2rem 0;
}
.hero-eyebrow {
    display: flex; align-items: center; gap: 1rem;
    color: var(--accent-yellow);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.eyebrow-line {
    flex: 1; max-width: 60px; height: 1px;
    background: var(--accent-yellow); opacity: .6;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    color: var(--bg-off-white);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.08;
    text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero-content .subheadline {
    font-size: 1.2rem;
    color: rgba(255,253,248,.82);
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll cue */
.hero-scroll-cue {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    color: rgba(255,253,248,.6); z-index: 1;
    transition: color var(--t-fast);
}
.hero-scroll-cue:hover { color: var(--accent-yellow); }
.scroll-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-icon {
    width: 28px; height: 44px;
    border: 2px solid rgba(255,253,248,.4);
    border-radius: 99px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot {
    width: 5px; height: 5px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%,100% { transform: translateY(0); opacity:1; }
    50% { transform: translateY(14px); opacity:.3; }
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
    background: var(--green-500);
    padding: 3rem 1.5rem;
}
.stats-grid {
    display: flex; align-items: center;
    justify-content: space-around; flex-wrap: wrap; gap: 2rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem; font-weight: 700;
    color: var(--accent-amber);
    line-height: 1;
}
.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem; font-weight: 700;
    color: var(--accent-amber);
    line-height: 1;
}
.stat-label {
    font-size: .85rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: rgba(255,253,248,.8);
    margin-top: 0.25rem;
    max-width: 150px;
}

.stat-divider {
    width: 1px; height: 60px;
    background: rgba(255,253,248,.12);
}

/* ==========================================================================
   Mission Strip
   ========================================================================== */
.mission-strip {
    background: var(--green-400);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative; overflow: hidden;
}
.mission-bg-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(127,191,106,.15) 0%, transparent 60%),
                      radial-gradient(circle at 80% 50%, rgba(232,163,23,.1) 0%, transparent 60%);
}
.mission-content { position: relative; z-index: 1; }
.mission-icon {
    font-size: 2.5rem; color: var(--accent-yellow);
    margin-bottom: 1.5rem; opacity: .8;
}
.mission-strip blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 400;
    color: var(--bg-off-white);
    max-width: 900px; margin: 0 auto;
    line-height: 1.5;
}
.mission-divider {
    display: flex; align-items: center;
    justify-content: center; gap: 1rem;
    margin-top: 2rem; color: var(--accent-yellow); opacity: .5;
}
.mission-divider span { display: block; width: 60px; height: 1px; background: currentColor; }

/* ==========================================================================
   Goals Section
   ========================================================================== */
.goals { background: var(--bg-off-white); }

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.goal-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201,169,106,.2);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-medium), box-shadow var(--t-medium);
    overflow: hidden;
    position: relative;
    cursor: default;
}
.goal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.goal-card-inner {
    padding: 2.5rem 2rem 2rem;
    position: relative;
}
.goal-number {
    font-family: var(--font-heading);
    font-size: 4rem; font-weight: 900;
    color: var(--bg-light-beige);
    position: absolute; top: .75rem; right: 1.25rem;
    line-height: 1;
    pointer-events: none; user-select: none;
}
.goal-icon {
    font-size: 2rem; color: var(--green-200);
    margin-bottom: 1.25rem;
    transition: color var(--t-fast), transform var(--t-fast);
}
.goal-card:hover .goal-icon { color: var(--accent-amber); transform: scale(1.1); }
.goal-card h3 {
    font-size: 1.15rem; margin-bottom: .75rem;
    color: var(--green-500);
}
.goal-card p {
    font-size: .92rem; color: var(--brown-100);
    line-height: 1.65; margin: 0;
}
.card-accent {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--green-300);
    transition: width var(--t-medium);
}
.card-accent.accent-gold { background: var(--accent-amber); }
.goal-card:hover .card-accent { width: 100%; }

.goal-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--accent-amber);
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: .2rem .7rem; border-radius: 99px;
    text-transform: uppercase; letter-spacing: .06em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(232,163,23,.4);
}

/* ==========================================================================
   Breeding Program
   ========================================================================== */
.breeding {
    position: relative; overflow: hidden;
    padding: var(--section-padding);
}
.breeding-bg-img {
    position: absolute; inset: 0; z-index: 0;
}
.breeding-bg-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
.breeding-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(31,77,46,.93) 0%, rgba(46,107,62,.88) 100%);
}
.breeding .container { position: relative; z-index: 1; }

/* Diagram */
.breeding-diagram {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: stretch;
    gap: 0; margin: 0 0 4rem;
}
.diagram-step {
    flex: 1; min-width: 200px;
    display: flex; align-items: center; position: relative;
}
.step-icon {
    display: none;
}
.step-box {
    background: rgba(255,253,248,.08);
    border: 1px solid rgba(255,253,248,.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1; width: 100%;
    transition: background var(--t-fast), transform var(--t-fast);
}
.step-box:hover {
    background: rgba(255,253,248,.14);
    transform: translateY(-4px);
}
.step-box h4 { color: var(--bg-off-white); font-size: 1rem; margin-bottom: .5rem; }
.step-box p { font-size: .85rem; color: rgba(255,253,248,.65); margin: 0; }

.step-box.pure-reserve { border-top: 3px solid var(--green-100); }
.step-box.selective    { border-top: 3px solid var(--accent-tan); }
.step-box.improved     { border-top: 3px solid var(--green-300); }
.step-box.distribution { border-top: 3px solid var(--accent-amber); }

.step-connector {
    color: var(--accent-amber); font-size: 1.25rem;
    padding: 0 .75rem; flex-shrink: 0;
    opacity: .7;
}

.badge-inline {
    background: var(--alert-red); color: #fff;
    padding: .1rem .45rem; border-radius: 4px;
    font-size: .78rem; font-weight: 700;
}

/* Sire Lines */
.sire-lines { margin-top: 1rem; }
.sire-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.25rem;
}
.sire-card {
    background: rgba(255,253,248,.06);
    border: 1px solid rgba(255,253,248,.12);
    border-radius: var(--radius-md);
    padding: 2rem 1.25rem;
    text-align: center;
    transition: background var(--t-fast), transform var(--t-fast);
}
.sire-card:hover {
    background: rgba(255,253,248,.12);
    transform: translateY(-4px);
}
.sire-icon {
    font-size: 1.75rem; color: var(--accent-yellow);
    margin-bottom: 1rem; opacity: .85;
}
.sire-card h4 { color: var(--bg-off-white); font-size: 1rem; margin-bottom: .5rem; }
.sire-card p { font-size: .85rem; color: rgba(255,253,248,.6); margin: 0; }

/* ==========================================================================
   Premium Section
   ========================================================================== */
.premium { background: var(--bg-warm-beige); }
.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.premium-content .section-tag { margin-bottom: 1rem; }
.premium-content h2 {
    font-size: 2.75rem; margin-bottom: 1.5rem;
}
.premium-divider {
    width: 60px; height: 3px;
    background: linear-gradient(to right, var(--green-300), var(--accent-amber));
    border-radius: 99px; margin-bottom: 1.75rem;
}
.premium-content p { color: var(--brown-100); font-size: 1.05rem; }
.premium-tags {
    display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem;
}
.ptag {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(46,107,62,.1);
    color: var(--green-400);
    border: 1px solid rgba(46,107,62,.18);
    border-radius: 99px;
    padding: .35rem 1rem;
    font-size: .82rem; font-weight: 600;
}
.ptag i { color: var(--green-300); font-size: .75rem; }

.img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.img-frame img {
    width: 100%; height: 440px;
    object-fit: cover;
    transition: transform .8s ease;
}
.img-frame:hover img { transform: scale(1.04); }
.img-badge {
    position: absolute; bottom: 1.5rem; left: 1.5rem;
    background: rgba(31,77,46,.85);
    backdrop-filter: blur(8px);
    color: var(--bg-off-white);
    padding: .6rem 1.1rem;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: .5rem;
    font-size: .85rem; font-weight: 600;
}
.img-badge i { color: var(--accent-amber); }

/* ==========================================================================
   Timeline
   ========================================================================== */
.bg-forest { background: var(--green-500); }

.timeline-track {
    display: flex; flex-direction: column; gap: 0;
    max-width: 900px; margin: 0 auto;
    position: relative;
}
.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    display: flex; flex-direction: column; align-items: center;
    padding-top: 1.5rem;
}
.tl-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(255,253,248,.25);
    border: 3px solid rgba(255,253,248,.3);
    flex-shrink: 0;
    transition: background var(--t-fast), border-color var(--t-fast);
    z-index: 1;
}
.tl-dot.active {
    background: var(--accent-amber);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 6px rgba(232,163,23,.2);
}
.tl-line {
    flex: 1; width: 2px;
    background: rgba(255,253,248,.15);
    margin-top: .5rem;
}

.timeline-card {
    background: rgba(255,253,248,.06);
    border: 1px solid rgba(255,253,248,.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: background var(--t-fast);
}
.timeline-card:hover { background: rgba(255,253,248,.1); }
.timeline-card.active {
    background: rgba(255,253,248,.1);
    border-color: rgba(232,163,23,.3);
}
.tl-year {
    font-size: .78rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent-yellow); margin-bottom: .75rem;
}
.timeline-card h3 { color: var(--bg-off-white); margin-bottom: .5rem; }
.timeline-card p { color: rgba(255,253,248,.65); margin: 0; font-size: .95rem; }
.tl-status {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: 1rem;
    font-size: .78rem; font-weight: 600;
    color: var(--green-100);
}
.tl-status.gold { color: var(--accent-amber); }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--bg-light-cream); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.about-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-img {
    width: 100%; height: 500px;
    object-fit: cover;
}
.about-img-label {
    position: absolute; bottom: 1.25rem; right: 1.25rem;
    background: rgba(31,77,46,.85);
    backdrop-filter: blur(8px);
    color: var(--bg-off-white);
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .82rem; font-weight: 600;
}
.about-img-label i { color: var(--accent-amber); margin-right: .3rem; }

.about-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }

.about-placeholder {
    background: rgba(201,169,106,.12);
    border: 2px dashed var(--accent-tan);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
}
.placeholder-icon {
    font-size: 2rem; color: var(--accent-tan);
    margin-bottom: 1rem;
}
.about-placeholder p {
    font-style: italic; color: var(--brown-100);
    margin: 0; font-size: 1rem; line-height: 1.7;
}

/* Pull quote in story */
.about-pullquote {
    border-left: 4px solid var(--accent-amber);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    background: rgba(232,163,23,.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--green-400);
    line-height: 1.65;
}

/* About values strip */
.about-values {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--bg-warm-beige);
}
.about-value-item {
    display: flex; align-items: center; gap: .6rem;
    font-size: .88rem; font-weight: 600;
    color: var(--green-400);
}
.about-value-item i {
    color: var(--accent-amber);
    font-size: 1rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    background: var(--green-500);
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-bg-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(127,191,106,.12) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 50%, rgba(232,163,23,.1) 0%, transparent 60%);
}
.cta-flex {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 1.5rem;
}
.cta-icon-wrap {
    width: 72px; height: 72px;
    background: rgba(255,253,248,.08);
    border: 1px solid rgba(255,253,248,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--accent-yellow);
    margin-bottom: .5rem;
}
.cta-banner h2 {
    color: var(--bg-off-white);
    font-size: 2.25rem;
    max-width: 720px; margin: 0;
}
.cta-banner p {
    color: rgba(255,253,248,.65);
    font-size: 1.05rem; margin: 0;
    max-width: 520px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--bg-off-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
}

.info-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201,169,106,.18);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.info-item {
    display: flex; gap: 1rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}
.info-item:last-child { margin-bottom: 0; }
.info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(46,107,62,.08);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem; color: var(--green-300);
}
.info-item h4 { font-size: .9rem; margin-bottom: .25rem; color: var(--green-500); }
.info-item p, .info-item a { color: var(--brown-100); margin: 0; font-size: .92rem; }
.info-item a:hover { color: var(--accent-amber); }

.social-row {
    display: flex; align-items: center; gap: .75rem;
    font-size: .8rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--brown-100);
}
.social-row.light { color: rgba(255,253,248,.5); margin-top: 1.25rem; }
.social-icon {
    width: 40px; height: 40px;
    background: rgba(46,107,62,.1);
    color: var(--green-300);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    transition: var(--t-fast);
}
.social-icon:hover { background: var(--accent-amber); color: #fff; transform: translateY(-2px); }
.social-row.light .social-icon {
    background: rgba(255,253,248,.08);
    color: rgba(255,253,248,.6);
}

/* Form */
.contact-form {
    background: #fff;
    padding: 2.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201,169,106,.18);
    box-shadow: var(--shadow-sm);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group:last-of-type { margin-bottom: 1.5rem; }
.form-group label {
    display: block; margin-bottom: .45rem;
    font-size: .85rem; font-weight: 600;
    color: var(--green-500); letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .8rem 1.1rem;
    border: 1.5px solid rgba(201,169,106,.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem; color: var(--brown-200);
    background: var(--bg-off-white);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-300);
    box-shadow: 0 0 0 3px rgba(62,122,76,.1);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; justify-content: center; font-size: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--brown-300); color: var(--bg-light-cream); }
.footer-top { padding: 5rem 1.5rem 3rem; }
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-brand p {
    color: rgba(250,246,239,.6);
    font-size: .92rem; line-height: 1.7;
    max-width: 280px; margin-bottom: 1.5rem;
}
.footer-logo-img { height: 80px; width: auto; margin-bottom: 1.25rem; }

.footer-col h4 {
    font-size: .8rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(250,246,239,.4);
    margin-bottom: 1.25rem;
}
.footer-col a, .footer-col p {
    display: block;
    color: rgba(250,246,239,.65);
    font-size: .9rem; margin-bottom: .6rem;
    transition: var(--t-fast);
}
.footer-col a:hover { color: var(--accent-amber); padding-left: 4px; }
.footer-col p i { margin-right: .5rem; color: var(--accent-tan); font-size: .85rem; }

.footer-bottom {
    background: rgba(0,0,0,.2);
    padding: 1.25rem 1.5rem;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p {
    margin: 0;
    font-size: .82rem;
    color: rgba(250,246,239,.35);
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 48px; height: 48px;
    background: var(--accent-amber);
    color: #fff;
    border: none; border-radius: 50%;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(232,163,23,.4);
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast), background var(--t-fast);
    z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--green-400); }

/* ==========================================================================
   Media Queries — Tablet (≤1100px)
   ========================================================================== */
@media (max-width: 1100px) {
    .goals-grid { grid-template-columns: repeat(2,1fr); }
    .sire-grid { grid-template-columns: repeat(2,1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   Media Queries — Small Tablet (≤900px)
   ========================================================================== */
@media (max-width: 900px) {
    :root { --section-padding: 4.5rem 1.5rem; }
    .section-header h2 { font-size: 2.2rem; }
    .premium-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .breeding-diagram { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }
    .diagram-step { width: 100%; }
}

/* ==========================================================================
   Media Queries — Mobile (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root { --section-padding: 4rem 1.25rem; }

    /* ----- Navigation ----- */
    .mobile-menu-btn { display: flex; }
    .nav-container { height: 72px; }
    .logo-img { height: 48px; }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--green-500);
        flex-direction: column;
        align-items: center; justify-content: center;
        gap: 0;
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    .nav-link {
        font-size: 1.6rem;
        font-family: var(--font-heading);
        color: var(--bg-off-white);
        padding: 1rem 2rem;
        width: 100%; text-align: center;
        border-bottom: 1px solid rgba(255,253,248,.08);
        letter-spacing: .02em;
    }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.active {
        color: var(--accent-amber);
        background: rgba(255,253,248,.05);
    }
    /* The CTA button inside the nav */
    .nav-links .btn-cta {
        margin-top: 2rem;
        padding: .85rem 2.25rem;
        font-size: 1rem;
        border-radius: 99px;
    }
    .mobile-menu-btn span { background: var(--green-500); }

    /* ----- Hero ----- */
    .hero { padding-top: 72px; min-height: 100svh; }
    .hero-content { max-width: 100%; padding: 1.5rem 0 5rem; }
    .hero-content h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-bottom: 1.25rem;
    }
    .hero-content .subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: .85rem;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    .hero-scroll-cue { bottom: 1.5rem; }

    /* ----- Stats Strip ----- */
    .stats-strip { padding: 2.5rem 1rem; }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
        justify-items: center;
    }
    .stat-divider { display: none; }
    .stat-number { font-size: 2.75rem; }
    .stat-suffix { font-size: 1.6rem; }
    .stat-label { font-size: .78rem; }

    /* ----- Section Headers ----- */
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }

    /* ----- Goals Cards ----- */
    .goals-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .goal-card-inner { padding: 2rem 1.5rem 1.75rem; }

    /* ----- Breeding Section ----- */
    .sire-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .sire-card { padding: 1.5rem 1rem; }
    .step-box { padding: 1.5rem 1.25rem; }

    /* ----- Premium / About Images ----- */
    .img-frame img { height: 300px; }
    .about-img { height: 300px; }
    /* Reorder: image first, then text on mobile */
    .premium-grid { gap: 2rem; }
    .premium-content h2 { font-size: 2rem; }
    .premium-tags { gap: .5rem; }

    /* Reorder about grid so image is on top */
    .about-grid { gap: 2.5rem; }
    .about-img-wrap { order: -1; }
    .about-content h2 { font-size: 2rem; }
    .about-pullquote { padding: 1rem 1.25rem; font-size: 1rem; }
    .about-values { gap: .75rem; }

    /* ----- Timeline ----- */
    .timeline-item { grid-template-columns: 44px 1fr; gap: 1rem; }
    .timeline-card { padding: 1.5rem; }

    /* ----- CTA Banner ----- */
    .cta-banner { padding: 4rem 1.25rem; }
    .cta-banner h2 { font-size: 1.75rem; }
    .cta-banner p { font-size: .95rem; }
    .cta-flex { gap: 1rem; }
    .cta-icon-wrap { width: 60px; height: 60px; font-size: 1.5rem; }

    /* ----- Contact Form ----- */
    .contact-grid { gap: 2rem; }
    .info-card { padding: 1.75rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 1.75rem; }
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: .9rem; padding: .75rem 1rem; }

    /* ----- Mission Strip ----- */
    .mission-strip { padding: 3.5rem 1.25rem; }
    .mission-strip blockquote { font-size: 1.2rem; }

    /* ----- Footer ----- */
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-top { padding: 3.5rem 1.25rem 2rem; }
    .footer-brand p { max-width: 100%; }
    .footer-logo-img { height: 64px; }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: .4rem;
    }
    .footer-bottom { padding: 1rem 1.25rem; }
}

/* ==========================================================================
   Media Queries — Small Mobile (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
    :root { --section-padding: 3.5rem 1rem; }

    /* Fluid single-column stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .stat-number { font-size: 2.25rem; }

    /* Hero tighter */
    .hero-content h1 { font-size: 2rem; }
    .hero-eyebrow { font-size: .7rem; letter-spacing: .12em; }

    /* Sire cards stacked */
    .sire-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Goal cards tighter padding */
    .goal-card-inner { padding: 1.5rem 1.25rem; }

    /* Buttons full width */
    .btn { padding: .9rem 1.25rem; font-size: .9rem; }

    /* Contact info tighter */
    .info-card { padding: 1.25rem; }
    .info-item { gap: .75rem; }
    .info-icon { width: 38px; height: 38px; font-size: 1rem; }

    /* Timeline compact */
    .timeline-item { grid-template-columns: 36px 1fr; gap: .75rem; }
    .tl-dot { width: 14px; height: 14px; }
    .timeline-card { padding: 1.25rem; }
    .timeline-card h3 { font-size: 1rem; }

    /* Form */
    .contact-form { padding: 1.25rem; }

    /* Footer bottom wraps nicely */
    .footer-bottom p { font-size: .78rem; }

    /* Back to top: smaller on tiny screens */
    .back-to-top { width: 42px; height: 42px; bottom: 1.25rem; right: 1.25rem; }
}
