﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --paper: #fbf8f2;
    --surface: #fffdf9;
    --ink: #29251f;
    --muted: #746d62;
    --line: #e8dfd2;
    --accent: #a56e35;
    --dark: #302a24;
    --max: 1200px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: clip
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans",sans-serif;
    line-height: 1.65;
    overflow-x: clip
}

    body.modal-open {
        overflow: hidden
    }

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.container {
    width: min(calc(100% - 40px),var(--max));
    margin: auto
}

/* Broadcast bar */
.broadcast {
    background: var(--dark);
    color: #f8efe2;
    font-size: 13px
}

.broadcast-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative
}

.broadcast a {
    text-decoration: underline
}

.broadcast .close {
    position: absolute;
    right: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer
}

/* Header / nav */
.header {
    position: sticky;
    top: 0;
    z-index: 45;
    background: rgba(251,248,242,.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    font-family: "Playfair Display",serif;
    font-size: 27px;
    line-height: 1;
    white-space: nowrap
}

.brand-logo {
    height: 92px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    color: #514b43
}

    .navlinks a:hover, .navlinks .active {
        color: #684322
    }

.actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer
}

/* Nav dropdown ("Projects" > Structures/Decorations/Celebrations) */
.navlinks .dropdown {
    position: relative
}

    .navlinks .dropdown > a {
        display: flex;
        align-items: center;
        gap: 5px
    }

.navlinks .dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(35,30,25,.14);
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease,transform .15s ease;
    z-index: 40
}

.navlinks .dropdown:hover .dropdown-menu, .navlinks .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}

.navlinks .dropdown-menu li {
    list-style: none
}

.navlinks .dropdown-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    white-space: nowrap
}

    .navlinks .dropdown-menu a:hover {
        background: var(--paper)
    }

/* Phone + social badges in header actions */
.header-phone {
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap
}

.social-row {
    display: flex;
    gap: 8px
}

.social-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #514b43
}

    .social-ico:hover {
        border-color: var(--accent);
        color: #684322
    }

/* Hero */
.hero {
    padding: 28px 0 72px
}

.hero-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    min-height: 610px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden
}

.hero-copy {
    padding: 72px 62px;
    display: flex;
    justify-content: center;
    flex-direction: column
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px
}

h1, h2, h3 {
    font-family: "Playfair Display",serif;
    font-weight: 500;
    line-height: 1.15;
    margin: 0
}

h1 {
    font-size: clamp(42px,5vw,68px)
}

h2 {
    font-size: 42px
}

.hero-copy p {
    color: var(--muted);
    max-width: 450px;
    margin: 25px 0 32px
}

.hero-image {
    min-height: 610px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 12px 19px;
    font-size: 14px;
    cursor: pointer
}

    .btn.primary {
        background: var(--ink);
        color: #fff
    }

    .btn.secondary {
        border-color: var(--accent);
        color: #684322
    }

/* Sections / cards */
.section {
    padding: 72px 0
}

.section-head {
    text-align: center;
    margin-bottom: 35px
}

    .section-head p {
        color: var(--muted)
    }

.cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: block
}

.card-media {
    aspect-ratio: 1/1.05;
    background: #f2eadf
}

.card-body {
    padding: 16px
}

.card h3 {
    font-size: 20px
}

.card p {
    font-size: 13px;
    color: var(--muted)
}

.link {
    color: #684322;
    font-size: 13px;
    font-weight: 600
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 8px
}

.values {
    background: var(--surface);
    border-block: 1px solid var(--line)
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px
}

.value .icon {
    font-size: 25px;
    color: var(--accent)
}

.value h3 {
    font-size: 20px
}

.value p {
    font-size: 13px;
    color: var(--muted)
}

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center
}

.story-image {
    height: 450px;
    border-radius: 20px;
    overflow: hidden
}

.story-copy p {
    color: var(--muted)
}

.newsletter {
    background: #efe4d5
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center
}

.newsletter h2 {
    font-size: 32px
}

.newsletter p {
    color: var(--muted)
}

.signup {
    display: flex;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden
}

    .signup input {
        flex: 1;
        border: 0;
        padding: 13px;
        outline: none;
        font: inherit
    }

    .signup button {
        border: 0;
        background: #684322;
        color: #fff;
        padding: 0 18px
    }

.footer {
    background: var(--dark);
    color: #eee4d5;
    padding: 60px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px
}

.footer .brand {
    color: #fff
}

.footer p, .footer a {
    font-size: 13px;
    color: #c9bfb1
}

.footer h4 {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    color: #eee4d5;
    margin: 0 0 14px
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.footer li {
    margin: 8px 0
}

.footer a:hover {
    color: #fff
}

.footer-box + .footer-box {
    margin-top: 26px
}

.footer-address p {
    margin: 6px 0
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px
}

    .footer-social .social-ico {
        border-color: rgba(255,255,255,.18);
        color: #eee4d5
    }

        .footer-social .social-ico:hover {
            border-color: #fff;
            color: #fff
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #c9bfb1
}

    .footer-bottom .legal-links {
        display: flex;
        gap: 16px;
        flex-wrap: wrap
    }

    .footer-bottom a:hover {
        color: #fff
    }

/* Article / detail pages */
.breadcrumb {
    padding: 28px 0 20px;
    color: var(--muted);
    font-size: 13px
}

    .breadcrumb a:hover {
        color: #684322
    }

.article-top {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 45px;
    align-items: start;
    padding-bottom: 50px
}

.article-title h1 {
    font-size: 52px
}

.meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    margin: 20px 0
}

.article-intro {
    color: var(--muted);
    font-size: 15px
}

.article-hero {
    height: 500px;
    border-radius: 18px;
    overflow: hidden
}

.hero-caption {
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
    margin: 10px 0 0
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 55px
}

.fact {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 17px;
    text-align: center
}

    .fact .icon {
        color: var(--accent);
        font-size: 22px
    }

    .fact strong {
        display: block;
        font-size: 13px
    }

    .fact span {
        display: block;
        font-size: 11px;
        color: var(--muted)
    }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 55px
}

.article-content h2 {
    font-size: 34px;
    margin: 40px 0 14px
}

.article-content p, .article-content li {
    color: #625b51
}

.materials {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 22px;
    position: sticky;
    top: 110px
}

    .materials h3 {
        font-size: 24px
    }

    .materials li {
        font-size: 13px;
        margin: 8px 0
    }

    .materials p {
        font-size: 13px;
        margin: 12px 0
    }

.share {
    display: flex;
    gap: 10px;
    margin: 30px 0
}

    .share button {
        border: 1px solid var(--line);
        background: #fff;
        padding: 9px 13px;
        border-radius: 8px;
        cursor: pointer
    }

.related {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px
}

/* Gallery page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px
}

    .gallery-grid a {
        display: block;
        aspect-ratio: 1/1;
        overflow: hidden;
        border-radius: 12px;
        border: 1px solid var(--line)
    }

    .gallery-grid img {
        transition: transform .3s ease
    }

    .gallery-grid a:hover img {
        transform: scale(1.06)
    }

/* Empty state (e.g. a listing page with no items yet) */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--surface)
}

/* App download modal */
.app-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(35,30,25,.62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px
}

    .app-modal.show {
        display: flex
    }

.modal-card {
    width: min(470px,100%);
    background: var(--surface);
    border-radius: 22px;
    padding: 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0,0,0,.25)
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer
}

.app-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: var(--dark);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 5px auto 18px;
    font-family: "Playfair Display";
    font-size: 26px
}

.modal-card h2 {
    font-size: 32px
}

.modal-card p {
    color: var(--muted);
    font-size: 14px
}

.store-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap
}

.store {
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    border-radius: 9px;
    padding: 11px 16px;
    font-size: 13px
}

.later {
    border: 0;
    background: none;
    color: var(--muted);
    margin-top: 14px;
    cursor: pointer
}

/* Mobile off-canvas nav + its dimming overlay: hidden unconditionally by default.
   Only the @media(max-width:900px) block below turns them into the fixed,
   slide-in panel — this prevents them rendering inline/unstyled at desktop widths. */
.mobile-nav {
    display: none
}

.nav-overlay {
    display: none
}

@media(max-width:900px) {
    .navlinks {
        display: none
    }

    .menu {
        display: block
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(78vw,320px);
        max-width: 100vw;
        background: var(--surface);
        z-index: 40;
        box-shadow: -10px 0 40px rgba(0,0,0,.15);
        transform: translateX(100%);
        transition: transform .25s ease;
        overflow-y: auto
    }

        .mobile-nav.open {
            transform: translateX(0)
        }

        .mobile-nav nav {
            display: flex;
            flex-direction: column;
            padding: 90px 30px 30px
        }

            .mobile-nav nav > a, .mobile-nav .dropdown > a {
                padding: 14px 0;
                border-bottom: 1px solid var(--line);
                font-size: 16px;
                color: #514b43;
                display: block
            }

        .mobile-nav .dropdown-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            box-shadow: none;
            border: 0;
            background: transparent;
            padding: 0 0 0 12px;
            margin: 0;
            display: none
        }

            .mobile-nav .dropdown-menu a {
                padding: 10px 0;
                border: 0;
                font-size: 14.5px;
                display: block
            }

        .mobile-nav .dropdown.open .dropdown-menu {
            display: block
        }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(20,17,14,.4);
        z-index: 35
    }

        .nav-overlay.show {
            display: block
        }

    .hero-grid, .story, .article-top, .article-layout {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 48px 30px
    }

    .hero-image {
        min-height: 420px
    }

    .cards {
        grid-template-columns: repeat(2,1fr)
    }

    .value-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .newsletter-inner {
        grid-template-columns: 1fr
    }

    .article-hero {
        height: 420px
    }

    .materials {
        position: static
    }

    .related {
        grid-template-columns: repeat(2,1fr)
    }

    .header-phone, .hidden-on-mobile {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px
    }

    .gallery-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:600px) {
    .container {
        width: min(calc(100% - 28px),var(--max))
    }

    .broadcast-inner {
        padding: 8px 35px 8px 5px;
        text-align: center
    }

    .nav {
        height: 68px
    }

    .brand {
        font-size: 22px
    }

    .actions {
        gap: 10px;
        font-size: 18px
    }

        .actions span:nth-child(2) {
            display: none
        }

    .hero {
        padding: 15px 0 45px
    }

    .hero-grid {
        min-height: auto;
        border-radius: 17px
    }

    .hero-copy {
        padding: 34px 22px
    }

        .hero-copy h1 {
            font-size: 42px
        }

    .hero-image {
        min-height: 300px
    }

    .section {
        padding: 48px 0
    }

    .section-head h2, h2 {
        font-size: 32px
    }

    .cards {
        grid-template-columns: 1fr 1fr;
        gap: 9px
    }

    .card-body {
        padding: 11px
    }

    .card h3 {
        font-size: 16px
    }

    .value-grid {
        grid-template-columns: 1fr
    }

    .story-image {
        height: 300px
    }

    .newsletter-inner {
        grid-template-columns: 1fr
    }

    .signup {
        display: block;
        background: transparent;
        border: 0
    }

        .signup input, .signup button {
            width: 100%;
            border: 1px solid var(--line);
            border-radius: 8px;
            margin-bottom: 8px;
            padding: 12px
        }

        .signup button {
            background: #684322
        }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start
    }

    .breadcrumb {
        font-size: 11px
    }

    .article-title h1 {
        font-size: 37px
    }

    .article-hero {
        height: 310px
    }

    .quick-facts {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 35px
    }

    .article-layout {
        gap: 25px
    }

    .article-content h2 {
        font-size: 28px
    }

    .related {
        grid-template-columns: 1fr 1fr
    }

    .modal-card {
        padding: 27px 20px
    }

        .modal-card h2 {
            font-size: 29px
        }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 8px
    }
}
