/* HY300 Projector — atelier template custom styles */

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, 246, 250, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
    border-bottom: 1px solid #c5d0e3;
}

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

.img-zoom img {
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.32, 1);
}

.img-zoom:hover img {
    transform: scale(1.04);
}

.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(21, 34, 56, 0.28);
}

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

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

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

details summary {
    list-style: none;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #c5d0e3;
    background: linear-gradient(165deg, #f8fafd 0%, #e8eef6 100%);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.75),
        0 1px 2px rgba(12, 21, 38, 0.05),
        0 10px 28px rgba(12, 21, 38, 0.07);
    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(-5px);
    border-color: rgba(79, 140, 255, 0.4);
    box-shadow:
        inset 0 1px 0 hsl(0 0% 100% / 0.85),
        0 4px 8px rgba(12, 21, 38, 0.06),
        0 22px 44px rgba(12, 21, 38, 0.11);
}

.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, #f8fafd 0%, #dce4f2 72%),
        linear-gradient(180deg, #e8eef6 0%, #c5d0e3 100%);
    border-bottom: 1px solid rgba(197, 208, 227, 0.75);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.32, 1);
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1.5rem;
    background: linear-gradient(180deg, #f8fafd 0%, #e8eef6 100%);
}

.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;
    letter-spacing: -0.01em;
    color: #0c1526;
}

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

.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: #f4f6fa;
    background: #152238;
    box-shadow: 0 1px 2px rgba(21, 34, 56, 0.12);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card__cta:hover {
    background: #4f8cff;
    box-shadow: 0 4px 14px rgba(79, 140, 255, 0.28);
}

.product-card__cta:focus-visible {
    outline: 2px solid #4f8cff;
    outline-offset: 2px;
}

.inner-hero {
    position: relative;
    min-height: min(52vh, 520px);
    display: flex;
    align-items: flex-end;
    padding-top: 7rem;
    padding-bottom: 3rem;
    overflow: hidden;
}

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

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

.inner-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 21, 38, 0.92) 0%,
        rgba(12, 21, 38, 0.55) 45%,
        rgba(12, 21, 38, 0.35) 100%
    );
}

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

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

@media (min-width: 1024px) {
    .inner-hero__content {
        padding: 0 2rem;
    }
}

.article-h2 {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0c1526;
    margin-top: 2.25rem;
    margin-bottom: 0.4rem;
    scroll-margin-top: 5.5rem;
}

.article-body > .article-h2:first-of-type {
    margin-top: 0;
}

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

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

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

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