/* ==========================================================================
   About Us — page-templates/template-about.php
   Same museum vocabulary as the Hall of Hits: a lit hero, engraved section
   rules, and vault-surface cards for the pillar and service grids.
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* Hero                                                                         */
/* -------------------------------------------------------------------------- */

.about__hero {
    position: relative;
    padding-block: var(--space-20) var(--space-12);
    overflow: hidden;
    text-align: center;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);
}

.about__hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 70% 60% at 50% 0%,
        rgba(201, 168, 76, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.about__hero > .container {
    position: relative;
}

.about__eyebrow {
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-olive-light);
    margin-bottom: var(--space-3);
}

.about__title {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    line-height: 1.05;
    color: var(--color-parchment);
    margin: 0 0 var(--space-5);
}

.about__lede {
    max-width: 60ch;
    margin: 0 auto;
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* -------------------------------------------------------------------------- */
/* Shared section furniture                                                     */
/* -------------------------------------------------------------------------- */

.about__story,
.about__pillars,
.about__services,
.about__contact {
    padding-block: var(--space-12);
}

.about__pillars,
.about__contact {
    border-top: 1px solid var(--color-border-subtle);
}

.about__section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-parchment);
    margin: 0 0 var(--space-6);
}

/* -------------------------------------------------------------------------- */
/* Story — portrait beside the copy                                             */
/* -------------------------------------------------------------------------- */

.about__story-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-10);
    align-items: start;
}

.about__portrait {
    margin: 0;
    /* Sits just below the sticky header while the copy scrolls past it. */
    position: sticky;
    top: var(--space-8);
}

.about__portrait img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px;
    /* The photo is black and white; a faint warm wash settles it into the
       parchment/gold palette instead of reading as a cold grey rectangle. */
    filter: sepia(0.18) contrast(1.02);
}

.about__portrait figcaption {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Story — prose (template copy + editor content)                               */
/* -------------------------------------------------------------------------- */

/*
 * Set in Playfair rather than the site's Inter body face. This is the one
 * stretch of long-form writing on the site, and running it in the same UI font
 * as product cards and filters made it read like interface text. The 400 weight
 * is requested alongside the heading weights in inc/enqueue.php.
 *
 * Playfair has fine hairlines, so on the dark ground it gets a brighter ink and
 * a looser line-height than Inter would need, and the measure is capped near
 * 62ch to keep lines comfortable to track.
 */
.about__prose {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
    line-height: 1.75;
    letter-spacing: 0.005em;
    max-width: 62ch;
    color: var(--color-stone-light);
}

.about__prose > * + * {
    margin-top: var(--space-5);
}

/* Opening paragraph carries the hook — give it a touch more presence. */
.about__prose > p:first-of-type {
    font-size: 1.12em;
    line-height: 1.65;
    color: var(--color-parchment);
}

.about__prose em,
.about__prose i {
    font-style: italic;
}

.about__prose h2,
.about__prose h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-parchment);
    line-height: 1.25;
}

.about__prose h2 { font-size: var(--text-2xl); }
.about__prose h3 { font-size: var(--text-xl); }

.about__prose a {
    color: var(--color-link);
    text-underline-offset: 3px;
}

.about__prose a:hover {
    color: var(--color-link-hover);
}

.about__prose img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px;
}

.about__prose blockquote {
    padding-left: var(--space-5);
    border-left: 2px solid var(--color-accent);
    font-style: italic;
    color: var(--color-text-primary);
}

/* -------------------------------------------------------------------------- */
/* Pillar + service grids                                                       */
/* -------------------------------------------------------------------------- */

.about__pillar-grid,
.about__service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.about__pillar,
.about__service {
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px;
}

.about__service {
    transition: border-color var(--transition-fast);
}

.about__service:hover {
    border-color: var(--color-border);
}

.about__pillar-title,
.about__service-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-accent);
    margin: 0 0 var(--space-3);
}

.about__pillar-body,
.about__service-body {
    margin: 0;
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.about__service-link {
    margin-top: var(--space-4);
    align-self: flex-start;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-link);
}

.about__service-link:hover {
    color: var(--color-link-hover);
}

.about__service-link span {
    display: inline-block;
    margin-left: var(--space-1);
    transition: transform var(--transition-fast);
}

.about__service-link:hover span {
    transform: translateX(3px);
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                      */
/* -------------------------------------------------------------------------- */

.about__contact-body {
    max-width: 55ch;
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-5);
}

.about__contact-detail {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    margin: 0 0 var(--space-2);
}

.about__contact-detail a {
    color: var(--color-accent);
}

.about__contact-detail a:hover {
    color: var(--color-gold-pale);
}

.about__contact-hours {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Small screens                                                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .about__story-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .about__portrait {
        position: static;
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    .about__hero {
        padding-block: var(--space-12) var(--space-8);
    }

    .about__story,
    .about__pillars,
    .about__services,
    .about__contact {
        padding-block: var(--space-8);
    }

    .about__pillar,
    .about__service {
        padding: var(--space-5);
    }
}
