/* ------------------------------------------------------------------
   The Pioneer Design — About + Projects pages
   Built on the same palette, type scale and header/footer as the home
   page: black, white and the cream accent (#f5f2ec).
------------------------------------------------------------------- */

.pd-subpage {
    background: #ffffff;
}

.pd-page {
    background: #ffffff;
    color: #000000;
    overflow-x: clip;
}

.pd-wrap {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1148px;
    padding-left: 24px;
    padding-right: 24px;
}

/* ---------------------------------------------------------------- hero */
.pd-hero {
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    padding-bottom: clamp(40px, 5vw, 64px);
    padding-top: clamp(64px, 8vw, 112px);
}

.pd-eyebrow {
    font-family: Overpass, sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.28em;
    line-height: 1.4;
    margin: 0 0 clamp(20px, 2.5vw, 32px);
    text-transform: uppercase;
}

.pd-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(56px, 11vw, 132px);
    font-weight: 200;
    letter-spacing: -0.015em;
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
}

.pd-lede {
    color: #2b2b2b;
    font-family: Roboto, sans-serif;
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 300;
    line-height: 1.55;
    margin: clamp(24px, 3vw, 36px) 0 0;
    max-width: 620px;
}

/* ------------------------------------------------------------ sections */
.pd-section {
    padding-bottom: clamp(56px, 7vw, 96px);
    padding-top: clamp(56px, 7vw, 96px);
}

.pd-section--cream {
    background: #f5f2ec;
}

.pd-section-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.28em;
    margin: 0 0 40px;
    text-transform: uppercase;
}

/* --------------------------------------------------------- about split */
.pd-split {
    align-items: center;
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
}

.pd-figure {
    margin: 0;
    overflow: hidden;
}

.pd-figure img {
    display: block;
    height: auto;
    width: 100%;
}

.pd-figure--tall img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.pd-copy h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 200;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.pd-copy p {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    margin: 0 0 18px;
    max-width: 56ch;
}

.pd-sign {
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.16em;
    margin-top: 30px !important;
    text-transform: uppercase;
}

/* ------------------------------------------------------------- services */
.pd-services {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    list-style: none;
    margin: 0;
    padding: 0;
}

.pd-services li {
    align-items: baseline;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    display: grid;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 200;
    gap: 24px;
    grid-template-columns: 72px 1fr;
    letter-spacing: -0.005em;
    line-height: 1.15;
    padding: 22px 0;
    text-transform: uppercase;
}

.pd-num {
    font-family: Overpass, sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.2em;
}

/* -------------------------------------------------------------- process */
.pd-steps {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    display: grid;
    gap: clamp(24px, 3vw, 40px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 32px;
}

.pd-step h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin: 14px 0 10px;
    text-transform: uppercase;
}

.pd-step p {
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
}

/* --------------------------------------------------------------- gallery */
.pd-gallery {
    column-gap: clamp(12px, 2vw, 24px);
    columns: 3;
}

.pd-gallery-item {
    break-inside: avoid;
    display: block;
    margin: 0 0 clamp(12px, 2vw, 24px);
    overflow: hidden;
    position: relative;
}

.pd-gallery-item img {
    cursor: zoom-in;
    display: block;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
    width: 100%;
}

.pd-gallery-item:hover img,
.pd-gallery-item:focus-visible img {
    transform: scale(1.035);
}

/* ------------------------------------------------------------------ cta */
.pd-cta {
    background: #000000;
    color: #ffffff;
    padding-bottom: clamp(64px, 8vw, 110px);
    padding-top: clamp(64px, 8vw, 110px);
    text-align: center;
}

.pd-cta h2 {
    color: #ffffff;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 200;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin: 0 auto 32px;
    max-width: 780px;
    text-transform: uppercase;
}

.pd-btn {
    border: 1px solid #ffffff;
    border-radius: 70px;
    color: #ffffff;
    display: inline-block;
    font-family: Overpass, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.16em;
    padding: 17px 44px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pd-btn:hover,
.pd-btn:focus-visible {
    background: #ffffff;
    color: #000000;
}

.pd-btn--dark {
    border-color: #000000;
    color: #000000;
}

.pd-btn--dark:hover,
.pd-btn--dark:focus-visible {
    background: #000000;
    color: #ffffff;
}

.pd-page a:focus-visible,
.pd-page button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 900px) {
    .pd-split {
        grid-template-columns: 1fr;
    }

    .pd-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-gallery {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .pd-gallery {
        columns: 1;
    }

    .pd-hero {
        padding-top: 48px;
    }

    .pd-services li {
        gap: 16px;
        grid-template-columns: 44px 1fr;
    }

    .pd-steps {
        grid-template-columns: 1fr;
    }
}
