.explore-projects {
    position: relative;
    margin-top: clamp(3.5rem, 7vw, 6rem);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid var(--line-bright);
}

.explore-projects::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: clamp(4rem, 15vw, 11rem);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    pointer-events: none;
}

.explore-projects-heading { margin-bottom: 1.75rem; }
.explore-projects-heading h2 { max-width: 25ch; font-size: clamp(2rem, 4vw, 3.4rem); }
.explore-projects-heading .eyebrow { margin-bottom: .8rem; }

.explore-projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.explore-projects-grid-single { grid-template-columns: minmax(0, 1fr); }

.explore-project {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #15140f, #090a0a 65%);
    transition: border-color .2s ease;
}

.explore-project::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 2rem;
    height: 1.25rem;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    pointer-events: none;
}

.explore-project::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 2rem;
    width: calc(100% - 4rem);
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: .35;
    transform: scaleX(.22);
    transform-origin: left;
    transition: transform .25s ease, opacity .25s ease;
    pointer-events: none;
}

.explore-project:hover,
.explore-project:focus-visible { border-color: var(--line-bright); }
.explore-project:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }
.explore-project:hover::after,
.explore-project:focus-visible::after { opacity: 1; transform: scaleX(1); }

.explore-project-visual { min-width: 0; width: 100%; align-self: center; }
.explore-project-visual > img { display: block; width: 100%; height: auto; }
.explore-project-copy { display: flex; flex: 1; flex-direction: column; align-items: start; gap: .9rem; min-width: 0; }
.explore-project-meta { margin: 0; color: var(--gold); font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.explore-project h3 { color: var(--silver); font-size: clamp(1.85rem, 2.6vw, 2.6rem); line-height: 1.08; overflow-wrap: anywhere; }
.explore-project-summary { max-width: 38rem; margin: 0; color: #b5b6b9; font-size: 1rem; line-height: 1.7; }

.explore-project-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 44px;
    margin-top: auto;
    padding: .65rem 1rem;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.explore-project-action > span { display: inline-block; transition: transform .2s ease; }
.explore-project:is(:hover, :focus-visible) .explore-project-action > span { transform: translate(3px, -3px); }
.explore-projects-grid-single .explore-project { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.explore-projects-grid-single h3 { font-size: clamp(2.3rem, 3.8vw, 3.7rem); }
.explore-projects-secondary { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1.25rem; }

@media (max-width: 760px) {
    .explore-projects-grid,
    .explore-projects-grid-single .explore-project { grid-template-columns: minmax(0, 1fr); }
    .explore-projects-grid-single h3 { font-size: clamp(2rem, 7vw, 3rem); }
    .explore-projects-heading { margin-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .explore-project,
    .explore-project-action > span { transition: none; }
    .explore-project::after,
    .explore-project:hover::after,
    .explore-project:focus-visible::after { transition: none; transform: none; }
    .explore-project:is(:hover, :focus-visible) .explore-project-action > span { transform: none; }
}
