:root {
    --ink: #18211d;
    --forest: #13271f;
    --cream: #f4f0e7;
    --paper: #fbfaf6;
    --orange: #d05f35;
    --line: rgba(24, 33, 29, 0.18);
    --max: 1600px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { position: absolute; top: 0; left: 50%; z-index: 10; width: min(calc(100% - 3rem), var(--max)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; color: white; border-bottom: 1px solid rgba(255,255,255,.28); }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; font-family: "Libre Franklin", sans-serif; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 34px; height: 76px; object-fit: contain; }
.site-header .brand img {
    width: clamp(34px, 5vw, 92px);
    height: clamp(100px, 14vw, 253px);
}
nav { display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    background: rgba(19, 39, 31, 0.72);
    backdrop-filter: blur(5px);}
nav a { padding: 0.7rem 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;}
.nav-cta { padding: .65rem 1rem; background: var(--orange); color: white; }
.nav-repairs { border: 1px solid rgba(255,255,255,.8); color: white; }
.nav-repairs-short { display: none; }
.repair-page-header { position: relative; top: auto; left: auto; width: 100%; transform: none; padding: 1rem max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--forest); }
.repair-page-header .brand img { width: 44px; height: 120px; }
.repair-page-header .nav-repairs[aria-current="page"] { border-color: #dbc8a2; color: #dbc8a2; }
.hero { min-height: 780px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); color: white; background: var(--forest); }
.hero-copy { display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 21rem 4rem 5rem max(1.5rem, calc((100vw - var(--max)) / 2));}
.eyebrow, .section-number { margin: 0 0 1.5rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #b9c9bf; }
h1, h2, h3 { font-family: "Libre Franklin", sans-serif; line-height: 1.04; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 4.6vw, 5.25rem); letter-spacing: -.075em; }
h1 em { color: #dbc8a2; font-weight: 700; }
.hero-lead { max-width: 580px; margin: 2rem 0; color: #d8dfda; font-size: 1.13rem; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-top: .5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.35rem; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--orange); color: white; }
.text-link { font-weight: 700; text-underline-offset: .3rem; }
.hero-visual { position: relative; min-height: 620px; overflow: hidden; background: #25342d; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,39,31,.28), transparent 35%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.86) contrast(1.03); }
.image-note { position: absolute; right: 1.5rem; bottom: 1rem; z-index: 2; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.statement, .section-heading, .process, .reasons { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.statement { display: grid; grid-template-columns: 1fr 2.6fr; gap: 3rem; padding: 8rem 0; }
.section-number { color: #657169; }
.statement h2, .section-heading h2, .process h2, .contact h2 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.8rem); letter-spacing: -.065em; }
.statement > div > p { max-width: 690px; margin: 2rem 0 0; font-size: 1.18rem; color: #4d5852; }
.repairs { padding: 7rem 1.5rem; background: var(--forest); color: white; }
.repair-page { min-height: 760px; }
.repair-page h1 { max-width: 850px; margin: 0 0 2.5rem; font-size: clamp(2.1rem, 3.5vw, 3.85rem); }
.repair-page .facelift-story h2 { font-size: clamp(1.8rem, 2.6vw, 2.8rem); }
.repairs-inner { width: min(100%, var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.repair-page .repairs-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.repairs .section-number { color: #b9c9bf; }
.repairs h2 { max-width: 850px; margin: 0 0 2.5rem; font-size: clamp(2.5rem, 4.5vw, 4.8rem); letter-spacing: -.065em; }
.repair-page .repairs-copy h2 { max-width: 700px; margin-bottom: 2rem; font-size: clamp(1.75rem, 3.15vw, 3.36rem); letter-spacing: -.045em; }
.repairs h2 em { color: #dbc8a2; font-weight: 700; }
.repairs-copy > p:not(.section-number) { max-width: 740px; margin: 0 0 1.4rem; color: #d8dfda; font-size: 1.08rem; }
.repairs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.facelift-story { padding: clamp(2rem, 4vw, 4rem); background: #0c1914; scroll-margin-top: 2rem; }
.repair-page .facelift-story { width: 80%; zoom: .8; justify-self: center; }
.facelift-label { margin: 0 0 1.25rem; color: #dbc8a2; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.facelift-story h3 { margin: 0 0 1.5rem; font-size: clamp(1.8rem, 2.6vw, 2.8rem); letter-spacing: -.045em; }
.facelift-story > p:not(.facelift-label) { margin: 0 0 2rem; color: #cbd5cf; }
.facelift-videos { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.facelift-videos figure { min-width: 0; margin: 0; }
.facelift-videos video { display: block; width: 100%; aspect-ratio: 852 / 480; background: #25342d; }
.facelift-videos figcaption { padding-top: .7rem; color: #dbc8a2; font-size: .72rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.facelift-videos figcaption span { display: block; margin-top: .25rem; color: #cbd5cf; font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.start-rod { min-height: 850px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); color: white; background: var(--forest); }
.start-rod-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 17rem clamp(2rem, 5vw, 6rem) 7rem max(1.5rem, calc((100vw - var(--max)) / 2)); }
.start-rod-copy .eyebrow { color: #b9c9bf; }
.start-rod h1 { max-width: 760px; margin-bottom: 2.5rem; font-size: clamp(3rem, 4.7vw, 5rem); }
.start-rod-copy > p:not(.eyebrow) { max-width: 650px; margin: 0 0 1.25rem; color: #d8dfda; font-size: 1.08rem; }
.start-rod-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.start-rod-call { border: 1px solid #aeb9b1; background: transparent; color: #d8dfda; font: inherit; cursor: not-allowed; }
.start-rod-copy > p.start-rod-phone-note { margin: .8rem 0 0; color: #b9c9bf; font-size: .84rem; }
.start-rod-copy > p.start-rod-reassurance { max-width: 590px; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.25); color: #dbc8a2; font-size: 1rem; }
.start-rod-image { min-height: 850px; overflow: hidden; background: #25342d; }
.start-rod-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.builds { padding: 7rem 0; background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem; align-items: end; margin-bottom: 3rem; }
.section-heading > p { max-width: 460px; margin: 0 0 .5rem; color: #566159; font-size: 1.05rem; }
.gallery { width: min(calc(100% - 3rem), 1440px); margin: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.gallery figure { position: relative; min-height: 285px; margin: 0; overflow: hidden; background: #d7d1c5; }
.gallery-main { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-main img { object-position: 50% 45%; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .8rem; color: white; background: rgba(19,39,31,.88); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; padding: 8rem 0; }
.process-intro > p:last-child { max-width: 510px; margin-top: 2rem; color: #58625c; font-size: 1.05rem; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 1.4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.process-steps li > span { color: var(--orange); font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.process-steps h3 { margin: 0 0 .35rem; font-size: 1.25rem; letter-spacing: -.035em; }
.process-steps p { margin: 0; color: #606a64; }
.process-steps .button { margin-top: 1rem; }
.reasons { padding: 1rem 0 8rem; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.reason-grid article { min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reason-grid strong { color: var(--orange); font-size: .76rem; }
.reason-grid h3 { margin: 4rem 0 .8rem; font-size: 1.35rem; letter-spacing: -.035em; }
.reason-grid p { margin: 0; color: #606a64; }
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 6rem; padding: 7rem max(1.5rem, calc((100vw - var(--max)) / 2)); color: white; background: var(--forest); }
.contact .eyebrow { color: #b8c7be; font-size: 1.25rem; }
.contact-details { align-self: end; }
.contact-details p { max-width: 450px; margin: 0 0 1.5rem; color: #cbd5cf; }
.button-light { background: var(--cream); color: var(--forest); }
.social-link { display: block; width: fit-content; margin-top: 1.3rem; color: #cbd5cf; font-size: .88rem; text-underline-offset: .25rem; }
footer { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; padding: 2rem max(1.5rem, calc((100vw - var(--max)) / 2)); color: #c8d2cc; background: #0c1914; font-size: .76rem; }
.footer-brand { color: white; }
.footer-brand img {
    width: 92px;
    height: 253px;
}
footer p { margin: 0; }
@media (max-width: 900px) {
    .site-header { gap: .75rem; }
    .site-header .brand { flex-shrink: 0; }
    .site-header nav { flex: 1; min-width: 0; flex-wrap: wrap; justify-content: center; }
    .start-rod { grid-template-columns: 1fr; }
    .start-rod-copy { padding: 13rem 1.5rem 5rem; }
    .start-rod-image { min-height: 0; height: 580px; }
    .repairs-inner { grid-template-columns: 1fr; }
    .repair-page .repairs-inner { grid-template-columns: 1fr; }
    .repair-page .facelift-story { width: 100%; }
    .nav-repairs-full { display: none; }
    .nav-repairs-short { display: inline; }
    .hero { grid-template-columns: 1fr; }
    .hero-copy { min-height: 690px; padding-inline: 1.5rem; }
    .hero-visual { height: 610px; }
    .statement, .section-heading, .process { grid-template-columns: 1fr; gap: 2rem; }
    .statement, .process { padding-block: 6rem; }
    .section-heading { align-items: start; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-main { grid-row: auto; height: 620px; }
    .gallery figure:not(.gallery-main) { height: 330px; }
    .reason-grid { grid-template-columns: 1fr; }
    .reason-grid article { min-height: auto; }
    .reason-grid h3 { margin-top: 2rem; }
    .contact { grid-template-columns: 1fr; gap: 3rem; }
    footer { grid-template-columns: 1fr; gap: .8rem; }
}
@media (max-width: 600px) {
    .start-rod-copy { padding: 15rem 1rem 5rem; }
    .start-rod h1 { font-size: clamp(3rem, 12vw, 4rem); }
    .start-rod-image { height: 440px; }
    .repairs { padding: 5rem 1rem; }
    .site-header.repair-page-header { width: 100%; padding-inline: 1rem; }
    .repair-page-header .brand img { width: 34px; height: 100px; }
    .site-header nav { gap: .15rem; padding: .35rem; }
    .site-header nav a { padding: .5rem .45rem; font-size: .78rem; }
    .site-header { width: calc(100% - 2rem); }
    .brand img { width: 28px; height: 64px; }
    .site-header .brand img {width: 34px; height: 100px;}
    .brand span { font-size: 1rem; }
    .nav-cta { padding: .55rem .75rem; }
    .hero-copy { min-height: 650px; padding-top: 15rem; }
    h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-visual { height: 520px; min-height: 0; }
    .statement, .section-heading, .process, .reasons { width: calc(100% - 2rem); }
    .statement { padding-block: 5rem; }
    .builds { padding-block: 5rem; }
    .gallery { width: calc(100% - 2rem); }
    .gallery-main { height: 520px; }
    .gallery figure:not(.gallery-main) { height: 250px; }
    .process { padding-block: 5rem; }
    .reasons { padding-bottom: 5rem; }
    .contact { padding-block: 5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery img { transition: none; } }

/* ======================================================
   OUR STORY PAGE
   ====================================================== */

.story-header {
    color: white;
}

.story-header nav a[aria-current="page"] {
    color: #dbc8a2;
}


/* Story hero */

.story-hero {
    min-height: 900px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
    color: white;
    background: var(--forest);
}

.story-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding:
        20rem
        5rem
        6rem
        max(1.5rem, calc((100vw - var(--max)) / 2));
}

.story-hero .eyebrow {
    color: #b9c9bf;
}

.story-hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 4.4vw, 5rem);
}

.story-hero-copy > p:last-child {
    max-width: 700px;
    margin: 2.5rem 0 0;
    color: #d8dfda;
    font-size: 1.16rem;
}

.story-hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 760px;
    padding: 5rem;
    background: #0c1914;
}

.story-hero-mark img {
    width: min(300px, 65%);
    max-height: 600px;
    object-fit: contain;
}


/* Main story sections */

.story-chapter {
    width: min(calc(100% - 3rem), var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 2.6fr;
    gap: 4rem;
    padding: 8rem 0;
}

.story-prose {
    max-width: 830px;
}

.story-prose > :first-child {
    margin-top: 0;
}

.story-prose p {
    margin: 0 0 1.5rem;
    color: #4d5852;
    font-size: 1.18rem;
}

.story-prose .story-lead {
    color: var(--ink);
    font-family: "Libre Franklin", sans-serif;
    font-size: clamp(1.75rem, 2.6vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.045em;
}


/* Person behind the mark */

.story-mark {
    min-height: 720px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    color: white;
    background: #0c1914;
}

.story-mark-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    background: var(--forest);
}

.story-mark-image img {
    width: min(260px, 65%);
    max-height: 520px;
    object-fit: contain;
}

.story-mark-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
        7rem
        max(2rem, calc((100vw - var(--max)) / 2))
        7rem
        6rem;
}

.story-mark-copy .section-number {
    color: #b9c9bf;
}

.story-mark-copy h2,
.story-purpose h2 {
    margin: 0;
    font-size: clamp(2.6rem, 4.3vw, 4.8rem);
    letter-spacing: -.065em;
}

.story-mark-copy p:not(.section-number) {
    max-width: 700px;
    margin: 2rem 0 0;
    color: #cbd5cf;
    font-size: 1.12rem;
}


/* More than just another rod */

.story-purpose {
    padding-block: 9rem;
}

.story-purpose h2 {
    margin-bottom: 2.5rem;
}

.story-contact .contact-details p {
    font-size: 1.05rem;
}


/* Tablet formatting */

@media (max-width: 900px) {

    .story-hero {
        grid-template-columns: 1fr;
    }

    .story-hero-copy {
        min-height: 760px;
        padding: 15rem 1.5rem 5rem;
    }

    .story-hero-mark {
        min-height: 650px;
    }

    .story-chapter {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 6rem;
    }

    .story-mark {
        grid-template-columns: 1fr;
    }

    .story-mark-image {
        min-height: 620px;
    }

    .story-mark-copy {
        padding: 6rem 1.5rem;
    }

}


/* Phone formatting */

@media (max-width: 600px) {

    .story-hero-copy {
        min-height: 700px;
        padding-top: 15rem;
    }

    .story-hero h1 {
        font-size: clamp(2.75rem, 13.5vw, 4.2rem);
    }

    .story-hero-mark {
        min-height: 540px;
        padding: 4rem 2rem;
    }

    .story-chapter {
        width: calc(100% - 2rem);
        padding-block: 5rem;
    }

    .story-mark-image {
        min-height: 500px;
        padding: 4rem 2rem;
    }

    .story-mark-copy {
        padding-block: 5rem;
    }

    .story-purpose {
        padding-block: 6rem;
    }

}


/* ======================================================
   OUR STORY PHOTOGRAPHS
   ====================================================== */


/* Opening photograph */

.story-hero-image {
    position: relative;
    min-height: 760px;
    margin: 0;
    overflow: hidden;
    background: #25342d;
}

.story-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(19, 39, 31, .32),
            transparent 32%
        );
    pointer-events: none;
}

.story-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(.9) contrast(1.02);
}

.story-hero-image figcaption {
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    z-index: 2;
    margin: 0;
    color: white;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* Josh and Logan with the gar */

.story-wide-image {
    position: relative;
    grid-column: 1 / -1;
    width: min(100%, 1100px);
    justify-self: center;
    margin: 3rem 0 0;
    overflow: hidden;
    background: #25342d;
}

.story-wide-image img {
    display: block;
    width: 100%;
    height: auto;
}

.story-wide-image figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: .55rem .8rem;
    color: white;
    background: rgba(19, 39, 31, .88);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* Logo-inspiration photograph */

.story-mark {
    min-height: 900px;
    grid-template-columns: minmax(360px, .65fr) minmax(0, 1.35fr);
}

.story-mark-image {
    position: relative;
    min-height: 900px;
    padding: 0;
    overflow: hidden;
    background: #25342d;
}

.story-mark-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}


/* Tablet photograph formatting */

@media (max-width: 900px) {

    .story-hero-image {
        height: 760px;
        min-height: 0;
    }

    .story-mark {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .story-mark-image {
        width: min(100%, 650px);
        min-height: 0;
        aspect-ratio: 797 / 1459;
        justify-self: center;
        padding: 0;
    }

}


/* Phone photograph formatting */

@media (max-width: 600px) {

    .story-hero-image {
        height: 590px;
    }

    .story-wide-image {
        margin-top: 2rem;
    }

    .story-mark-image {
        width: 100%;
        min-height: 0;
        padding: 0;
    }

}

/* Place the gar photograph beside Logan's story */

.story-origin {
    grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "number story"
        "photo  story";
    column-gap: 5rem;
    row-gap: 1.5rem;
    align-items: start;
}

.story-origin > .section-number {
    grid-area: number;
}

.story-origin .story-prose {
    grid-area: story;
}

.story-origin .story-wide-image {
    grid-area: photo;
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
    margin: 0;
}


/* Stack this section on smaller screens */

@media (max-width: 900px) {

    .story-origin {
        grid-template-columns: 1fr;
        grid-template-areas:
            "number"
            "story"
            "photo";
        gap: 2rem;
    }

}

/* ======================================================
   OUR BUILDS PAGE
   ====================================================== */

.builds-page-header {
    color: white;
}

.builds-page-header nav a[aria-current="page"] {
    color: #dbc8a2;
}


/* Our Builds opening section */

.builds-page-hero {
    min-height: 900px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
    color: white;
    background: var(--forest);
}

.builds-page-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding:
        20rem
        5rem
        6rem
        max(1.5rem, calc((100vw - var(--max)) / 2));
}

.builds-page-hero .eyebrow {
    color: #b9c9bf;
}

.builds-page-hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 4.4vw, 5rem);
}

.builds-page-hero-copy > p:last-child {
    max-width: 700px;
    margin: 2.5rem 0 0;
    color: #d8dfda;
    font-size: 1.16rem;
}

.builds-page-hero-image {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #25342d;
}

.builds-page-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(19, 39, 31, .32),
            transparent 32%
        );
    pointer-events: none;
}

.builds-page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    filter: saturate(.9) contrast(1.02);
}


/* Build category sections */

.build-category {
    padding:
        8rem
        max(1.5rem, calc((100vw - var(--max)) / 2));
}

.performance-builds {
    background: var(--cream);
}

.build-category-heading {
    display: grid;
    grid-template-columns: 1fr 2.6fr;
    gap: 4rem;
    align-items: start;
}

.build-category-heading h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.6rem, 4.3vw, 4.8rem);
    letter-spacing: -.065em;
}

.build-category-heading div > p {
    max-width: 760px;
    margin: 2rem 0 0;
    color: #4d5852;
    font-size: 1.18rem;
}


/* Build grids */

.story-build-grid,
.performance-build-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}


/* Ideas for future custom builds */

.build-possibilities { color: var(--paper); background: var(--forest); }
.build-possibilities .section-number,
.build-possibilities .build-label { color: #dbc8a2; }
.build-possibilities .build-category-heading div > p { color: #d8dfda; }
.build-series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 4rem; }
.build-series { min-width: 0; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.3); }
.build-series h3 { margin: .5rem 0 1rem; font-size: clamp(1.6rem, 2.2vw, 2.3rem); letter-spacing: -.04em; }
.build-series > p:not(.build-label),
.build-series li { color: #d8dfda; }
.build-series ul { margin: 1.5rem 0 0; padding-left: 1.25rem; }
.build-series li { padding-left: .25rem; margin-bottom: .75rem; }
.build-series li::marker { color: #dbc8a2; }
@media (max-width: 900px) {
    .build-series-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
}

/* Contact section */

.builds-page-contact .contact-details p {
    font-size: 1.05rem;
}


/* Tablet formatting */

@media (max-width: 900px) {

    .builds-page-hero {
        grid-template-columns: 1fr;
    }

    .builds-page-hero-copy {
        min-height: 760px;
        padding: 15rem 1.5rem 5rem;
    }

    .builds-page-hero-image {
        height: 760px;
        min-height: 0;
    }

    .build-category {
        padding-block: 6rem;
    }

    .build-category-heading {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-build-grid,
    .performance-build-grid {
        grid-template-columns: 1fr;
    }

}


/* Phone formatting */

@media (max-width: 600px) {

    .builds-page-hero-copy {
        min-height: 700px;
        padding-top: 15rem;
    }

    .builds-page-hero h1 {
        font-size: clamp(2.75rem, 13.5vw, 4.2rem);
    }

    .builds-page-hero-image {
        height: 590px;
    }

    .build-category {
        padding-block: 5rem;
    }

    .story-build-grid,
    .performance-build-grid {
        margin-top: 3rem;
    }

}

/* Featured story build */

.build-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--line);
}

.build-feature-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 3rem);
    background: #0d1713;
}

.build-feature-media video {
    display: block;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
}

.build-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 6vw, 6rem);
}

.build-label {
    margin: 0 0 1.5rem;
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.build-feature-copy h3 {
    max-width: 680px;
    margin: 0 0 2rem;
    color: white;
    font-size: clamp(2.75rem, 5vw, 5.5rem);
    line-height: 0.98;
}

.build-feature-copy > p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--cream);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}

/* Featured story build — mobile */

@media (max-width: 760px) {
    .build-feature {
        grid-template-columns: 1fr;
    }

    .build-feature-media {
        padding: 1.5rem;
    }

    .build-feature-media video {
        width: min(100%, 360px);
    }

    .build-feature-copy {
        padding: 2.5rem 1.5rem 3rem;
    }

    .build-feature-copy h3 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
}

/* Horizontal featured build */

.story-build-grid {
    gap: 3rem;
}

.build-feature--landscape {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1.2fr);
}

.build-feature--landscape .build-feature-copy {
    justify-content: flex-start;
    padding: clamp(1.5rem, 3vw, 3rem);
}

.build-feature--landscape .build-feature-media {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.5rem;
}

.build-feature-description {
    margin: 0;
    color: var(--cream);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}

.build-feature--landscape .build-feature-media video {
    max-width: none;
    aspect-ratio: 16 / 9;
}

@media (max-width: 760px) {
    .build-feature--landscape {
        grid-template-columns: 1fr;
    }

    .build-feature--landscape .build-feature-media video {
        width: 100%;
        max-width: none;
    }
}

/* New Process Page */

.process-page-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
    padding: 1rem max(1.5rem, calc((100vw - var(--max)) / 2));
    background: var(--forest);
}

.process-page-header .brand img {
    width: 44px;
    height: 120px;
}

.process-page-header nav a[aria-current="page"] {
    color: #dbc8a2;
}

.craft-process-page {
    overflow: hidden;
    background: var(--paper);
}


/* Main Process Steps */

.craft-process-step {
    width: min(calc(100% - 3rem), var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
    padding: 8rem 0;
    border-bottom: 1px solid var(--line);
}
.craft-process-grip-step {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(2.5rem, 4vw, 5rem);
}

.craft-process-step-reverse {
    box-shadow: 0 0 0 100vmax var(--cream);
    clip-path: inset(0 -100vmax);
}

.craft-process-step-reverse .craft-process-copy {
    order: 2;
}

.craft-process-step-reverse .craft-process-media {
    order: 1;
}

.craft-process-copy h2,
.craft-process-test h2,
.craft-process-custom h2,
.craft-process-cta h2 {
    margin: 0;
    font-size: clamp(2.5rem, 4.3vw, 4.8rem);
    letter-spacing: -.065em;
}

.craft-process-copy > p:last-child {
    max-width: 650px;
    margin: 2rem 0 0;
    color: #566159;
    font-size: 1.1rem;
}


/* Process Images and Video */

.craft-process-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background: #d7d1c5;
}

.craft-process-media img,
.craft-process-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-process-media img[src*="process-planning"] {
    object-position: center 55%;
}

.craft-process-media img[src*="process-thread-options"] {
    object-position: center;
}


/* Grip video and component photographs */

.craft-process-grip-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .42fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    height: 420px;
    min-height: 0;
}

.craft-process-grip-video {
    grid-row: 1 / -1;
    overflow: hidden;
    background: #0c1914;
}

.craft-process-grip-video video,
.craft-process-grip-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.craft-process-grip-video video { object-fit: contain; }

.craft-process-grip-photo {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: transparent;
}

.craft-process-grip-photo figcaption {
    padding: .4rem 0 0;
    color: #566159;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.3;
}


/* Static Load Section */

.craft-process-test {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(3rem, 7vw, 8rem);
    align-items: end;
    padding: 8rem max(1.5rem, calc((100vw - var(--max)) / 2));
    color: white;
    background: #0c1914;
}

.craft-process-test .section-number {
    color: #b9c9bf;
}

.craft-process-test > p {
    max-width: 620px;
    margin: 0 0 .5rem;
    color: #cbd5cf;
    font-size: 1.12rem;
}


/* Personal Materials and Custom Details */

.craft-process-custom {
    width: min(calc(100% - 3rem), var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 7vw, 8rem);
    row-gap: 2rem;
    align-items: start;
    padding: 7rem 0;
}

.craft-process-custom-left .section-number {
    margin-bottom: 1.5rem;
}

.craft-process-custom-images {
    display: grid;
    grid-template-columns: minmax(0, 212fr) minmax(0, 482fr);
    gap: 1rem;
    align-items: start;
}

.craft-process-custom-logos {
    display: block;
    width: 100%;
    height: auto;
}

.craft-process-custom-heading > p {
    max-width: 780px;
    margin: 1.5rem 0 0;
    color: #566159;
    font-size: 1.1rem;
}

.craft-process-custom figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #d7d1c5;
}

.craft-process-gallery-pole-vault {
    width: 100%;
    aspect-ratio: 371 / 647;
}

.craft-process-custom figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-process-custom .craft-process-gallery-pole-vault img {
    object-fit: contain;
}

.craft-process-custom figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: .65rem .85rem;
    color: white;
    background: rgba(19, 39, 31, .9);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Keep the caption against the lower end of the photo's right-hand red arrow. */
.craft-process-custom .craft-process-gallery-pole-vault figcaption {
    top: 52.4%;
    bottom: auto;
}

.craft-process-gallery-wide {
    grid-column: 1 / -1;
    height: clamp(260px, 25vw, 360px);
    background: var(--forest);
}

.craft-process-gallery-wide img {
    object-fit: cover;
}


/* Process Call to Action */

.craft-process-cta {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(3rem, 7vw, 8rem);
    padding: 8rem max(1.5rem, calc((100vw - var(--max)) / 2));
    color: white;
    background: var(--forest);
}

.craft-process-cta .section-number {
    color: #b9c9bf;
}

.craft-process-cta > div:last-child {
    align-self: end;
}

.craft-process-cta > div:last-child p {
    max-width: 520px;
    margin: 0 0 2rem;
    color: #cbd5cf;
    font-size: 1.08rem;
}

.craft-process-cta .button {
    color: var(--forest);
    background: var(--cream);
}


/* Process Page Tablet */

@media (max-width: 900px) {

    .craft-process-step {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-block: 6rem;
    }

    .craft-process-step-reverse .craft-process-copy {
        order: 1;
    }

    .craft-process-step-reverse .craft-process-media {
        order: 2;
    }

    .craft-process-step-reverse .craft-process-grip-media {
        order: 2;
    }

    .craft-process-grip-media {
        height: auto;
        min-height: 560px;
    }

    .craft-process-test {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-block: 6rem;
    }

    .craft-process-custom {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 6rem;
    }

    .craft-process-cta {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-block: 6rem;
    }
}


/* Process Page Phone */

@media (max-width: 600px) {

    .process-page-header {
        padding-inline: 1rem;
    }

    .process-page-header .brand img {
        width: 34px;
        height: 100px;
    }

    .craft-process-step,
    .craft-process-custom {
        width: calc(100% - 2rem);
    }

    .craft-process-step {
        padding-block: 5rem;
    }

    .craft-process-copy h2,
    .craft-process-test h2,
    .craft-process-custom h2,
    .craft-process-cta h2 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
    }

    .craft-process-media {
        aspect-ratio: 4 / 3;
    }

    .craft-process-grip-media {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        min-height: 0;
    }

    .craft-process-grip-video {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }

    .craft-process-grip-photo {
        min-height: 260px;
    }

    .craft-process-test {
        padding: 5rem 1rem;
    }

    .craft-process-custom {
        padding-block: 5rem;
    }

    .craft-process-gallery-pole-vault {
        width: 100%;
    }

    .craft-process-custom-images {
        gap: .75rem;
    }

    .craft-process-custom-logos {
        max-width: 212px;
    }

    .craft-process-gallery-wide {
        height: auto;
    }

    .craft-process-custom .craft-process-gallery-wide img {
        height: auto;
        object-fit: contain;
    }

    .craft-process-custom .craft-process-gallery-wide figcaption {
        position: static;
        width: 100%;
        max-width: none;
    }

    .craft-process-custom figcaption {
        right: .75rem;
        bottom: .75rem;
        left: .75rem;
        max-width: calc(100% - 1.5rem);
    }

    .craft-process-cta {
        padding: 5rem 1rem;
    }
}

/* Compact headers keep mobile navigation beside the logo. */
@media (max-width: 900px) {
    .hero-copy, .start-rod-copy, .story-hero-copy, .builds-page-hero-copy {
        padding-top: 12rem;
        justify-content: flex-start;
    }
}
@media (max-width: 600px) {
    .site-header { padding-block: 1rem; gap: .5rem; }
    .site-header nav { gap: .35rem .15rem; padding: 0; }
    .site-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .4rem; white-space: nowrap; }
    .hero-copy, .start-rod-copy, .story-hero-copy, .builds-page-hero-copy { padding-top: 10.5rem; }
}
