/* Local Web Font: Syne Regular */
@font-face {
    font-display: swap;
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/syne-v24-latin-regular.woff2') format('woff2');
}

/* Native Cross-Document View Transitions */
@view-transition {
    navigation: auto;
}

:root {
    --border-color: #e5e5e5;
    --text-muted: #a3a3a3;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    font-family: 'Syne', sans-serif;
    background: #ffffff;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    body {
        padding: 3rem 4rem;
    }
}

/* Browsers bold h1-h6, b, and strong by default; only 400 exists, so force it to avoid faux-bold */
h1, h2, h3, h4, h5, h6, b, strong {
    font-weight: 400;
}

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

/* Header */
header {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.logo {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
}

/* Main Product Showcase */
main {
    margin: auto 0;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.product-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    view-transition-name: product-image;
}

@media (min-width: 768px) {
    .hero-image {
        max-width: 440px;
    }
}

.product-title {
    letter-spacing: -0.01em;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
    view-transition-name: product-title;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
}

.product-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

/* Minimalist Pill Button */
.view-btn {
    margin-top: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.5rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Independent Desktop Hover States */
@media (hover: hover) {
    .hero-image:hover {
        transform: scale(1.02);
        opacity: 0.95;
    }

    .product-title:hover {
        opacity: 0.6;
    }

    .view-btn:hover {
        background: #222222;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Independent Touch Active States */
.hero-image:active {
    transform: scale(0.98);
    opacity: 0.95;
}

.product-title:active {
    opacity: 0.6;
}

.view-btn:active {
    background: #222222;
    transform: translateY(0);
}

/* Footer */
footer {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    footer {
        flex-direction: row;
    }
}

.footer-brand {
    display: inline-flex;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.footer-nav a {
    color: #000000;
    transition: opacity 0.15s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    opacity: 0.6;
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}