/* Development detail pages — fits A&G site system */

.page-development-detail body { background: #fff; }

.dev-detail-hero {
    position: relative;
    min-height: clamp(420px, 62vh, 640px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #002348;
}

.dev-detail-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.dev-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.22) 55%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

.dev-detail-hero__content {
    position: relative;
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 5.5rem;
    color: #fff;
}

.dev-detail-hero__eyebrow {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 1.2rem;
}

.dev-detail-hero__title {
    font-family: var(--font-serif, "Mercury Display", Georgia, serif);
    font-size: clamp(3.2rem, 5.8vw, 5.6rem);
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 1.5rem;
    color: #fff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.dev-detail-hero__subtitle {
    font-size: 1.55rem;
    line-height: 1.7;
    max-width: 860px;
    margin: 0 0 2.4rem;
    color: rgba(255, 255, 255, 0.90);
}

.dev-detail-hero__cta {
    display: inline-block;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.95em 1.6em;
    border-radius: 2px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.dev-detail-hero__cta:hover { transform: translateY(-1px); opacity: 0.92; }

.dev-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 7rem;
    background: #fff;
}

.dev-detail h2 {
    font-family: var(--font-serif, "Mercury Display", Georgia, serif);
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    color: #111;
}

.dev-detail p {
    font-size: 1.4rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 2rem;
    max-width: 82ch;
}

.dev-detail__highlights {
    margin-top: 3.2rem;
    padding: 2.8rem 2.6rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    background: #fff;
}

.dev-detail__highlights h3 {
    margin: 0 0 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #002348;
}

.dev-detail__highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2.2rem;
}

.dev-detail__highlights li {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    position: relative;
    padding-left: 1.4rem;
}

.dev-detail__highlights li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #002348;
    position: absolute;
    left: 0;
    top: 0.75em;
    transform: translateY(-50%);
}

.dev-gallery {
    margin-top: 4rem;
}

.dev-gallery__header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0 0 2rem;
}

.dev-gallery__title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #002348;
    margin: 0;
    white-space: nowrap;
}

.dev-gallery__line {
    flex: 1;
    height: 1px;
    background: rgba(0,35,72,0.15);
}

.dev-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.dev-gallery__grid a {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f7f7f7;
}

.dev-gallery__grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.dev-gallery__grid a:hover img { transform: scale(1.03); }

@media screen and (max-width: 900px) {
    .dev-detail__highlights ul { grid-template-columns: 1fr; }
    .dev-gallery__grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
    .dev-detail-hero__content { padding-bottom: 4rem; }
    .dev-detail { padding: 4.5rem 1.6rem 6rem; }
    .dev-detail p { font-size: 1.25rem; }
    .dev-gallery__grid { grid-template-columns: 1fr; }
}

