/* Hero Pattern Background */
.hero-pattern {
    background-color: #fffbf0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Base Resets */
html, body {
    min-height: 100%;
}

body {
    background-color: #451a03; /* brand-950 — prevents white flash below footer */
}

img { 
    max-width: 100%; 
    height: auto; 
}

/* Hero Images */
.hero-images {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
}

/* Mobile-first: small decorative blobs in corners */
.hero-image-left {
    position: absolute;
    left: -3%;
    top: 38%;
    transform: translateY(-50%) rotate(-8deg);
    width: 120px;
    height: 155px;
    border-radius: 50% 50% 48% 52% / 55% 50% 50% 45%;
    overflow: hidden;
    box-shadow: 0 15px 30px -8px rgba(217, 119, 6, 0.35),
                0 8px 16px -6px rgba(0, 0, 0, 0.15);
    border: 4px solid #ffbf47;
    animation: float-left 7s ease-in-out infinite;
    z-index: 5;
    opacity: 0.5;
}

.hero-image-right {
    position: absolute;
    right: -3%;
    top: 60%;
    transform: translateY(-50%) rotate(12deg);
    width: 110px;
    height: 140px;
    border-radius: 48% 52% 50% 50% / 50% 55% 45% 50%;
    overflow: hidden;
    box-shadow: 0 15px 30px -8px rgba(217, 119, 6, 0.35),
                0 8px 16px -6px rgba(0, 0, 0, 0.15);
    border: 4px solid #f59e0b;
    animation: float-right 7s ease-in-out infinite 3.5s;
    z-index: 5;
    opacity: 0.5;
}

/* Tablet */
@media (min-width: 640px) {
    .hero-image-left {
        left: 1%;
        width: 190px;
        height: 240px;
        opacity: 0.7;
    }
    .hero-image-right {
        right: 1%;
        width: 175px;
        height: 225px;
        opacity: 0.7;
    }
}

/* Desktop */
@media (min-width: 1280px) {
    .hero-image-left {
        left: 5%;
        width: 300px;
        height: 380px;
        border-width: 6px;
        opacity: 1;
    }
    .hero-image-right {
        right: 5%;
        top: 55%;
        width: 280px;
        height: 360px;
        border-width: 6px;
        opacity: 1;
    }
}

.hero-image-left img,
.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    max-width: none;
}

@keyframes float-left {
    0%, 100% {
        transform: translateY(-50%) rotate(-8deg) translateY(0);
    }
    50% {
        transform: translateY(-50%) rotate(-8deg) translateY(-15px);
    }
}

@keyframes float-right {
    0%, 100% {
        transform: translateY(-50%) rotate(12deg) translateY(0);
    }
    50% {
        transform: translateY(-50%) rotate(12deg) translateY(-15px);
    }
}

/* Decorative Elements */
.hero-blob-1 {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background-color: #ffeebb;
    border-radius: 9999px;
    mix-blend-mode: multiply;
    filter: blur(64px);
    opacity: 0.5;
}

.hero-blob-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(33%, 33%);
    width: 24rem;
    height: 24rem;
    background-color: #ffd680;
    border-radius: 9999px;
    mix-blend-mode: multiply;
    filter: blur(64px);
    opacity: 0.5;
}

/* ── Updates Section ── */
.updates-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ffd680 #fff7e9;
}

.updates-scroll-container::-webkit-scrollbar {
    height: 6px;
}
.updates-scroll-container::-webkit-scrollbar-track {
    background: #fff7e9;
    border-radius: 9999px;
}
.updates-scroll-container::-webkit-scrollbar-thumb {
    background: #ffd680;
    border-radius: 9999px;
}

.update-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #fffbf0;
    border: 1px solid #ffeebb;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.update-card:hover {
    box-shadow: 0 8px 30px -8px rgba(217, 119, 6, 0.25);
    transform: translateY(-2px);
}

.update-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #ffeebb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.update-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    display: block;
}

.update-card-img--placeholder {
    background: #fff7e9;
}

.update-card-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.update-card-date {
    font-size: 0.75rem;
    color: #b45309;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.update-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    color: #78350f;
    line-height: 1.3;
}

.update-card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .update-card {
        flex: 0 0 320px;
    }
}
