:root {
    --primary: #184a32;
    --primary-light: #236544;
    --primary-dark: #0f3020;
    --gold: #c59b27;
    --gold-light: #e5b842;
    --gold-dark: #9e7a17;
    --terracotta: #b84a29;
    --dark: #121c15;
    --charcoal: #2d3730;
    --muted: #6c757d;
    --linen: #f9f8f5;
    --cream: #f4efe6;
    --sand: #ede6d8;
    --border-color: #e5dec9;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --box-shadow: 0 10px 30px rgba(18, 28, 21, 0.08);
    --box-shadow-hover: 0 18px 40px rgba(18, 28, 21, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--linen);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
}

/* Utilities & Accents */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; color: #fff; }
.text-primary-dark { color: var(--primary-dark) !important; }
.bg-linen { background-color: var(--linen) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; color: #fff; }

.section-title {
    font-size: 2.4rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 12px 0 0;
}
.section-title.text-center::after {
    margin: 12px auto 0;
}

/* Top bar */
.topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(197, 155, 39, 0.25);
}
.topbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}
.topbar a:hover {
    color: var(--gold-light);
}

/* Main Navbar */
.main-navbar {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin-bottom: 0 !important;
    border-bottom: none !important;
}
main {
    margin: 0 !important;
    padding: 0 !important;
}
.main-navbar .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.main-navbar .navbar-brand span {
    color: var(--gold);
}
.main-navbar .brand-tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-top: -3px;
}
.main-navbar .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--charcoal);
    padding: 0.6rem 0.9rem !important;
    position: relative;
    transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
}
.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background-color: var(--gold);
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(24, 74, 50, 0.25);
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 74, 50, 0.35);
}

.btn-gold-custom {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    color: #1a1a1a;
    font-weight: 700;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.25);
    transition: var(--transition);
}
.btn-gold-custom:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 155, 39, 0.35);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary-dark);
}

/* Hero Section & Dynamic Slider */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.hero-carousel-item {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
}
.hero-carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 48, 32, 0.88) 0%, rgba(15, 48, 32, 0.82) 50%, rgba(10, 30, 20, 0.92) 100%);
    z-index: 1;
}
.hero-carousel-item .container {
    position: relative;
    z-index: 2;
}
.hero-carousel-indicators {
    bottom: 25px;
    z-index: 5;
    margin-bottom: 0;
}
.hero-carousel-indicators [data-bs-target] {
    width: 32px;
    height: 5px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
    margin: 0 4px;
}
.hero-carousel-indicators .active {
    width: 50px;
    background-color: var(--gold);
}
.hero-carousel-control {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: var(--transition);
    z-index: 6;
}
.hero-carousel-control:hover {
    background: var(--gold);
    color: #1a1a1a;
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.4);
}
.hero-carousel-control-prev {
    left: 20px;
}
.hero-carousel-control-next {
    right: 20px;
}
@media (max-width: 768px) {
    .hero-carousel-control {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-carousel-item {
        min-height: 75vh;
        padding: 60px 0 80px;
    }
}
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 48, 32, 0.82), rgba(15, 48, 32, 0.88)), url('../images/hero_bg_original.jpeg') center center / cover no-repeat;
    color: #ffffff;
    padding: 100px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 155, 39, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: #ffffff;
    margin: 20px 0;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin-bottom: 30px;
}
.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background: radial-gradient(circle, rgba(197, 155, 39, 0.15) 0%, transparent 70%);
}
.page-header h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
.breadcrumb-custom .active {
    color: var(--gold);
}

/* Modern Card */
.modern-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--gold);
}
.modern-card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}
.modern-card:hover .modern-card-img {
    transform: scale(1.05);
}
.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

/* Stat Box */
.stat-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}
.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--box-shadow-hover);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 35px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 10px;
    width: 2px;
    background: var(--gold);
}
.timeline-item {
    position: relative;
    margin-bottom: 35px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--gold);
}

/* Gallery Grid */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 48, 32, 0.9), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Dynamic Gallery Filter Navigation & Animation */
.gallery-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.gallery-filter-btn {
    background: #ffffff;
    color: var(--charcoal);
    border: 1.5px solid var(--border-color);
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.gallery-filter-btn:hover {
    border-color: var(--gold);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(24, 74, 50, 0.28);
}
.gallery-filter-btn .badge-pill {
    background: rgba(0, 0, 0, 0.07);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}
.gallery-filter-btn.active .badge-pill {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.gallery-item-wrap {
    transition: all 0.4s ease;
}
.gallery-item-wrap.is-hidden {
    display: none !important;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--gold);
}
.product-img {
    height: 260px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Founder Showcase */
.founder-banner {
    background: linear-gradient(135deg, var(--cream), #ffffff);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    position: relative;
    box-shadow: var(--box-shadow);
}
.founder-img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 6px solid #ffffff;
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 25px;
    border-top: 3px solid var(--gold);
}
footer h5 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 22px;
    position: relative;
}
footer h5::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: var(--gold);
    margin-top: 8px;
}
footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}
footer a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}
.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social-icon:hover {
    background: var(--gold);
    color: #121c15;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 1.8rem; }
    .founder-banner { padding: 30px 20px; }
}


/* Foundation design refresh — shared across every public page. */
:root {
    --primary: #205640;
    --primary-dark: #102f26;
    --gold: #a87919;
    --gold-light: #efc76b;
    --linen: #fcfaf6;
    --cream: #f3efe5;
    --border-color: #e5e5da;
    --box-shadow: 0 8px 28px rgb(16 47 38 / 5%);
    --box-shadow-hover: 0 18px 40px rgb(16 47 38 / 11%);
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: #e8ce94; color: var(--primary-dark); }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.025em; }
p { text-wrap: pretty; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1100; padding: 12px 22px; background: white; color: var(--primary-dark); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.topbar { font-size: .73rem; }
.topbar .container { gap: 16px; }
.main-navbar { padding-block: 18px; background: rgb(255 255 255 / 97%); border-bottom: 1px solid var(--border-color) !important; transition: padding .25s ease, box-shadow .25s ease; }
.main-navbar.is-scrolled { padding-block: 10px; box-shadow: 0 6px 24px rgb(16 47 38 / 10%); }
.main-navbar .navbar-brand { font-size: 1.2rem; letter-spacing: .025em; line-height: 1.35; }
.main-navbar .brand-tagline { font-size: .58rem; letter-spacing: .12em; color: #687269; margin-top: 4px; }
.main-navbar .navbar-brand > div:first-child { flex-shrink: 0; }
.main-navbar .nav-link { font-size: .8rem; padding-inline: .6rem !important; }
.main-navbar .nav-link::after { content: ''; position: absolute; bottom: 0; left: .6rem; right: .6rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-navbar .nav-link:hover::after, .main-navbar .nav-link.active::after { transform: scaleX(1); left: .6rem; right: .6rem; }
.btn-primary-custom, .btn-gold-custom, .btn-outline-custom, .btn-outline-white { border-radius: 8px; padding: .85rem 1.5rem; font-size: .86rem; box-shadow: none; }
.btn-gold-custom { background: var(--gold-light); color: #253323; }
.btn-gold-custom:hover { background: #f6d78d; color: #253323; box-shadow: 0 7px 20px rgb(197 155 39 / 18%); }
.btn-primary-custom { background: var(--primary); }
.btn-sm.btn { padding: .6rem 1rem; font-size: .78rem; }
.hero-carousel-item { display: none; min-height: min(780px, 86svh); padding: 100px 0 110px; }
.hero-carousel-item.active, .hero-carousel-item.carousel-item-next, .hero-carousel-item.carousel-item-prev { display: flex; }
.hero-carousel-item::before { background: linear-gradient(90deg, rgb(9 35 26 / 94%) 0%, rgb(9 35 26 / 80%) 45%, rgb(9 35 26 / 34%) 100%); }
.hero-title { font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1.13; font-weight: 600; max-width: 850px; }
.hero-subtitle { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.85; max-width: 560px; }
.hero-badge { font-size: .68rem; letter-spacing: .13em; border-color: rgb(239 199 107 / 45%); background: rgb(239 199 107 / 9%); padding: 9px 14px; }
.hero-card { border-radius: 12px; padding: 28px; background: rgb(16 47 38 / 58%); border-color: rgb(239 199 107 / 30%); box-shadow: 0 24px 64px rgb(0 0 0 / 16%); }
.hero-carousel-control { top: auto; bottom: 28px; transform: none; width: 42px; height: 42px; }
.hero-carousel-control-prev { left: auto; right: 82px; }
.hero-carousel-control-next { right: 28px; }
.hero-carousel-indicators { justify-content: flex-start; margin-left: max(24px, calc((100% - 1140px) / 2)); bottom: 45px; margin-right: 180px; }
.hero-carousel-indicators [data-bs-target] { width: 22px; height: 3px; }
.carousel-pause { position: absolute; right: 140px; bottom: 28px; z-index: 7; width: 42px; height: 42px; border: 1px solid #ffffff60; border-radius: 50%; background: #102f2699; color: white; }
.page-header { padding: clamp(48px, 7vw, 95px) 0; background: radial-gradient(ellipse at top right, #35604a 0, transparent 65%), var(--primary-dark); border-bottom: 5px solid var(--gold-light); }
.page-header > .container { position: relative; z-index: 1; }
.page-header::after { pointer-events: none; width: 45%; opacity: .45; background: repeating-linear-gradient(125deg, transparent 0 28px, #efc76b15 29px 30px); }
.page-header h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.page-header .text-white-50, .hero-card .text-white-50 { color: #ffffffbd !important; }
.breadcrumb-custom { font-size: .82rem; }
.breadcrumb-custom .active { color: var(--gold-light); }
main > section.py-5 { padding-block: clamp(48px, 6vw, 88px) !important; }
.section-subtitle { font-size: .7rem; letter-spacing: .18em; margin-bottom: 14px; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.22; }
.section-title::after { width: 42px; background: var(--gold); margin-top: 20px; height: 2px; }
.modern-card, .product-card { border-radius: 12px; border-color: #e3e6dc; }
.modern-card h5, .product-card h4 { line-height: 1.4; }
.modern-card-img { height: 250px; }
.stat-box { border: 0; box-shadow: none; background: transparent; border-radius: 0; padding: 14px 10px; }
.stat-number { font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 600; }
.stat-box h6 { font-family: var(--font-body); font-size: .86rem; font-weight: 700; margin-top: 14px; }
.founder-banner { border-radius: 16px; background: var(--cream); box-shadow: none; padding: clamp(24px, 5vw, 64px); }
.founder-img { border-radius: 10px; }
.gallery-item { border-radius: 10px; }
.gallery-overlay { opacity: 1; padding: 24px; background: linear-gradient(0deg, #0a271ee8, #0a271e00 85%); }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { background-color: #102f2629; }
.gallery-filter-btn { box-shadow: none; border-radius: 8px; font-size: .8rem; }
.form-control, .form-select { min-height: 48px; border-radius: 8px; border-color: #cdd5cb; padding: .75rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .22rem #20564018; }
.form-label { color: var(--primary-dark); }
.border-sand { border-color: var(--border-color) !important; }
.letter-spacing-2 { letter-spacing: .14em; }
.hover-primary:hover { color: var(--primary) !important; }
footer { padding-top: 72px; border-top: 0; background: #102b23; }
footer h5 { font-family: var(--font-body); font-size: .9rem; }
footer .text-white-50 { color: #ffffffb5 !important; }
footer a:hover { padding-left: 0; text-decoration: underline; text-underline-offset: 4px; }
.footer-social-icon:hover { text-decoration: none; }
.photo-credits { background: #102b23; color: #ffffffa8 !important; border-top: 1px solid #ffffff14; }
.photo-credits a { color: inherit; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1020; width: 44px; height: 44px; border: 1px solid #ffffff70; border-radius: 50%; background: var(--primary); color: white; box-shadow: var(--box-shadow); }
.back-to-top[hidden] { display: none; }
@keyframes foundation-reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal-in { animation: foundation-reveal .7s cubic-bezier(.2,.7,.3,1) both; }
.carousel-item.active .hero-title { animation: foundation-reveal .7s ease both; }
.carousel-item.active .hero-subtitle { animation: foundation-reveal .7s .12s ease both; }
.carousel-item.active .hero-card { animation: foundation-reveal .8s .18s ease both; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-navbar .navbar-collapse { flex-basis: 100%; }
    .topbar .badge, .topbar span:has(.bi-telephone-fill) { display: none; }
}
@media (max-width: 1199.98px) {
    .main-navbar .navbar-nav { align-items: stretch !important; }
    .main-navbar { padding-block: 12px; }
    .navbar-collapse { max-height: 75svh; overflow-y: auto; padding-top: 16px; }
    .main-navbar .nav-link { padding: .75rem !important; border-bottom: 1px solid #e5e5da; }
    .main-navbar .nav-link::after { display: none; }
    .main-navbar .nav-link.active { background: var(--cream); border-radius: 6px; }
    .main-navbar .navbar-nav .btn { margin-block: 12px 4px; }
    .topbar .container > div { gap: 12px !important; }
    .topbar .badge, .topbar span:has(.bi-telephone-fill) { display: none; }
}
@media (max-width: 575.98px) {
    .container { padding-inline: 22px; }
    .main-navbar .navbar-brand { font-size: .92rem; gap: 8px !important; margin-right: 0; }
    .main-navbar .brand-tagline { font-size: .48rem; letter-spacing: .07em; }
    .main-navbar .navbar-brand > div:first-child { width: 36px !important; height: 36px !important; }
    .navbar-toggler { padding: 8px; }
    .hero-carousel-item, .hero-section { min-height: 660px; min-height: 85svh; padding: 65px 0 110px; }
    .hero-carousel-item::before { background: linear-gradient(90deg, #09231aeb, #09231abf); }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
    .hero-badge { font-size: .6rem; letter-spacing: .06em; }
    .hero-carousel-control { display: flex; bottom: 20px; width: 36px; height: 36px; }
    .hero-carousel-control-prev { right: 66px; }
    .hero-carousel-control-next { right: 22px; }
    .carousel-pause { right: 110px; bottom: 20px; width: 36px; height: 36px; }
    .hero-carousel-indicators { bottom: 37px; }
    .hero-carousel-indicators .active { width: 30px; }
    .stat-box .small { font-size: .75rem; }
    .gallery-item { height: 290px; }
    .gallery-filter-nav { gap: 8px; }
    .gallery-filter-btn { padding: .55rem .8rem; }
    footer { padding-top: 48px; }
    footer .d-flex { flex-wrap: wrap; }
    .back-to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .modern-card:hover, .product-card:hover, .stat-box:hover, .modern-card:hover .modern-card-img, .product-card:hover .product-img, .gallery-item:hover .gallery-img { transform: none; }
}

/* Screenshot fixes: long CMS captions must stay inside their image column. */
.founder-banner .row > [class*="col-"] { min-width: 0; }
.founder-caption {
    display: inline-block;
    width: 100%;
    max-width: 420px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.65;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.text-gold-light { color: var(--gold-light) !important; }
.hero-card { color: #fff; }
.hero-card .text-gold { color: var(--gold-light) !important; }
.hero-card .text-gold-light { display: block; margin-top: 5px; line-height: 1.6; }
.hero-award-icon { flex: 0 0 52px; }
.hero-card .d-flex > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.hero-carousel-item .hero-title { font-size: clamp(2.4rem, 3.8vw, 3.8rem); }
@media (max-width: 575.98px) {
    .hero-carousel-item .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
    .founder-banner .btn { width: 100%; white-space: normal; }
}

/* Preserve the supplied logo's proportions at every navigation size. */
.main-navbar .navbar-logo {
    width: auto;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .main-navbar .navbar-logo { height: 42px; }
}
