/* ==========================================================================
   About Us — Editorial artist biography
   Scoped to .ab-page / .page-about (does not reuse homepage layouts)
   ========================================================================== */

.page-about #main-content {
    padding-top: 0;
    overflow-x: clip;
}

.ab-page {
    --ab-ink: var(--black);
    --ab-mute: var(--text-muted);
    --ab-paper: #fbfaf6;
    --ab-paper-deep: #f3f0e7;
    --ab-line: rgba(17, 17, 17, 0.12);
    --ab-accent: var(--accent);
    --ab-gold: var(--primary);
    --ab-space: clamp(4.5rem, 12vw, 9rem);
    --ab-gutter: clamp(1.25rem, 4vw, 2.5rem);
    color: var(--ab-ink);
    background: var(--warm-cream);
}

.ab-page img,
.ab-page video {
    display: block;
    max-width: 100%;
}

/* Match homepage type scale: section-eyebrow / section-title / body */
.ab-kicker {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--sage-green);
    margin: 0 0 0.5rem;
}

.ab-section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.1rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--ab-ink);
}

.ab-section-title--light {
    color: var(--white);
}

.ab-em {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--ab-ink);
    background: linear-gradient(180deg, transparent 62%, rgba(255, 229, 0, 0.45) 62%, rgba(255, 229, 0, 0.45) 92%, transparent 92%);
}

/* Reveal defaults (JS enhances) */
[data-ab-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
}

.ab-page.is-ab-ready [data-ab-reveal].is-in,
.ab-page.ab-reduce-motion [data-ab-reveal] {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   1. Banner — art-catalogue opening spread
   -------------------------------------------------------------------------- */
.ab-banner {
    position: relative;
    padding: calc(var(--nav-height) + clamp(1.75rem, 4vw, 2.75rem)) var(--ab-gutter) clamp(2.5rem, 6vw, 4rem);
    overflow: hidden;
    background: var(--ab-paper);
}

.ab-banner-wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 229, 0, 0.12) 0%, transparent 42%),
        linear-gradient(320deg, rgba(217, 194, 0, 0.08) 0%, transparent 38%),
        var(--wc-noise);
    opacity: 0.9;
}

.ab-banner-sheet {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.75rem) clamp(2rem, 5vw, 3.25rem);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--ab-line);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 28px 70px rgba(17, 17, 17, 0.06);
}

.ab-banner-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.ab-banner-folio {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--sage-green);
}

.ab-banner-meta-rule {
    flex: 1;
    max-width: 4.5rem;
    height: 1px;
    background: var(--ab-line);
}

.ab-banner-folio-num {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ab-mute);
}

.ab-banner-compose {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 5vw, 3.5rem);
    align-items: center;
}

@media (min-width: 960px) {
    .ab-banner-compose {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: clamp(2rem, 4vw, 4rem);
        align-items: stretch;
        min-height: clamp(380px, 48vw, 520px);
    }
}

.ab-banner-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(0.5rem, 2vw, 1.5rem) 0;
}

.ab-banner-line {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--dark-grey);
    margin: 0;
    max-width: 18ch;
    text-wrap: balance;
}

.ab-banner-stroke {
    display: block;
    width: 4.5rem;
    height: 3px;
    margin-top: 1.75rem;
    background: linear-gradient(90deg, var(--ab-gold), rgba(255, 229, 0, 0.15));
}

.ab-banner-gallery {
    position: relative;
    min-height: clamp(280px, 55vw, 460px);
}

@media (min-width: 960px) {
    .ab-banner-gallery {
        min-height: 100%;
    }
}

.ab-banner-frame {
    position: absolute;
    margin: 0;
    overflow: hidden;
    background: var(--ab-paper-deep);
    border: 1px solid rgba(17, 17, 17, 0.14);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
}

.ab-banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease-out);
}

.ab-banner-frame:hover img {
    transform: scale(1.04);
}

.ab-banner-frame--tall {
    width: 48%;
    aspect-ratio: 3 / 4;
    top: 0;
    left: 4%;
    z-index: 2;
    transform: rotate(-2.5deg);
}

.ab-banner-frame--wide {
    width: 56%;
    aspect-ratio: 4 / 3;
    right: 0;
    bottom: 8%;
    z-index: 3;
    transform: rotate(2deg);
}

.ab-banner-frame--small {
    width: 30%;
    aspect-ratio: 4 / 5;
    left: 38%;
    top: 42%;
    z-index: 4;
    transform: rotate(-1deg);
}

.ab-banner-paint {
    position: absolute;
    right: 8%;
    top: 6%;
    width: 5.5rem;
    height: 2px;
    background: rgba(217, 194, 0, 0.55);
    transform: rotate(18deg);
    z-index: 1;
}

.ab-banner-paint::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 10px;
    width: 2.75rem;
    height: 2px;
    background: rgba(255, 229, 0, 0.65);
    transform: rotate(-8deg);
}

@media (max-width: 575.98px) {
    .ab-banner-frame--small {
        display: none;
    }

    .ab-banner-frame--tall {
        width: 52%;
    }

    .ab-banner-frame--wide {
        width: 60%;
    }

    .ab-banner-line {
        max-width: 14ch;
    }
}

/* --------------------------------------------------------------------------
   2. Artist intro — portrait-led meeting moment
   -------------------------------------------------------------------------- */
.ab-intro {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--ab-gutter) clamp(3.5rem, 8vw, 6.5rem);
    background:
        linear-gradient(180deg, #fff 0%, var(--ab-paper) 55%, #fff 100%);
    overflow: hidden;
}

.ab-intro-wrap {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.75rem);
}

@media (min-width: 900px) {
    .ab-intro-wrap {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: clamp(1.5rem, 3vw, 2.5rem);
        align-items: stretch;
    }
}

.ab-intro-rail {
    display: none;
}

@media (min-width: 900px) {
    .ab-intro-rail {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding-top: 0.5rem;
    }
}

.ab-intro-rail-line {
    width: 1px;
    flex: 1;
    min-height: 4rem;
    background: linear-gradient(180deg, var(--ab-gold), rgba(17, 17, 17, 0.08));
}

.ab-intro-rail-label {
    font-family: var(--font-hand);
    font-size: 1.35rem;
    color: var(--dark-grey);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.04em;
}

.ab-intro-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: end;
}

@media (min-width: 900px) {
    .ab-intro-main {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: clamp(2rem, 4vw, 3.5rem);
        align-items: center;
    }
}

.ab-intro-anchor {
    position: relative;
    margin: 0;
    width: min(100%, 420px);
    justify-self: center;
}

@media (min-width: 900px) {
    .ab-intro-anchor {
        width: 100%;
        max-width: 420px;
        justify-self: start;
    }
}

.ab-intro-mat {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--ab-paper-deep);
    border: 1px solid var(--ab-line);
    box-shadow: 0 22px 50px rgba(17, 17, 17, 0.09);
}

.ab-intro-mat::before {
    content: '';
    position: absolute;
    inset: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    z-index: 2;
    pointer-events: none;
}

.ab-intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 1.6s var(--ease-out);
}

.ab-intro-anchor:hover .ab-intro-video {
    transform: scale(1.06);
}

.ab-intro-chip {
    position: absolute;
    right: -8%;
    bottom: 12%;
    width: 46%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border: 1px solid var(--ab-line);
    background: #fff;
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.1);
    z-index: 3;
}

.ab-intro-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-intro-copy {
    position: relative;
    max-width: 34rem;
    padding: clamp(1.25rem, 3vw, 1.75rem) 0 0;
}

@media (min-width: 900px) {
    .ab-intro-copy {
        padding: 1.5rem 0 1.5rem 1.75rem;
        border-left: 1px solid var(--ab-line);
    }
}

.ab-intro-lead {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--black);
    margin: 0 0 1rem;
}

.ab-intro-body {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
}

@media (max-width: 575.98px) {
    .ab-intro-chip {
        right: 0;
        bottom: -6%;
        width: 42%;
    }
}

/* --------------------------------------------------------------------------
   3. Journey — story-first with compact artwork
   -------------------------------------------------------------------------- */
.ab-journey {
    padding: clamp(2rem, 4vw, 3rem) var(--ab-gutter) var(--ab-space);
    background: #fff;
}

.ab-journey-inner {
    max-width: 980px;
    margin: 0 auto;
}

.ab-journey-head {
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ab-line);
}

.ab-journey-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: start;
}

@media (min-width: 800px) {
    .ab-journey-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(160px, 220px);
        gap: clamp(2rem, 4vw, 3.25rem);
        align-items: start;
    }
}

.ab-journey-prose {
    max-width: 40rem;
}

.ab-journey-prose p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
}

.ab-journey-figure {
    position: relative;
    margin: 0;
    width: min(100%, 220px);
    justify-self: start;
}

@media (min-width: 800px) {
    .ab-journey-figure {
        width: 100%;
        margin-top: 0.35rem;
        justify-self: end;
    }
}

.ab-journey-figure img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--ab-line);
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
    transition: transform 1.4s var(--ease-out);
}

.ab-journey-figure:hover img {
    transform: scale(1.03);
}

.ab-journey-cap {
    position: absolute;
    left: -0.65rem;
    top: -0.65rem;
    width: calc(100% + 1.3rem);
    height: calc(100% + 1.3rem);
    border: 1px solid rgba(17, 17, 17, 0.08);
    pointer-events: none;
    z-index: -1;
}

/* --------------------------------------------------------------------------
   4. Touch / technique — colour & contact
   -------------------------------------------------------------------------- */
.ab-touch {
    position: relative;
    padding: var(--ab-space) var(--ab-gutter);
    background:
        linear-gradient(120deg, #f7f4ea 0%, #fff 42%, #fff8d8 100%);
    overflow: hidden;
}

.ab-touch::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--wc-noise);
    opacity: 0.35;
    pointer-events: none;
}

.ab-touch-stage {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 900px) {
    .ab-touch-stage {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    }
}

.ab-touch-visual {
    position: relative;
    margin: 0;
    min-height: clamp(320px, 50vw, 520px);
}

.ab-touch-img {
    position: absolute;
    object-fit: cover;
    border: 1px solid var(--ab-line);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.12);
    transition: transform 1.2s var(--ease-out), opacity 0.8s var(--ease-soft);
}

.ab-touch-img--back {
    width: 68%;
    aspect-ratio: 4 / 5;
    top: 0;
    left: 0;
    z-index: 1;
    filter: saturate(1.05);
}

.ab-touch-img--front {
    width: 62%;
    aspect-ratio: 3 / 4;
    right: 0;
    bottom: 0;
    z-index: 2;
    mix-blend-mode: normal;
}

.ab-touch-visual:hover .ab-touch-img--back {
    transform: translate(-6px, -8px);
}

.ab-touch-visual:hover .ab-touch-img--front {
    transform: translate(8px, 6px);
}

.ab-touch-swatch {
    position: absolute;
    z-index: 3;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(17, 17, 17, 0.15);
}

.ab-touch-swatch--a {
    left: 58%;
    top: 12%;
    background: rgba(255, 229, 0, 0.85);
}

.ab-touch-swatch--b {
    left: 12%;
    bottom: 18%;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(217, 194, 0, 0.75);
}

.ab-touch-copy {
    position: relative;
    padding: clamp(0.5rem, 2vw, 1.5rem) 0;
}

@media (min-width: 900px) {
    .ab-touch-copy {
        padding-left: clamp(0.5rem, 2vw, 1.5rem);
        border-left: 1px solid var(--ab-line);
    }
}

.ab-touch-body {
    margin: 0;
    max-width: 34rem;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. Nature / inspiration — immersive close
   -------------------------------------------------------------------------- */
.ab-nature {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: #fffdf5;
}

.ab-nature-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ab-nature-bg {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    transform: translateY(-8%);
}

.ab-nature-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(17, 17, 17, 0.78) 0%, rgba(17, 17, 17, 0.45) 48%, rgba(17, 17, 17, 0.62) 100%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.55));
}

.ab-nature-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--ab-space) var(--ab-gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.ab-nature-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: end;
}

@media (min-width: 900px) {
    .ab-nature-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
    }
}

.ab-nature-body {
    margin: 0;
    max-width: 36rem;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 253, 245, 0.88);
}

.ab-nature-pull {
    display: inline;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.3;
    color: #fff;
    border-bottom: 1px solid rgba(255, 229, 0, 0.75);
    padding-bottom: 0.05em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (min-width: 700px) {
    .ab-nature-pull {
        display: block;
        width: fit-content;
        margin: 1rem 0;
        border-bottom-width: 1px;
        padding: 0.1rem 0 0.3rem;
    }
}

.ab-nature-inset {
    margin: 0;
    justify-self: end;
    width: min(100%, 340px);
}

.ab-nature-inset img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 699.98px) {
    .ab-banner-gallery {
        min-height: 260px;
    }

    .ab-touch-visual {
        min-height: 360px;
    }

    .ab-touch-img--back {
        width: 72%;
    }

    .ab-touch-img--front {
        width: 66%;
    }

    .ab-nature {
        min-height: auto;
    }

    .ab-nature-inset {
        width: min(100%, 280px);
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-intro-video,
    .ab-banner-frame img,
    .ab-journey-figure img,
    .ab-touch-img {
        animation: none !important;
        transition: none !important;
    }
}
