/* Minority Skateboards — atelier template (asphalt + acid lime) */

body {
    font-family: 'Open Sans', 'Roboto', ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
}

h1.font-display {
    font-weight: 900;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

.font-display {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 800;
}

.font-display.font-bold,
h2.font-bold,
h3.font-bold {
    font-weight: 800;
}

html {
    scroll-behavior: smooth;
}

#header,
#header.scrolled,
#header.header--solid {
    background-color: rgba(244, 245, 247, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
    border-bottom: 1px solid #d0d5dc;
}

#mobile-menu {
    transition: opacity 0.25s ease-out, max-height 0.3s ease-out;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(26, 29, 33, 0.35);
}

.hide-scrollbar {
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #c6f135;
    outline-offset: 2px;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

/* Product cards — object-contain, no crop/deform */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #d0d5dc;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 20, 22, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 241, 53, 0.55);
    box-shadow: 0 22px 44px rgba(18, 20, 22, 0.1);
}

.product-card__media {
    position: relative;
    display: flex;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 50% 20%, rgba(198, 241, 53, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, #fafbfc 0%, #eef0f3 100%);
    border-bottom: 1px solid #d0d5dc;
}

.product-card__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1.5rem;
}

.product-card__title {
    font-family: Roboto, "Open Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.3;
    color: #121416;
}

.product-card__text {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #5c636c;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.65rem;
    min-height: 2.85rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #f4f5f7;
    background: #1a1d21;
    transition: background-color 0.25s ease;
}

.product-card__cta:hover {
    background: #2a2e34;
    color: #c6f135;
}

/* Inner page full-bleed hero */
.inner-hero {
    position: relative;
    min-height: clamp(280px, 42vw, 460px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1a1d21;
}

.inner-hero__bg {
    position: absolute;
    inset: 0;
}

.inner-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.inner-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 20, 22, 0.35) 0%, rgba(18, 20, 22, 0.82) 100%);
}

.inner-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 6.5rem 1.25rem 2.75rem;
}

@media (min-width: 640px) {
    .inner-hero__content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .inner-hero__content {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 3.5rem;
    }
}

.inner-hero__cta {
    margin-top: 1.5rem;
}

.article-body .article-h2 {
    font-family: Roboto, "Open Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #121416;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.review-card {
    border-radius: 1.25rem;
    border: 1px solid #d0d5dc;
    background: #fff;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.review-card__stars {
    color: #c6f135;
    display: flex;
    gap: 0.2rem;
}

.review-card__quote {
    color: #5c636c;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.review-card__author {
    font-weight: 700;
    color: #121416;
    font-size: 0.95rem;
}

.review-card__meta {
    font-size: 0.8rem;
    color: #5c636c;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hover-lift,
    .product-card {
        transition: none;
    }

    .hover-lift:hover,
    .product-card:hover {
        transform: none;
    }
}
