/* About / Our Story page — same editorial spacing system as workshops.css
   (big title, tagline, thin dividers), with an accordion list of brand
   story sections styled after a clean "expertise list" reference: large
   clickable row titles, a plus/minus indicator, and revealed body copy. */

.about-page {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xxl);
}

.about-hero {
    margin-bottom: var(--spacing-xxl);
}

.about-hero__title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text-primary);
}

.about-hero__tagline {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.5;
    max-width: 40em;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text-primary);
    font-weight: 500;
}

.about-hero__intro {
    font-size: 15px;
    line-height: 1.7;
    max-width: 40em;
    margin: 0;
    color: var(--color-text-secondary);
}

.about-divider {
    border-top: 1px solid var(--color-secondary-bg);
    margin: var(--spacing-xl) 0;
}

/* Sits between the intro divider and the accordion's own top border,
   spanning the same content width as everything else on the page. */
.about-top-image {
    width: 100%;
    aspect-ratio: 1600 / 610;
    overflow: hidden;
    background: var(--color-secondary-bg);
    margin-bottom: var(--spacing-xl);
}

.about-top-image picture,
.about-top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Accordion: each row is a native <details>/<summary> pair, so expand/
   collapse, keyboard support and ARIA state all come for free. */
.about-accordion__item {
    border-top: 1px solid var(--color-secondary-bg);
}

.about-accordion__item:last-child {
    border-bottom: 1px solid var(--color-secondary-bg);
}

.about-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    cursor: pointer;
    list-style: none;
}

.about-accordion__trigger::-webkit-details-marker {
    display: none;
}

.about-accordion__title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

/* Plus/minus indicator: two centered bars; the vertical one rotates flat
   to read as a minus once the panel is open. */
.about-accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.about-accordion__icon::before,
.about-accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-text-primary);
    transform: translate(-50%, -50%);
}

.about-accordion__icon::before {
    width: 14px;
    height: 1.5px;
}

.about-accordion__icon::after {
    width: 1.5px;
    height: 14px;
    transition: transform 0.2s ease;
}

.about-accordion__item[open] .about-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.about-accordion__panel {
    padding: 0 0 var(--spacing-lg);
    max-width: 640px;
}

.about-accordion__panel p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 var(--spacing-md);
}

.about-accordion__panel p:last-child {
    margin-bottom: 0;
}

.about-accordion__panel a {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.about-accordion__pull-line {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-primary) !important;
}

/* Panels that include a photo (or small gallery): image in a narrow left
   column, text filling the rest - stacks on mobile. */
.about-accordion__panel--with-image {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    max-width: 760px;
}

.about-accordion__gallery-viewport {
    position: relative;
    overflow: hidden;
    background: var(--color-secondary-bg);
}

.about-accordion__gallery--portrait .about-accordion__gallery-viewport {
    aspect-ratio: 4 / 5;
}

.about-accordion__gallery--landscape .about-accordion__gallery-viewport {
    aspect-ratio: 4 / 3;
}

.about-accordion__gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.about-accordion__gallery-slide.is-active {
    display: block;
}

/* <picture> defaults to display:inline, so without this it won't
   stretch to the slide's full height, leaving a gap under the image. */
.about-accordion__gallery-slide picture,
.about-accordion__gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-accordion__gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--spacing-xs);
}

.about-accordion__gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: var(--color-secondary-bg);
    cursor: pointer;
}

.about-accordion__gallery-dot.is-active {
    background: var(--color-text-primary);
}

@media screen and (max-width: 600px) {
    .about-accordion__panel--with-image {
        grid-template-columns: 1fr;
    }

    .about-accordion__gallery--portrait .about-accordion__gallery-viewport,
    .about-accordion__gallery--landscape .about-accordion__gallery-viewport {
        aspect-ratio: 4 / 3;
    }
}
