/* Ascenta Studio — brands.css?v=7
   品牌展示页 (/work) + 概念品牌卡片样式
   对应 REPORT §3.3 brands.css 8KB
*/

/* ── Work page grid ───────────────────────────────────────── */
.work-grid-section {
    padding: 3rem 0 5rem;
    background: #0a0a0a;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ── Brand card enhanced (on /work page) ──────────────────── */
.work-grid .brand-card {
    position: relative;
}

.work-grid .brand-card-media {
    aspect-ratio: 1 / 1;
}

/* ── Concept brands preview (home) ───────────────────────── */
.concept-brands-preview {
    background: #111;
}

/* ── Category filters ────────────────────────────────────── */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #a0a0a0;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: rgba(124, 158, 255, 0.3);
    color: #7c9eff;
}

.filter-btn.active {
    background: #7c9eff;
    border-color: #7c9eff;
    color: #0a0a0a;
}

/* Filter animation: fade out/in on category switch */
.brand-card.filtering-out {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-card.filtering-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-card.hidden {
    display: none;
}

/* ── Brand hero (concept brand pages) ─────────────────────── */
.brand-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.brand-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.7) 100%);
}

.brand-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.brand-hero-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7c9eff;
}

.brand-hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 340;
    margin: 1rem 0;
}

.brand-hero-tagline {
    color: #a0a0a0;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.brand-checkout-btn {
    font-size: 0.9rem;
}

/* ── Brand products ────────────────────────────────────────── */
.brand-products,
.brand-about {
    padding: 4rem 0;
}

.brand-products {
    background: #111;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-media {
    aspect-ratio: 1 / 1;
    background: #222;
    overflow: hidden;
}

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

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.85rem;
    color: #a0a0a0;
}

/* ── Brand about ───────────────────────────────────────────── */
.brand-about {
    background: #0a0a0a;
}

.brand-about-text {
    color: #c0c0c0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem 0 2rem;
}

.brand-about-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.meta-label {
    color: #707070;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    min-width: 120px;
}

.meta-value {
    color: #f5f5f5;
}

/* ── Brand checkout ───────────────────────────────────────── */
.checkout-section {
    padding: 4rem 0;
    background: #111;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.checkout-summary {
    padding: 2rem 0;
}

.checkout-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7c9eff;
}

.checkout-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 340;
    margin: 0.5rem 0;
}

.checkout-note {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.checkout-amount {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
}

.checkout-submit {
    width: 100%;
}

.checkout-feedback {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}
