/* ==========================================================================
   LONG STRIDE GROUP DESIGN SYSTEM: "FANCY BUT SERIOUS"
   Equestrian Heritage • Private Office Prestige • High-Performance AgTech
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Palette: The Grasslands, Prairie Gold & Saddle Leather Estate */
    --color-earth-deep: #0d120c;       /* Deepest grassland loam / dark earth */
    --color-earth-surface: #141c12;    /* Rich grassland meadow dark surface */
    --color-earth-border: rgba(212, 163, 89, 0.22); /* Warm wheat brass border */
    
    --color-brown-deep: #17110a;       /* Deep saddle loam */
    --color-brown-surface: #241a11;    /* Rich chestnut ranch timber */
    --color-saddle-leather: #8a4e24;   /* Warm cognac / saddle leather */
    
    --color-cream-base: #faf8f5;       /* Crisp warm ivory / heavy linen paper */
    --color-cream-surface: #f3eee5;    /* Secondary cream card */
    --color-cream-border: #e2dbcd;
    
    --color-gold-champagne: #d4a348;   /* Warm prairie golden wheat */
    --color-gold-light: #f5d485;       /* Sunlit golden grassland yellow */
    --color-gold-dark: #9a6d25;
    
    --color-racing-green: #0d2215;     /* Deep British racing / grassland forest green */
    --color-forest-surface: #132b1c;   /* Rich pine & meadow moss surface */
    --color-emerald-accent: #22c55e;   /* Vibrant grassland prairie green */
    --color-emerald-soft: #4ade80;
    
    --color-text-dark: #14120e;
    --color-text-muted: #6b6357;
    --color-text-light: #fdfbf7;
    --color-text-light-muted: #d5cbbe; /* Warm oat linen - NO cool blue */
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-cream-base);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   GATEWAY PAGE: PRIVATE OFFICE & SPLIT-SCREEN PORTAL
   ========================================================================== */
.gateway-body {
    background-color: var(--color-earth-deep);
    color: var(--color-text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.gateway-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    background: rgba(13, 18, 12, 0.96);
    border-bottom: 1px solid var(--color-earth-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
}

.brand-emblem-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.monogram-shield {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-gold-champagne);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-gold-champagne);
    letter-spacing: 2px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 80%);
}

.brand-naming {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 3.5px;
    font-weight: 600;
    color: #fff;
}

.brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--color-gold-light);
    text-transform: uppercase;
    margin-top: 1px;
}

.gateway-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gateway-nav a {
    color: var(--color-text-light-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.gateway-nav a:hover {
    color: #fff;
}

.btn-nav-equestrian {
    padding: 8px 18px;
    border: 1px solid var(--color-gold-champagne);
    color: var(--color-gold-champagne) !important;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-nav-equestrian:hover {
    background: var(--color-gold-champagne);
    color: #000 !important;
}

.btn-nav-tech {
    padding: 8px 18px;
    border: 1px solid var(--color-emerald-accent);
    color: var(--color-emerald-accent) !important;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-nav-tech:hover {
    background: var(--color-emerald-accent);
    color: #000 !important;
}

/* Panoramic Pasture Hero Backdrop (Matching Claude Reference) */
.gateway-hero-backdrop {
    position: absolute;
    top: 80px;
    left: 28px;
    right: 28px;
    height: 840px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(14, 20, 13, 0.35) 0%, rgba(20, 26, 17, 0.6) 45%, rgba(16, 22, 14, 0.92) 85%, var(--color-earth-deep) 100%), url('images/golden_pasture_horse.jpg') center 24% / cover no-repeat;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--color-earth-border);
}

/* Gateway Hero Introduction */
.gateway-hero-intro {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 60px 24px 30px;
    max-width: 960px;
    margin: 0 auto;
}

.hero-brand-cursive {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2.8rem, 8vw, 4.4rem);
    font-weight: 400;
    color: #e6c88b;
    line-height: 1.05;
    margin-bottom: -6px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
    letter-spacing: 1.5px;
    word-break: break-word;
}

.hero-subbrand {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: clamp(4px, 2.5vw, 12px);
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-slogan-kicker {
    font-family: var(--font-heading);
    font-size: clamp(0.65rem, 2vw, 0.72rem);
    letter-spacing: clamp(1.5px, 1vw, 3.5px);
    color: var(--color-gold-champagne);
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
    line-height: 1.5;
}

.prestige-kicker {
    font-family: var(--font-heading);
    font-size: clamp(0.65rem, 2vw, 0.72rem);
    letter-spacing: clamp(2px, 1vw, 4px);
    color: var(--color-gold-champagne);
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
    line-height: 1.5;
}

.gateway-hero-intro h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: clamp(1.5px, 1vw, 3px);
    line-height: 1.25;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    word-break: break-word;
}

.gateway-hero-intro p {
    font-size: 1.05rem;
    color: var(--color-text-light-muted);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 300;
}

/* Split-Screen Interactive Cards */
.gateway-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 20px 60px 80px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.split-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 44px;
    border: 1px solid var(--color-navy-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-bg-equestrian {
    background: linear-gradient(180deg, rgba(8, 13, 20, 0.25) 0%, rgba(8, 13, 20, 0.92) 75%), url('images/stable_care_bg.jpg') center/cover;
}

.card-bg-renewables {
    background: linear-gradient(180deg, rgba(7, 28, 20, 0.2) 0%, rgba(7, 28, 20, 0.92) 75%), url('images/sam_harrity_portrait.jpg') top center/cover;
}

.split-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.split-card.equestrian-side:hover {
    border-color: var(--color-gold-champagne);
}

.split-card.renewables-side:hover {
    border-color: var(--color-emerald-accent);
}

.card-inner {
    position: relative;
    z-index: 5;
}

.card-category-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    margin-bottom: 24px;
    border-radius: 2px;
}

.gold-tag {
    background: rgba(197, 160, 89, 0.12);
    color: var(--color-gold-light);
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.emerald-tag {
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-emerald-soft);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.executive-credit {
    margin-bottom: 24px;
}

.exec-role-label {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-text-light-muted);
    display: inline-block;
    margin-bottom: 4px;
}

.exec-name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    letter-spacing: 2px;
    color: #fff;
    margin: 4px 0 8px;
    font-weight: 500;
}

.exec-pedigree {
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
    line-height: 1.65;
    letter-spacing: 0.25px;
}

.division-headline {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 500;
}

.division-abstract {
    font-size: 0.98rem;
    color: var(--color-text-light-muted);
    margin-bottom: 28px;
    line-height: 1.85;
    letter-spacing: 0.25px;
}

.heritage-bullets {
    list-style: none;
    margin-bottom: 28px;
}

.heritage-bullets li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.55;
    letter-spacing: 0.25px;
}

.bullet-crest {
    font-size: 0.75rem;
}
.bullet-crest.gold { color: var(--color-gold-champagne); }
.bullet-crest.emerald { color: var(--color-emerald-accent); }

.door-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 28px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-gold-action {
    background: var(--color-gold-champagne);
    color: #171109;
    border: 1px solid var(--color-gold-champagne);
    font-weight: 700;
}
.btn-gold-action:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    box-shadow: 0 8px 24px rgba(212, 163, 89, 0.4);
}

.btn-emerald-action {
    background: var(--color-emerald-accent);
    color: #08170d;
    border: 1px solid var(--color-emerald-accent);
    font-weight: 700;
}
.btn-emerald-action:hover {
    background: var(--color-emerald-soft);
    border-color: var(--color-emerald-soft);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

/* Leadership Story Section */
.leadership-section {
    background: linear-gradient(180deg, #0d120c 0%, #151e14 45%, #10170f 100%);
    border-top: 1px solid var(--color-earth-border);
    padding: 90px 60px;
    scroll-margin-top: 90px;
}

.leadership-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-gold-champagne);
    margin-bottom: 12px;
    display: block;
}

.section-headline {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 500;
}

.section-summary {
    font-size: 1.05rem;
    color: var(--color-text-light-muted);
    max-width: 800px;
    line-height: 1.7;
    margin-bottom: 50px;
}

.exec-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.exec-profile-card {
    background: rgba(21, 30, 19, 0.7);
    border: 1px solid var(--color-earth-border);
    padding: 44px;
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.exec-card-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.initial-badge {
    width: 56px;
    height: 56px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.badge-gold {
    border: 1px solid var(--color-gold-champagne);
    color: var(--color-gold-champagne);
    background: rgba(197, 160, 89, 0.08);
}

.badge-emerald {
    border: 1px solid var(--color-emerald-accent);
    color: var(--color-emerald-accent);
    background: rgba(16, 185, 129, 0.08);
}

.exec-profile-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 6px;
}

.exec-profile-title {
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-light-muted);
}

.exec-bio {
    font-size: 0.98rem;
    color: var(--color-text-light-muted);
    line-height: 1.85;
    letter-spacing: 0.25px;
    margin-bottom: 30px;
}

.exec-bio p {
    margin-bottom: 18px;
    line-height: 1.85;
    letter-spacing: 0.25px;
    color: var(--color-text-light-muted);
}

.exec-bio p:last-child {
    margin-bottom: 0;
}

.credentials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

.cred-pill {
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid rgba(212, 163, 89, 0.28);
    background: rgba(212, 163, 89, 0.08);
    color: var(--color-gold-light);
    border-radius: 3px;
    line-height: 1.4;
}

.exec-profile-card:nth-child(2) .cred-pill {
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.08);
    color: #86efac;
}

/* Footer */
.gateway-footer {
    padding: 40px 60px;
    background: #080c07;
    border-top: 1px solid var(--color-earth-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--color-gold-light);
    margin-bottom: 4px;
}

.footer-left span {
    font-size: 0.75rem;
    color: var(--color-text-light-muted);
}

.footer-right p {
    font-size: 0.75rem;
    color: var(--color-text-light-muted);
}

/* ==========================================================================
   SUBPAGE STYLES: EQUESTRIAN & RANCHES (FANCY & REFINED)
   ========================================================================== */
.estate-header {
    background: #fff;
    border-bottom: 1px solid var(--color-cream-border);
    padding: 20px 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.estate-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estate-brand {
    text-align: center;
}

.estate-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 3.5px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.estate-brand span {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--color-saddle-leather);
    text-transform: uppercase;
    display: block;
}

.estate-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.estate-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.estate-nav a:hover {
    color: var(--color-text-dark);
}

.cross-switch-btn {
    padding: 7px 16px;
    border: 1px solid #d1d5db;
    border-radius: 2px;
    font-size: 0.75rem !important;
    color: var(--color-text-dark) !important;
    background: #f8fafc;
}

.cross-switch-btn:hover {
    background: #f1f5f9;
}

/* Hero Section - Toned Down Luxury Equestrian Background */
.estate-hero {
    position: relative;
    padding: 110px 24px 110px;
    background: linear-gradient(90deg, rgba(13, 18, 12, 0.90) 0%, rgba(20, 28, 18, 0.70) 50%, rgba(23, 17, 10, 0.25) 100%), url('images/ranches_hero_sporthorse.jpg') center right / cover no-repeat;
    border-bottom: 1px solid var(--color-earth-border);
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.estate-hero-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.estate-hero-content {
    max-width: 760px;
    padding-bottom: 0;
}

.estate-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.9rem);
    letter-spacing: clamp(1px, 1vw, 2.5px);
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 22px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    word-break: break-word;
}

.estate-hero p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 3vw, 1.35rem);
    color: #e2e8f0;
    line-height: 1.65;
    margin-bottom: 34px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.estate-hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.estate-hero-avatar-col {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.estate-hero-cutout {
    height: 530px;
    max-height: 80vh;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(-10px 20px 35px rgba(0, 0, 0, 0.85));
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.avatar-name-badge {
    position: absolute;
    bottom: 28px;
    left: 10px;
    background: rgba(13, 18, 12, 0.88);
    border: 1px solid var(--color-gold-champagne);
    padding: 10px 18px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    z-index: 3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.avatar-name-badge .badge-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 600;
}

.avatar-name-badge .badge-role {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: var(--color-gold-champagne);
    text-transform: uppercase;
    font-weight: 500;
}

.btn-estate-primary {
    padding: 14px 32px;
    background: var(--color-gold-champagne);
    color: #0d120c;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(212, 163, 89, 0.35);
}

.btn-estate-primary:hover {
    background: #e5b358;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 89, 0.5);
}

.btn-estate-secondary {
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.btn-estate-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.gold-kicker {
    color: var(--color-gold-champagne) !important;
}

/* Sections */
.estate-section {
    padding: 96px 24px;
}

.estate-container {
    max-width: 1240px;
    margin: 0 auto;
}

.estate-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px;
}

.estate-section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    letter-spacing: 2.5px;
    color: var(--color-text-dark);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.estate-section-header p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

/* Property Showcase Cards */
.estate-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 36px;
}

.estate-property-card {
    background: #fff;
    border: 1px solid var(--color-cream-border);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.estate-property-card:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.estate-prop-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
}

.prop-tag {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    background: var(--color-navy-deep);
    color: #fff;
    border-radius: 2px;
}

.prop-tag.pipeline {
    background: var(--color-racing-green);
}

.estate-prop-details {
    padding: 32px;
}

.estate-prop-details h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.estate-prop-location {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-saddle-leather);
    font-weight: 600;
    margin-bottom: 16px;
}

.estate-prop-copy {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 22px;
}

.estate-prop-specs {
    list-style: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-bottom: 24px;
}

.estate-prop-specs li {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.estate-prop-action {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.estate-prop-action:hover {
    color: var(--color-gold-champagne);
}

/* Horses For Sale Showcase */
.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

.horse-profile-card {
    background: #fff;
    border: 1px solid var(--color-cream-border);
    border-radius: 2px;
    overflow: hidden;
}

.horse-visual {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 16px;
}

.badge-sold {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 2px;
    background: #64748b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
}

.badge-available {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 2px;
    background: var(--color-racing-green);
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
}

.horse-description {
    padding: 24px;
}

.horse-pedigree-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-saddle-leather);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.horse-description h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.horse-description p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.horse-trial-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
}

.horse-trial-link:hover {
    color: var(--color-gold-champagne);
}

/* Specific Horse Visuals */
.horse1 {
    background-image: url('images/horse_manuka_honey.jpg');
}

.horse2 {
    background-image: url('images/horse_blanc_de_blanc.jpg');
}

.horse3 {
    background-image: url('images/horse_mousetrap.jpg');
}

.horse4 {
    background-image: url('images/horse_lena.jpg');
}

/* Ranch Property Campuses */
.fl-bg {
    background-image: url('images/ranch_palm_beach.jpg');
}

.wy-bg {
    background-image: url('images/ranch_jackson_hole.jpg');
}

.exp-bg {
    background-image: url('images/ranch_expansion.jpg');
}

/* Luxury Subpage Form */
.subpage-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subpage-form input,
.subpage-form select,
.subpage-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(212, 163, 89, 0.35);
    border-radius: 3px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    transition: all 0.25s ease;
    outline: none;
}

.subpage-form input:focus,
.subpage-form select:focus,
.subpage-form textarea:focus {
    border-color: var(--color-gold-champagne);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 12px rgba(212, 163, 89, 0.25);
}

.subpage-form select option {
    background: #141c12;
    color: #ffffff;
}

/* ==========================================================================
   SUBPAGE STYLES: RENEWABLES & CLEANTECH (INSTITUTIONAL & SERIOUS)
   ========================================================================== */
.tech-header-serious {
    background: var(--color-racing-green);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tech-header-serious * {
    color: #fff;
}

.tech-hero-serious {
    padding: 130px 24px 110px;
    text-align: center;
    background: linear-gradient(180deg, rgba(7, 24, 17, 0.88) 0%, rgba(5, 20, 14, 0.96) 100%), url('images/pyrolysis_facility_clean.jpg') center/cover;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-hero-inner {
    max-width: 940px;
    margin: 0 auto;
}

.tech-hero-serious h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: clamp(1px, 1vw, 3px);
    line-height: 1.25;
    margin-bottom: 22px;
    text-transform: uppercase;
    word-break: break-word;
}

.tech-hero-serious p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--color-text-light-muted);
    line-height: 1.8;
    letter-spacing: 0.2px;
    margin-bottom: 34px;
    font-weight: 300;
}

/* Serious Metrics Strip */
.institutional-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #04140e;
    padding: 36px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inst-metric-box {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.inst-metric-box:last-child {
    border-right: none;
}

.metric-huge-stat {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-emerald-soft);
    letter-spacing: 1px;
}

.metric-caption {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
}

/* Calculator Box */
.calc-serious-box {
    background: #0b1c15;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 48px;
}

.calc-range-wrapper label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.calc-range-wrapper input[type="range"] {
    width: 100%;
    margin-bottom: 12px;
    height: 6px;
    border-radius: 3px;
    accent-color: var(--color-emerald-accent);
}

.calc-footnote {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 36px;
}

.calc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.calc-stat-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    text-align: center;
    border-radius: 2px;
}

.stat-figure {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.stat-caption {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-light-muted);
}

/* Renewables Process Architecture Showcase */
.process-diagram-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    background: #09120b;
}

.process-diagram-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.process-step-card {
    background: rgba(16, 28, 20, 0.65);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 6px;
    padding: 32px 28px;
    text-align: left;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    border-color: var(--color-emerald-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.step-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--color-emerald-accent);
    color: var(--color-emerald-accent);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.process-step-desc {
    font-size: 0.92rem;
    color: var(--color-text-light-muted);
    line-height: 1.75;
    letter-spacing: 0.2px;
}

/* Commodities Showcase Split */
.commodity-showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: rgba(13, 26, 18, 0.7);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 8px;
    padding: 44px;
    margin-bottom: 60px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.commodity-photo-frame {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.commodity-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.commodity-specs-list {
    list-style: none;
    margin-top: 20px;
}

.commodity-specs-list li {
    font-size: 0.9rem;
    color: var(--color-text-light-muted);
    line-height: 1.7;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-dot {
    color: var(--color-emerald-accent);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Deployment Cards with Photo Headers */
.deployment-card-visual {
    background: rgba(16, 28, 20, 0.75);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.deployment-card-visual:hover {
    border-color: var(--color-emerald-accent);
    transform: translateY(-4px);
}

.deployment-photo-header {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.deployment-photo-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deployment-card-visual:hover .deployment-photo-header img {
    transform: scale(1.04);
}

.deployment-body {
    padding: 36px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Current Practices vs Upcycling Comparison */
.practices-comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.practice-card-flawed {
    background: rgba(30, 20, 20, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 6px;
    padding: 24px;
    text-align: left;
}

.practice-card-solution {
    background: rgba(14, 38, 24, 0.85);
    border: 1px solid var(--color-emerald-accent);
    border-radius: 8px;
    padding: 36px;
    text-align: left;
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.15);
    margin-bottom: 60px;
}

/* Multi-Biomass Grid */
.biomass-types-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.biomass-pill {
    background: rgba(16, 30, 20, 0.6);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 4px;
    padding: 16px 12px;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-emerald-soft);
    font-weight: 600;
}

/* Deployment Models and Inquiry Split Grids */
.deployment-models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 50px;
}

.inquiry-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


/* Founder circular thumbnails in leadership section */
.founder-photo-thumb {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold-champagne);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.thumb-emerald {
    border-color: var(--color-emerald-accent);
}


/* ==========================================================================
   SIDE BY SIDE CARDS WITH STANDING PARTNER AVATARS (CHARACTER SELECT)
   ========================================================================== */
.gateway-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 60px 48px 95px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.char-select-card {
    position: relative;
    border-radius: 6px;
    background: transparent;
    overflow: visible;
    cursor: pointer;
    min-height: 620px;
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    perspective: 1200px;
}

.char-select-card:hover {
    transform: translateY(-6px);
}

/* Rounded Backdrop Frame (Clips backgrounds & gradients neatly) */
.card-backdrop-frame {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-earth-border);
    background: #131a11;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.card-danielle:hover .card-backdrop-frame {
    border-color: var(--color-gold-champagne);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 163, 89, 0.2);
}

.card-sam:hover .card-backdrop-frame {
    border-color: var(--color-emerald-accent);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 30px rgba(34, 197, 94, 0.2);
}

/* Background images: Danielle has jumping photo, Sam has clean-tech bio-refinery */
.bg-danielle {
    background-image: url('images/about_img2.jpeg');
    background-size: cover;
    background-position: center top;
}

.bg-sam {
    background-image: url('images/sam_business_bg.jpg');
    background-size: cover;
    background-position: center;
}

.card-ambient-bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.char-select-card:hover .card-ambient-bg {
    opacity: 0.48;
    transform: scale(1.03);
}

/* Directional gradient overlays for maximum contrast with copy */
.card-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Danielle on Left Card: warm saddle leather brown & golden prairie earth */
.overlay-danielle-left {
    background: linear-gradient(90deg, rgba(26, 18, 10, 0.97) 0%, rgba(36, 25, 15, 0.90) 55%, rgba(45, 30, 18, 0.25) 100%);
}

/* Sam on Right Card: lush grassland green & deep meadow moss */
.overlay-sam-right {
    background: linear-gradient(270deg, rgba(12, 24, 16, 0.97) 0%, rgba(18, 38, 25, 0.90) 55%, rgba(24, 52, 34, 0.25) 100%);
}

/* Standing Transparent Avatar Cutouts - Breaking out over top & bottom */
.char-avatar-cutout {
    position: absolute;
    top: -38px;
    bottom: -28px;
    height: calc(100% + 66px);
    max-height: 720px;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 12;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    will-change: transform, filter;
}

/* Danielle on the inner right of the Left Card (leaning back toward Sam) */
.cutout-danielle-inner {
    right: 0px;
    object-position: bottom right;
    filter: drop-shadow(-8px 20px 30px rgba(0, 0, 0, 0.9));
}

/* Sam on the inner left of the Right Card (leaning back toward Danielle) */
.cutout-sam-inner {
    left: 0px;
    object-position: bottom left;
    filter: drop-shadow(8px 20px 30px rgba(0, 0, 0, 0.9));
}

/* Float Up on Hover: lifts up further in 3D */
.char-select-card:hover .char-avatar-cutout {
    transform: translateY(-22px) scale(1.03);
    filter: drop-shadow(0 34px 52px rgba(0, 0, 0, 0.98)) brightness(1.06);
}

/* Copy Columns */
.char-copy-col {
    position: relative;
    z-index: 15;
    width: 60%;
    max-width: 440px;
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.copy-left {
    margin-right: auto;
}

.copy-right {
    margin-left: auto;
    text-align: left;
}

.char-card-top-content {
    margin-bottom: 24px;
}

.char-card-bottom-content {
    margin-top: auto;
}

.char-header-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.char-slot-num {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.gold-text { color: var(--color-gold-champagne); }
.emerald-text { color: var(--color-emerald-accent); }

/* Couple Partnership Photo Banner in Leadership Section */
.couple-hero-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(36, 26, 17, 0.45);
    border: 1px solid var(--color-earth-border);
    padding: 32px 40px;
    border-radius: 6px;
    margin-bottom: 40px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.couple-photo-img {
    width: 140px;
    height: 210px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--color-gold-champagne);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

/* --- TABLETS & SMALL LAPTOPS (<= 1100px) --- */
@media (max-width: 1100px) {
    .gateway-split-grid {
        grid-template-columns: 1fr;
        padding: 40px 32px 70px;
        gap: 40px;
    }
    .char-select-card {
        min-height: 540px;
    }
    .char-copy-col {
        width: 68%;
        padding: 36px 28px;
    }
    .char-avatar-cutout {
        max-height: 500px;
        opacity: 0.9;
    }
    .couple-hero-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }
    .couple-photo-img {
        width: 160px;
        height: 240px;
        margin: 0 auto;
    }
    .practices-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .biomass-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .commodity-showcase-split {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 28px;
    }
    .deployment-models-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .inquiry-grid-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .exec-cards-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .institutional-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 30px 24px;
    }
    .inst-metric-box {
        border-right: none;
    }
    .inst-metric-box:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* --- TABLETS & LANDSCAPE PHONES (<= 860px) --- */
@media (max-width: 860px) {
    /* Gateway Header & Nav */
    .gateway-header {
        padding: 18px 20px;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }
    .gateway-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
        width: 100%;
    }
    .btn-nav-equestrian,
    .btn-nav-tech {
        padding: 7px 14px;
        font-size: 0.72rem;
    }

    /* Subpage Headers */
    .estate-header,
    .tech-header-serious {
        padding: 18px 20px;
    }
    .estate-header-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }
    .estate-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
    }

    /* Gateway Hero Backdrop */
    .gateway-hero-backdrop {
        top: 60px;
        left: 12px;
        right: 12px;
        height: 560px;
        border-radius: 16px;
    }
    .gateway-hero-intro {
        padding: 40px 16px 20px;
    }

    /* Subpage Heroes */
    .estate-hero {
        padding: 80px 20px 70px;
        min-height: auto;
    }
    .tech-hero-serious {
        padding: 90px 20px 70px;
    }

    /* Calculator Stats */
    .calc-stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .calc-serious-box {
        padding: 32px 20px;
    }

    /* General Section Padding */
    .estate-section {
        padding: 64px 20px;
    }
    .leadership-section {
        padding: 64px 20px;
    }
}

/* --- STANDARD MOBILE SCREENS (<= 768px) --- */
@media (max-width: 768px) {
    .gateway-split-grid {
        padding: 20px 16px 50px;
        gap: 32px;
    }
    .char-select-card {
        min-height: auto;
        border-radius: 6px;
        overflow: hidden;
    }
    .char-copy-col {
        width: 100%;
        max-width: 100%;
        padding: 32px 20px;
    }
    .char-avatar-cutout {
        opacity: 0.22;
        right: -10px !important;
        left: auto !important;
        max-height: 380px;
        top: auto;
        bottom: 0;
        height: auto;
    }
    .overlay-danielle-left {
        background: linear-gradient(180deg, rgba(26, 18, 10, 0.96) 0%, rgba(36, 25, 15, 0.94) 65%, rgba(45, 30, 18, 0.90) 100%);
    }
    .overlay-sam-right {
        background: linear-gradient(180deg, rgba(12, 24, 16, 0.96) 0%, rgba(18, 38, 25, 0.94) 65%, rgba(24, 52, 34, 0.90) 100%);
    }
    .door-action-btn {
        width: 100%;
        white-space: normal;
        padding: 14px 16px;
        font-size: 0.78rem;
    }
    .estate-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-estate-primary,
    .btn-estate-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Executive Profiles */
    .exec-profile-card {
        padding: 28px 20px;
    }
    .exec-card-top {
        gap: 16px;
    }
    .credentials-list {
        gap: 8px;
    }
    .cred-pill {
        font-size: 0.68rem;
        padding: 6px 10px;
    }

    /* Practice Solution Box */
    .practice-card-solution {
        padding: 24px 20px;
    }
    .practice-card-solution > div {
        flex-direction: column;
        align-items: flex-start;
    }
    .practice-card-solution a {
        width: 100%;
        text-align: center;
    }

    /* Footers */
    .gateway-footer {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 32px 20px;
    }
    .footer-left,
    .footer-right {
        text-align: center;
    }

    /* Form Fields - Prevent iOS auto-zoom */
    .subpage-form input,
    .subpage-form select,
    .subpage-form textarea {
        font-size: 16px !important;
        padding: 12px 14px;
    }
}

/* --- SMALL MOBILE SCREENS (<= 580px) --- */
@media (max-width: 580px) {
    .institutional-metrics-bar {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 16px;
    }
    .inst-metric-box {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 16px;
    }
    .inst-metric-box:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .practices-comparison-grid {
        grid-template-columns: 1fr;
    }
    .biomass-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .biomass-pill {
        padding: 12px 8px;
        font-size: 0.75rem;
    }
    .brand-title {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    .brand-subtitle {
        font-size: 0.58rem;
        letter-spacing: 1px;
    }
    .estate-prop-details {
        padding: 22px 16px;
    }
    .horse-description {
        padding: 20px 16px;
    }
    .calc-range-wrapper label {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* --- ULTRA-COMPACT MOBILE (<= 380px) --- */
@media (max-width: 380px) {
    .biomass-types-grid {
        grid-template-columns: 1fr;
    }
    .gateway-split-grid {
        padding: 16px 10px 40px;
    }
    .char-copy-col {
        padding: 24px 14px;
    }
    .door-action-btn {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }
}
