/* Brand helpers */
:root {
    --wildrosedevs: #DE1B4B;
    --wrd-red: #FF0040;
    --wrd-black: #0a0a0a;
    --wrd-white: #ffffff;
}

/* === NAVBAR === */
header.navbar {
    background: rgba(0, 0, 0, .92) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

header.navbar .logo {
    color: var(--wildrosedevs) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

header.navbar .cta {
    background: var(--wrd-red) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

header.navbar .hamburger {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* === HERO === */
.wd-hero {
    position: relative;
    height: 100vh;
    display: grid;
    place-items: center;
    padding: 140px 40px 80px;
    background: url('../content/images/pages/services/sub-pages/web-development/web-development-hero.avif') center/cover no-repeat;
}

/* subtle dark scrim for text legibility on bright photos */
.wd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 100%);
}

/* content block centered like your Figma capture */
.wd-hero__content {
    position: relative;
    /* above scrim */
    z-index: 1;
    width: 948px;
    /* matches the comp width callout */
    max-width: calc(100% - 80px);
    /* obey 40px gutters */
    text-align: center;
    transform: translateY(-2%);
    /* slight optical nudge upward */
}

/* headline */
.wd-hero__title {
    font-family: "Zen Dots", system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: .5px;
    color: var(--wrd-white);
    margin: 0 0 16px;
}

/* lede paragraph under headline */
.wd-hero__lede {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2.4vw, 20px);
    line-height: 1.2;
    color: #f5f5f5;
    max-width: 925px;
    /* mirrors your second screenshot */
    margin: 0 auto;
}

/* === VALUE STRIP (optional) === */
.wd-value {
    background: #000;
    color: #fff;
    padding: 72px 24px;
    font-family: "Poppins", system-ui, sans-serif;
}

.wd-value__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    text-align: center;
}

.wd-value__grid article h3 {
    font-weight: 700;
    font-size: 24px;
    margin: 12px 0 6px;
}

.wd-value__grid article p {
    font-size: 16px;
    opacity: .9;
}

.wd-value__grid i {
    font-size: 42px;
    color: var(--wrd-red);
}

/* === RESPONSIVE === */
/* Small laptops / large tablets */
@media (max-width: 1280px) {
    .wd-hero {
        padding: 120px 32px 72px;
    }

    .wd-hero__content {
        max-width: 920px;
    }

    .wd-hero__lede {
        max-width: 820px;
    }
}

/* Landscape tablets / 2-in-1s */
@media (max-width: 1024px) {
    .wd-hero {
        height: 100svh;
        padding: 108px 28px 64px;
        background-position: center 30%;
    }

    .wd-hero__content {
        width: 100%;
        max-width: 860px;
        transform: none;
    }

    .wd-hero__title {
        font-size: clamp(34px, 6.2vw, 56px);
        line-height: 1.06;
    }

    .wd-hero__lede {
        font-size: clamp(16px, 2vw, 18px);
    }
}

/* Portrait tablets & phones */
@media (max-width: 900px) {
    .wd-hero {
        height: 100svh;
        padding: 96px 24px 56px;
        background-position: center 35%;
    }

    .wd-hero__content {
        transform: none;
    }

    .wd-hero__title {
        font-size: clamp(32px, 7vw, 48px);
    }

    .wd-hero__lede {
        max-width: 720px;
    }

    .wd-value__grid {
        grid-template-columns: 1fr;
    }
}

/* Small phones */
@media (max-width: 560px) {
    header.navbar {
        padding: 20px 20px;
    }

    .wd-hero {
        height: 100svh;
        padding: 88px 20px 44px;
        background-position: center 40%;
    }

    .wd-hero__title {
        font-size: clamp(28px, 9.5vw, 40px);
    }

    .wd-hero__lede {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* Very large displays */
@media (min-width: 1600px) {
    .wd-hero__content {
        width: min(980px, 100% - 80px);
    }

    .wd-hero__lede {
        max-width: 940px;
    }
}

/* ===== LEAVE YOUR MARK — proportion-matched to comp ===== */
.wrd-mark {
    background: var(--wrd-black);
    color: #ffffff;
    padding: 80px 24px 60px;
    font-family: "Poppins", system-ui, sans-serif;
}

.wrd-mark__wrap {
    max-width: 1120px;
    /* matches comp content width */
    margin: 0 auto;
}

/* Top row: badge on the left, headline on the right */
.wrd-mark__intro {
    display: grid;
    grid-template-columns: 220px 1fr;
    /* wider badge column to match comp spacing */
    gap: 40px;
    /* breathing room between badge and title */
    align-items: center;
    /* vertically centers the two blocks */
    margin-bottom: 42px;
    /* space before the divider/grid */
}

/* Badge column */
.wrd-mark__badge {
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;
    justify-items: start;
    row-gap: 10px;
}

.wrd-mark__label {
    font-family: "League Spartan", system-ui, sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
    justify-self: center;
    opacity: 1;
}

.wrd-mark__hand {
    justify-self: center;
    width: 10vw;
    transform: scale(2);
    transform-origin: center;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .55));
    user-select: none;
}

/* Headline column */
.wrd-mark__title {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 500;
    font-size: 3rem;
    line-height: 1.2;
    color: #ffffff;
    max-width: 900px;
}

/* Bottom 4-up */
.wrd-mark__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 28px;
}

.wrd-mark__kicker {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wildrosedevs, #DE1B4B);
}

.wrd-mark__item p {
    margin: 8px 0 0;
    font-size: 1.15rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .wrd-mark__intro {
        grid-template-columns: 180px 1fr;
        gap: 28px;
    }

    .wrd-mark__hand {
        width: 110px;
    }

    .wrd-mark__title {
        max-width: 680px;
    }
}

@media (max-width: 900px) {
    .wrd-mark__intro {
        grid-template-columns: 150px 1fr;
        gap: 24px;
    }

    .wrd-mark__hand {
        width: 100px;
    }

    .wrd-mark__title {
        max-width: 100%;
    }

    .wrd-mark__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .wrd-mark {
        padding: 56px 20px 40px;
    }

    .wrd-mark__intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .wrd-mark__badge {
        justify-items: center;
    }

    .wrd-mark__hand {
        width: 96px;
    }

    .wrd-mark__title {
        font-size: 32px;
        line-height: 44px;
    }

    .wrd-mark__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* === FEATURED WEB DEVELOPMENTS (full width equal halves) === */
.wrd-featured {
    background: var(--wrd-black);
    color: #fff;
    padding: 60px 20px;
    font-family: "Poppins", system-ui, sans-serif;
}

.wrd-featured__wrap {
    max-width: 100%;
}

.wrd-featured__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 500px;
    margin-bottom: 16px;
}

.wrd-featured__item:last-child {
    margin-bottom: 0;
}

.wrd-featured__item--reverse {
    grid-template-columns: 1fr 1fr;
}

.wrd-featured__item--reverse .wrd-featured__media {
    order: 2;
}

.wrd-featured__item--reverse .wrd-featured__copy {
    order: 1;
}

/* Image side */
.wrd-featured__media {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.wrd-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text side */
.wrd-featured__copy {
    padding: 40px 60px;
    max-width: 600px;
}

.wrd-featured__name {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wrd-featured__desc {
    margin: 0;
    font-size: 2rem;
    line-height: 1.5;
    font-family: "Reddit Sans Condensed", sans-serif;
    color: rgba(255, 255, 255, .88);
}

/* Responsive */
@media (max-width: 1280px) {
    .wrd-featured__copy {
        padding: 36px 40px;
        max-width: 560px;
    }

    .wrd-featured__name {
        font-size: clamp(2.5rem, 5vw, 3.25rem);
        letter-spacing: .06em;
    }

    .wrd-featured__desc {
        font-size: clamp(1.1rem, 2vw, 1.5rem);
        line-height: 1.45;
    }
}

@media (max-width: 1024px) {
    .wrd-featured__item {
        min-height: 420px;
    }

    .wrd-featured__copy {
        padding: 28px 28px;
    }
}

@media (max-width: 900px) {
    .wrd-featured__item,
    .wrd-featured__item--reverse {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .wrd-featured__item .wrd-featured__media,
    .wrd-featured__item--reverse .wrd-featured__media {
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        display: block;
    }

    .wrd-featured__item .wrd-featured__copy,
    .wrd-featured__item--reverse .wrd-featured__copy {
        order: 2;
        padding: 24px;
        max-width: none;
    }

    .wrd-featured__name {
        font-size: clamp(2rem, 9vw, 2.75rem);
        letter-spacing: .045em;
        margin-bottom: 12px;
    }

    .wrd-featured__desc {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        line-height: 1.45;
    }
}

@media (max-width: 560px) {
    .wrd-featured {
        padding: 44px 20px;
    }

    .wrd-featured__item .wrd-featured__media,
    .wrd-featured__item--reverse .wrd-featured__media {
        aspect-ratio: 16 / 11;
    }

    .wrd-featured__item .wrd-featured__copy,
    .wrd-featured__item--reverse .wrd-featured__copy {
        padding: 20px;
    }

    .wrd-featured__name {
        margin-bottom: 8px;
    }
}

/* === OUR BUILD PHILOSOPHY === */
.build-philosophy {
    color: #fff;
    background: url("../content/images/pages/services/sub-pages/web-development/philosophy.avif") center/cover no-repeat;
    padding: 96px clamp(28px, 6vw, 64px) 96px;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
}

.build-philosophy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.build-philosophy__wrap {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    text-align: center;
}

.build-philosophy__title {
    font-family: "League Spartan", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.05;
    margin: 0 0 32px;
    background: linear-gradient(180deg, #FFE2E9 0%, var(--wildrosedevs) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

/* Body copy */
.build-philosophy__text {
    max-width: 840px;
    margin: 0 auto;
}

.build-philosophy__text p {
    font-family: "Reddit Sans Condensed", system-ui, sans-serif;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.25;
    margin: 0 0 20px;
    color: #f5f5f5;
}

.build-philosophy__text p:last-child {
    margin-bottom: 0;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .build-philosophy {
        min-height: 560px;
        padding: 72px 24px;
    }

    .build-philosophy__title {
        font-size: 48px;
        line-height: 1.1;
    }

    .build-philosophy__text p {
        font-size: 18px;
    }
}