/* =========================================================
   COMMIT — Premium Streetwear
   Design direction: stamped-ink / discipline aesthetic.
   Near-black ground, bone-white type, a single stamped
   magenta/purple accent used like ink on a punch card.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
    --ink: #0d0d0d;
    --ink-soft: #161616;
    --bone: #f2f0e9;
    --bone-dim: #a8a49b;
    --stamp: #be1fd3;
    --stamp-dim: #580e94;
    --line: #2b2b2b;

    --font-display: 'Anton', 'Arial Narrow', sans-serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 112.5%; /* 18px base — bumped up from the 16px default for readability */
    overflow-x: hidden;
}

body {
    background-color: var(--ink);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--stamp);
    color: var(--bone);
}

:focus-visible {
    outline: 2px solid var(--stamp);
    outline-offset: 3px;
}

/* -----------------------------------------------------------
   Utility eyebrow / label style — used wherever small caps
   monospace tags appear, echoing a stamped serial number.
----------------------------------------------------------- */

.eyebrow,
.nav-links a {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   Navbar
----------------------------------------------------------- */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 6vw;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(6px);
    z-index: 100;
}

.logo a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--bone);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--bone-dim);
    position: relative;
    padding-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--stamp);
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--bone);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

/* -----------------------------------------------------------
   Buttons — outlined like a rubber ink stamp, fills solid
   on interaction (the stamp coming down).
----------------------------------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stamp);
    border: 2px solid var(--stamp);
    padding: 0.85rem 2rem;
    border-radius: 2px;
    transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease;
    cursor: pointer;
    background: transparent;
}

.btn:hover,
.btn:focus-visible {
    background-color: var(--stamp);
    color: var(--ink);
    transform: rotate(-1deg) scale(1.03);
}

/* -----------------------------------------------------------
   Hero (index)
----------------------------------------------------------- */

.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 6vw;
    position: relative;
    background:
        radial-gradient(circle at 50% 30%, rgba(190, 31, 211, 0.14), transparent 60%),
        linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.75) 60%, var(--ink) 100%),
        url("./images/product1/main.png") center / cover no-repeat;
    background-attachment: fixed;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 800px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 16vw, 10rem);
    letter-spacing: 0.03em;
    line-height: 0.9;
    color: var(--bone);
    text-shadow: 0 0 60px rgba(190, 31, 211, 0.25);
}

.hero-content p {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.1rem;
    color: var(--bone-dim);
    margin: 1.5rem 0 2.5rem;
}

/* -----------------------------------------------------------
   Section headings shared across products / about / contact
----------------------------------------------------------- */

.products-section,
.about,
.contact {
    padding: 5.5rem 6vw;
    border-bottom: 1px solid var(--line);
}

.products-section h2,
.about h2,
.contact h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 1.1rem;
}

.products-section h2::before,
.about h2::before,
.contact h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 5px;
    background: var(--stamp);
}

.about p {
    max-width: 60ch;
    color: var(--bone-dim);
    font-size: 1.15rem;
}

.contact p {
    max-width: 60ch;
    color: var(--bone-dim);
    font-size: 1.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content p {
    max-width: 55ch;
    font-size: 1.3rem;
}

.about-content img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    filter: grayscale(15%);
}

@media (max-width: 800px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------
   Product grid
----------------------------------------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 300px));
    justify-content: center;
    gap: 2.5rem;
}

.product-card {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    padding: 1.25rem 1.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    border-color: var(--stamp-dim);
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--stamp-dim);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin-bottom: 1.25rem;
    filter: grayscale(15%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.product-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    font-family: var(--font-mono);
    color: var(--stamp);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* -----------------------------------------------------------
   Shop header / contact hero (secondary page headers)
----------------------------------------------------------- */

.shop-header {
    padding: 5.5rem 6vw 3.5rem;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.shop-header h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: 0.02em;
}

.shop-header p {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.05rem;
    color: var(--bone-dim);
    margin-top: 1rem;
}

/* -----------------------------------------------------------
   Contact page
----------------------------------------------------------- */

.contact-page {
    padding: 5.5rem 6vw;
}

.contact-container {
    max-width: 1020px;
    margin: 0 auto;
}

.contact-container h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.contact-container > p {
    color: var(--bone-dim);
    max-width: 60ch;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 3rem;
}

.contact-info > div {
    min-width: 0;
}

.contact-info h3 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    color: var(--stamp);
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--bone);
    font-size: 1.1rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Contact form */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 1.1rem;
    padding: 0.9rem 1rem;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--bone-dim);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--stamp);
}

.contact-form .btn {
    align-self: flex-start;
    background: transparent;
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */

footer {
    padding: 2.5rem 6vw;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: var(--bone-dim);
    text-transform: uppercase;
}

/* -----------------------------------------------------------
   Product gallery modal
----------------------------------------------------------- */

.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vw;
    z-index: 1000;
}

.product-modal {
    position: relative;
    background: var(--ink-soft);
    border: 1px solid var(--line);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--bone-dim);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.product-modal-close:hover,
.product-modal-close:focus-visible {
    color: var(--stamp);
}

.product-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-modal-main-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
}

.product-modal-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-modal-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--line);
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.product-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-thumb:hover,
.product-modal-thumb:focus-visible {
    border-color: var(--stamp-dim);
}

.product-modal-thumb.active {
    border-color: var(--stamp);
}

.product-modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
}

.product-modal-details h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

.product-modal-price {
    font-family: var(--font-mono);
    color: var(--stamp);
    font-size: 1.3rem;
}

.product-modal-details .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

@media (max-width: 700px) {
    .product-modal {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}

/* -----------------------------------------------------------
   Community page — reviews + social mentions
----------------------------------------------------------- */

.review-grid,
.mention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--stamp);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.mention-card {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--stamp);
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    color: var(--bone);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.review-card:hover,
.mention-card:hover {
    border-color: var(--stamp-dim);
    border-left-color: var(--stamp);
    transform: translateY(-4px);
}

.mention-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--stamp-dim);
}

.mention-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.review-stars {
    color: var(--stamp);
    letter-spacing: 0.15em;
    font-size: 1.1rem;
}

.review-text,
.mention-quote {
    color: var(--bone);
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
}

.review-name {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--bone-dim);
}

.mention-platform {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--stamp);
}

.mention-name {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--bone-dim);
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */

@media (max-width: 640px) {
    .navbar {
        padding: 1.25rem 5vw;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero {
        min-height: 70vh;
        padding: 4rem 5vw;
    }

    .products-section,
    .about,
    .contact,
    .contact-page,
    .shop-header {
        padding: 3.5rem 5vw;
    }

    .product-grid,
    .about-content,
    .contact-info {
        gap: 1.75rem;
    }

    .contact-form .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 3.4rem;
        letter-spacing: 0.01em;
    }

    .shop-header h1 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 1.1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .mention-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

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

/* -----------------------------------------------------------
   Pitch page — why COMMIT stands out
----------------------------------------------------------- */
 
.pitch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}
 
.pitch-card {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    border-top: 3px solid var(--stamp);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
 
.pitch-card:hover {
    border-color: var(--stamp-dim);
    border-top-color: var(--stamp);
    transform: translateY(-4px);
}
 
.pitch-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--stamp);
}
 
.pitch-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.3;
}
 
.pitch-card p:not(.pitch-eyebrow) {
    color: var(--bone-dim);
    font-size: 1.05rem;
}
 
.pitch-highlight {
    background:
        radial-gradient(circle at 15% 20%, rgba(190, 31, 211, 0.12), transparent 55%),
        var(--ink-soft);
    border: 1px solid var(--stamp-dim);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}
 
.pitch-highlight h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
}
 
.pitch-highlight p:not(.pitch-eyebrow) {
    color: var(--bone-dim);
    font-size: 1.1rem;
    max-width: 65ch;
}
 
.pitch-highlight .btn {
    margin-top: 0.5rem;
}
 
@media (max-width: 640px) {
    .pitch-highlight {
        padding: 2rem 1.5rem;
    }
}

/* -----------------------------------------------------------
   Artists — compact rectangular cards
----------------------------------------------------------- */

.section-description {
    max-width: 65ch;
    color: var(--bone-dim);
    font-size: 1rem;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
}

/* Grid */

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 560px));
    justify-content: center;
    gap: 2rem;
}

/* Card */

.artist-card {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--stamp-dim);
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 310px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    border-color: var(--stamp);
    border-left-color: var(--stamp);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--stamp-dim);
}

.artist-card-featured {
    border-left-color: var(--stamp);
}

/* Smaller image on the left */

.artist-image {
    width: 180px;
    height: 100%;
    min-height: 310px;
    overflow: hidden;
    background: var(--ink);
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(15%);
    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Artist content */

.artist-info {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.artist-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.artist-heading h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.artist-featured-badge {
    flex-shrink: 0;
    background: var(--stamp);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.5rem;
}

.artist-title {
    color: var(--bone);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.artist-location {
    color: var(--bone-dim);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.75rem;
}

.artist-specialty {
    color: var(--stamp);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.artist-bio {
    color: var(--bone-dim);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

/* Collection tags */

.artist-drops {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.artist-drops-label {
    display: block;
    color: var(--bone-dim);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.artist-drop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.artist-drop-tag {
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--bone);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    padding: 0.3rem 0.5rem;
}

/* Links */

.artist-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.artist-links a {
    color: var(--stamp);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.artist-links a:hover,
.artist-links a:focus-visible {
    color: var(--bone);
}

/* Error state */

.artist-error {
    grid-column: 1 / -1;
    background: var(--ink-soft);
    border: 1px solid var(--stamp-dim);
    color: var(--bone-dim);
    text-align: center;
    padding: 2rem;
}

/* Tablet */

@media (max-width: 800px) {
    .artists-grid {
        grid-template-columns: minmax(0, 560px);
    }
}

/* Mobile */

@media (max-width: 560px) {
    .section-description {
        margin-top: -1rem;
        margin-bottom: 2rem;
    }

    .artists-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .artist-card {
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 280px;
    }

    .artist-image {
        width: 120px;
        min-height: 280px;
    }

    .artist-info {
        padding: 1rem;
    }

    .artist-heading {
        flex-direction: column;
        gap: 0.5rem;
    }

    .artist-heading h3 {
        font-size: 1.3rem;
    }

    .artist-bio {
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .artist-specialty {
        font-size: 0.65rem;
    }

    .artist-links {
        gap: 0.75rem;
    }
}

/* Very small phones */

@media (max-width: 390px) {
    .artist-card {
        grid-template-columns: 1fr;
    }

    .artist-image {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }

    .artist-image img {
        object-position: center 20%;
    }
}