/* Art page - custom overrides only. Shared styles in sections.css */

.art {
    overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   HERO - art layout (widget positioning)
   ═══════════════════════════════════════════════════════════════ */

.ar-hero__art {
    position: relative;
}

.ar-hero__art-main.art-frame {
    aspect-ratio: 1;
    width: 100%;
    border-radius: var(--sec-radius);
}

.ar-hero__art-insets {
    position: absolute;
    bottom: -24px;
    left: -24px;
    display: flex;
    gap: 10px;
}

.ar-hero__inset.art-frame {
    width: 90px;
    height: 90px;
    border-radius: var(--sec-radius-sm);
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.ar-hero__inset.art-frame img {
    object-fit: cover;
    object-position: center;
}

.ar-hero__art-insets .art-frame:nth-child(1) { transition-delay: 0.15s; }
.ar-hero__art-insets .art-frame:nth-child(2) { transition-delay: 0.25s; }
.ar-hero__art-insets .art-frame:nth-child(3) { transition-delay: 0.35s; }


/* ═══════════════════════════════════════════════════════════════
   CSS FILTERS - comparison simulations
   ═══════════════════════════════════════════════════════════════ */

.ar-filter--raw img  { filter: grayscale(1) brightness(0.85) contrast(0.65); }
.ar-filter--flat img { filter: grayscale(0.45) brightness(0.95) contrast(0.8) saturate(0.5); }


/* ═══════════════════════════════════════════════════════════════
   SPECIMEN - annotated callout positioning
   ═══════════════════════════════════════════════════════════════ */

.ar-specimen {
    position: relative;
    max-width: var(--sec-max);
    margin: 0 auto 80px;
}

.ar-specimen__img.art-frame {
    aspect-ratio: 2048 / 700;
    width: 100%;
    border-radius: var(--sec-radius);
}

.ar-specimen__callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.ar-specimen__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sec-accent);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.ar-specimen__label {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(20,26,33,0.82);
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1;
}

[data-callout="colour"]     { top: 10%; left: 5%; flex-direction: row-reverse; }
[data-callout="centre"]     { top: 15%; left: 49%; }
[data-callout="features"]   { top: 65%; left: 19%; flex-direction: row-reverse; }
[data-callout="grid"]       { top: 12%; right: 10%; flex-direction: row-reverse; }
[data-callout="atmosphere"] { bottom: 12%; left: 72%; }


/* ═══════════════════════════════════════════════════════════════
   MODULE SAMPLES - 3-col image grid
   ═══════════════════════════════════════════════════════════════ */

.ar-module__samples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   MODULE GRID (4-up 2x2 in The Visual Language)
   ═══════════════════════════════════════════════════════════════ */

.ar-language__modules {
    gap: 56px 64px;
}


/* ═══════════════════════════════════════════════════════════════
   CROP FRAMES - page-specific image crops
   ═══════════════════════════════════════════════════════════════ */

.ar-crop {
    overflow: hidden;
    border-radius: var(--sec-radius-sm);
    background: #e8eaef;
}

.ar-crop--module.art-frame {
    aspect-ratio: 1;
    border-radius: var(--sec-radius-sm);
}

.ar-crop--module.art-frame img {
    object-fit: cover;
    object-position: center;
}

.ar-crop--process.art-frame {
    aspect-ratio: 1;
    border-radius: var(--sec-radius-sm);
}

.ar-crop--process.art-frame img {
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}


/* ═══════════════════════════════════════════════════════════════
   PROCESS BOARD - rejected/kept grid layout
   ═══════════════════════════════════════════════════════════════ */

.ar-process .sec__intro {
    max-width: 960px;
}

.ar-process__board {
    display: grid;
    grid-template-columns: 3fr auto 1.1fr;
    gap: 24px;
    align-items: center;
    max-width: var(--sec-max);
    margin: 0 auto;
}

.ar-process__rejected-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ar-process__stage {
    text-align: center;
}

.ar-process__rejected .ar-crop--process.art-frame img {
    filter: saturate(0.4) opacity(0.85);
}

.ar-process__arrow {
    color: var(--sec-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-process__label {
    display: block;
    font-size: 0.82em;
    font-weight: 600;
    color: var(--sec-faint);
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ar-process__label--final {
    color: var(--sec-accent);
}

.ar-process__stage--final .ar-crop--process-final.art-frame {
    border: 2px solid var(--sec-accent);
    box-shadow: 0 4px 24px rgba(123, 66, 184, 0.15);
}

.ar-process__copy {
    max-width: 720px;
    margin: 0 auto 56px;
}

.ar-process__copy h2 {
    text-align: center;
}

.ar-process__copy p {
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   STRATEGY ROOTS - atmospheric overrides
   ═══════════════════════════════════════════════════════════════ */

.ar-roots .atmospheric__content {
    max-width: 720px;
    text-align: center;
}

.ar-roots .atmospheric__content p {
    color: rgba(255,255,255,0.92);
}

.ar-roots .atmospheric__overlay {
    background: linear-gradient(
        to bottom,
        rgba(10,12,18,0.82) 0%,
        rgba(10,12,18,0.88) 100%
    );
}


/* ═══════════════════════════════════════════════════════════════
   CLOSE - CTA overrides
   ═══════════════════════════════════════════════════════════════ */

.ar-close {
    text-align: center;
    padding: 120px var(--sec-gutter);
    background: #0a0c12;
}


/* ═══════════════════════════════════════════════════════════════
   LINEAGE - visual evolution strip
   ═══════════════════════════════════════════════════════════════ */

.ar-lineage__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ar-lineage__era {
    text-align: left;
}

.ar-lineage__img {
    aspect-ratio: 1;
    border-radius: var(--sec-radius);
    overflow: hidden;
    background: var(--sec-surface);
    margin-bottom: 20px;
}

.ar-lineage__img .art-frame {
    width: 100%;
    height: 100%;
    border-radius: var(--sec-radius);
}

.ar-lineage__date {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sec-faint);
    margin-bottom: 8px;
    vertical-align: middle;
}

.ar-lineage__date--current {
    color: var(--sec-accent);
}

.ar-lineage__info h3 {
    font-size: 1.35em;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.2;
    color: var(--sec-text);
}

.ar-lineage__info p {
    color: var(--sec-muted);
    line-height: 1.65;
    margin: 0;
    font-size: 0.95em;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - page-specific breakpoints only
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .ar-specimen {
        max-width: 100%;
    }
}

@media (max-width: 860px) {
    .ar-hero__art {
        max-width: 480px;
    }

    .ar-hero__art-insets {
        bottom: -16px;
        left: -12px;
    }

    .ar-hero__inset.art-frame {
        width: 72px;
        height: 72px;
    }

    .ar-specimen {
        max-width: 420px;
        margin-bottom: 40px;
    }

    .ar-specimen__callout {
        display: none;
    }

    .ar-process__board {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 360px;
    }

    .ar-process__arrow {
        transform: rotate(90deg);
    }

    .ar-process__copy {
        margin-bottom: 32px;
    }

    .ar-lineage__strip {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 480px;
    }

    .ar-language__modules {
        gap: 36px;
    }
}

@media (max-width: 560px) {
    .ar-hero__art-insets {
        position: static;
        margin-top: 12px;
    }

    .ar-hero__inset.art-frame {
        width: 64px;
        height: 64px;
    }

    .ar-specimen {
        max-width: 100%;
        margin-bottom: 32px;
    }

    .ar-process__board {
        max-width: 280px;
    }

    .ar-process__copy {
        margin-bottom: 24px;
    }

    .ar-close {
        padding: 52px var(--sec-gutter);
    }

    .ar-lineage__strip {
        gap: 28px;
    }

    .ar-language__modules {
        gap: 28px;
    }
}
