/* =============================================
   RESPONSIVE — Breakpoints, Touch, Reduced Motion
   ============================================= */

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-eyebrow,
    .hero-eyebrow-line,
    .hero-title,
    .hero-desc,
    .hero-actions,
    .scroll-indicator {
        opacity: 1;
        transform: none;
    }
}

/* ---- Tablet: 768px - 1024px ---- */
@media (max-width: 1024px) {
    /* Nav */
    nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        gap: 2rem;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: 70vh;
    }

    .hero-text {
        padding: 8rem 3rem 4rem;
    }

    .hero-text::before {
        display: none;
    }

    .hero-image {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* About */
    .about {
        padding: 5rem 3rem;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-height: 400px;
    }

    /* Process */
    .process {
        padding: 5rem 3rem;
    }

    .process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .process-subtitle {
        text-align: left;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Shop */
    .shop {
        padding: 5rem 3rem;
    }

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

    /* Contact */
    .contact {
        padding: 5rem 3rem;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    /* Footer */
    footer {
        padding: 4rem 3rem 2rem;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    /* Modal */
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image {
        aspect-ratio: 16/9;
    }
}

/* ---- Mobile: max 767px ---- */
@media (max-width: 767px) {
    /* Smooth scrolling on iOS */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* Nav */
    nav {
        padding: 1.2rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-mobile-overlay {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
    }

    .hero-text {
        padding: 7rem 1.5rem 4rem;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Marquee */
    .marquee-item {
        font-size: 0.65rem;
        padding: 0 2rem;
    }

    /* About */
    .about {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .about-image {
        max-height: 350px;
    }

    .about-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }

    .about-content .section-body p:first-child::first-letter {
        font-size: 2.8rem;
    }

    /* Process */
    .process {
        padding: 3rem 1.5rem;
    }

    .process-header {
        margin-bottom: 3rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .process-step {
        padding: 2rem 0 2rem 2rem;
        border-top: none;
        border-left: 1px dashed rgba(255, 255, 255, 0.2);
        position: relative;
    }

    .process-step::before {
        content: '';
        position: absolute;
        left: -3px;
        top: 2rem;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--gold);
    }

    /* Shop */
    .shop {
        padding: 3rem 1.5rem;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .shop-link {
        display: none;
    }

    /* Filter bar — horizontal scroll */
    .filter-bar {
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        min-height: 44px;
        padding: 0.6rem 1.2rem;
    }

    /* Product grid — 2 columns on mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image {
        aspect-ratio: 3/4;
        max-height: none;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 0.85rem;
    }

    .product-desc {
        font-size: 0.7rem;
    }

    .product-category {
        font-size: 0.55rem;
    }

    .product-info {
        padding: 0.2rem 0;
    }

    /* Hide overlay button on mobile — tap the card instead */
    .product-quick-add {
        opacity: 1;
        transform: translateY(0);
        padding: 0.6rem 1rem;
        font-size: 0.55rem;
    }

    .product-tag {
        font-size: 0.5rem;
        padding: 0.25rem 0.5rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 3rem 1.5rem;
    }

    .testimonials-inner::before {
        font-size: 4rem;
    }

    .t-dot {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        position: relative;
    }

    .t-dot::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--stone);
        border: 1px solid var(--black);
    }

    .t-dot.active::after {
        background: var(--black);
    }

    /* Contact */
    .contact {
        padding: 3rem 1.5rem;
        gap: 3rem;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        align-self: stretch;
        width: 100%;
        text-align: center;
        min-height: 50px;
    }

    /* Footer — 2-column grid */
    footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Modal — full screen on mobile */
    .modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        z-index: 20;
        background: rgba(0, 0, 0, 0.08);
    }

    .modal-body {
        display: block;
        max-height: none;
    }

    .modal-image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        max-height: none;
    }

    .modal-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center top;
    }

    .modal-info {
        padding: 2rem 1.5rem 3rem;
        overflow: visible;
    }

    .modal-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .modal-info-box {
        padding: 0.8rem;
    }

    .modal-info-box-value {
        font-size: 0.72rem;
    }

    .modal-cta {
        align-self: stretch;
        text-align: center;
        display: block;
        min-height: 50px;
        line-height: 50px;
        padding: 0 2rem;
    }
}

/* ---- Very small screens: max 400px ---- */
@media (max-width: 400px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image {
        max-height: none;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}
