/**
 * LaNoira — Author Page Styles
 * "The Curator's Dossier"
 *
 * Loaded only on author archive pages
 *
 * @package Commerce_Elite
 */

/* ============================================
   AUTHOR PAGE — THE CURATOR'S DOSSIER
   ============================================ */

.lanoira-author-wrap {
    background: var(--blog-bg);
}

/* Shared container */
.author-container {
    padding: 100px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==============================
   HERO — IDENTITY BLOCK
   ============================== */

.author-hero {
    background: var(--blog-bg);
    border-bottom: 1px solid var(--blog-border);
    padding: 0;
}

.author-hero .author-container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.author-hero-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 6rem;
    align-items: center;
}

/* Portrait */
.author-portrait-wrap {
    position: relative;
}

.author-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    filter: grayscale(10%) contrast(110%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(197, 160, 89, 0.08);
}

.author-portrait-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    background: var(--blog-surface);
    border: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blog-meta);
}

.author-portrait-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

/* Identity content */
.author-hero-eyebrow {
    display: block;
    font-family: var(--blog-font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blog-gold);
    margin-bottom: 1.25rem;
}

.author-hero-name {
    font-family: var(--blog-font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--blog-h1);
    line-height: 1.05;
    margin: 0 0 1rem;
    letter-spacing: -0.5px;
}

.author-hero-title {
    font-family: var(--blog-font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blog-gold);
    margin: 0 0 1.75rem;
}

.author-hero-tagline {
    font-family: var(--blog-font-serif);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(245, 245, 245, 0.65);
    line-height: 1.6;
    margin: 0 0 2.5rem;
    max-width: 480px;
    border-left: 2px solid rgba(197, 160, 89, 0.3);
    padding-left: 1.25rem;
}

/* Stats */
.author-hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.author-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-stat-number {
    font-family: var(--blog-font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blog-h1);
    line-height: 1;
}

.author-stat-label {
    font-family: var(--blog-font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blog-meta);
}

/* Social */
.author-hero-social {
    display: flex;
    gap: 0.75rem;
}

.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(166, 166, 166, 0.25);
    border-radius: 50%;
    color: #A6A6A6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    border-color: var(--blog-gold);
    color: var(--blog-gold);
    background: rgba(197, 160, 89, 0.08);
}

.author-social-link svg {
    width: 15px;
    height: 15px;
}

/* ==============================
   PHILOSOPHY — NARRATIVE
   ============================== */

.author-philosophy {
    background: var(--blog-bg);
    border-bottom: 1px solid var(--blog-border);
    padding: 0;
}

.author-philosophy-grid {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 5rem;
    align-items: start;
}

.author-philosophy-label {
    padding-top: 0.375rem;
}

.author-philosophy-label span {
    font-family: var(--blog-font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blog-gold);
}

.author-philosophy-text p {
    font-family: var(--blog-font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(189, 189, 189, 0.85);
    margin: 0;
}

/* ==============================
   CURATION GALLERY
   ============================== */

.author-gallery {
    background: var(--blog-bg);
    padding: 0;
}

.author-gallery-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.author-gallery-eyebrow {
    font-family: var(--blog-font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blog-gold);
    white-space: nowrap;
}

.author-gallery-line {
    flex: 1;
    height: 1px;
    background: var(--blog-border);
}

/* 2-column showroom grid */
.author-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

/* Tile */
.author-post-tile {
    background: #141414;
    border-bottom: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow: hidden;
}

.author-post-tile:hover {
    border-bottom: 2px solid var(--blog-gold);
}

.author-tile-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Cinematic 2.35:1 image */
.author-tile-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2.35 / 1;
    background: var(--blog-surface);
}

.author-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: block;
}

.author-post-tile:hover .author-tile-image img {
    transform: scale(1.04);
}

.author-tile-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

/* Hover overlay */
.author-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(13, 13, 13, 0.92) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.author-post-tile:hover .author-tile-overlay {
    opacity: 1;
}

.author-tile-title {
    font-family: var(--blog-font-serif);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--blog-h1);
    line-height: 1.25;
    margin: 0 0 0.875rem;
}

.author-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--blog-font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blog-gold);
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    padding-bottom: 2px;
}

.author-tile-cta svg {
    width: 16px;
    height: 8px;
}

/* Tile body (below image) */
.author-tile-body {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.author-tile-body-title {
    font-family: var(--blog-font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--blog-h2);
    line-height: 1.3;
    margin: 0;
    transition: color 0.2s ease;
}

.author-post-tile:hover .author-tile-body-title {
    color: var(--blog-gold);
}

.author-tile-read {
    font-family: var(--blog-font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blog-gold);
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.author-post-tile:hover .author-tile-read {
    opacity: 1;
}

/* ==============================
   SIGNATURE FOOTER
   ============================== */

.author-signature {
    background: linear-gradient(to bottom, #141414, #0D0D0D);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--blog-border);
}

.author-signature-text {
    font-family: var(--blog-font-serif);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    color: var(--blog-meta);
    letter-spacing: 0.5px;
    margin: 0;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1024px) {
    .author-container {
        padding: 60px 6%;
    }

    .author-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .author-image {
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }

    .author-hero-content-col {
        text-align: center;
    }

    .author-hero-tagline {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-top: 1px solid rgba(197, 160, 89, 0.3);
        padding-left: 0;
        padding-top: 1rem;
    }

    .author-hero-stats,
    .author-hero-social {
        justify-content: center;
    }

    .author-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .author-container {
        padding: 40px 5%;
    }

    .author-post-grid {
        grid-template-columns: 1fr;
    }

    .author-tile-overlay {
        opacity: 1;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(13, 13, 13, 0.95) 100%
        );
    }

    .author-tile-read {
        opacity: 1;
    }
}