/* ============================================
   WORK.CSS - Asymmetric Portfolio Grid + Detail Pages
   Award-winning staggered masonry layout
   ============================================ */

/* ---- Selected Work Section (Homepage) ---- */
.selected-work {
    padding: 6rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* ---- Header ---- */
.selected-work-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
}

.selected-work-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    text-align: left;
    font-family: 'Geist', 'Inter', monospace;
}

.selected-work-title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
    line-height: 1.05;
}

.selected-work-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

/* ============================================
   PORTFOLIO GRID - 3-Column Staggered Layout
   ============================================ */
.portfolio-grid {
    display: flex;
    gap: 1.25rem;
    padding: 0 2rem;
}

.portfolio-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Middle column offset for stagger effect */
.portfolio-col--offset {
    margin-top: 4.5rem;
}

/* ============================================
   PORTFOLIO TILE
   ============================================ */
.portfolio-tile {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.4s cubic-bezier(.25,.46,.45,.94);
}

.portfolio-tile:hover {
    transform: translateY(-4px);
}

.portfolio-tile:focus-visible {
    outline: 2px solid var(--purple-accent);
    outline-offset: 4px;
    border-radius: 8px;
}

/* ---- Number Label ---- */
.portfolio-tile__number {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    font-family: 'Geist', 'Inter', monospace;
    opacity: 0.6;
}

/* ---- Image Area ---- */
.portfolio-tile__image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-tile:hover .portfolio-tile__image {
    border-color: rgba(142, 68, 255, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(142, 68, 255, 0.08);
}

.portfolio-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}

.portfolio-tile:hover .portfolio-tile__image img {
    transform: scale(1.04);
}

/* Size variants */
.portfolio-tile--md .portfolio-tile__image {
    aspect-ratio: 1 / 1.05;
}

.portfolio-tile--lg .portfolio-tile__image {
    aspect-ratio: 1 / 1.35;
}

/* ---- Image: Day&Nite ---- */
.portfolio-tile__image--daynite {
    background: #0a0816;
}

.portfolio-tile__image--daynite > img {
    opacity: 0.8;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.5s ease;
}

.portfolio-tile:hover .portfolio-tile__image--daynite > img {
    opacity: 0.9;
    transform: scale(1.04);
}

/* ---- Image: Entrel ---- */
.portfolio-tile__image--entrel {
    background: url('../images/portfolio_entrel/Entrel_Card.webp') center/cover no-repeat, linear-gradient(145deg, #0a0a0f 0%, #14100a 40%, #0e0c08 100%);
}

.portfolio-tile__image--entrel > img {
    object-fit: contain;
    transition: transform 0.6s ease;
}

.portfolio-tile:hover .portfolio-tile__image--entrel > img {
    transform: scale(1.04);
}

/* ---- Image: Eden01 ---- */
.portfolio-tile__image--eden01 {
    background: #0a0a0f;
}

.portfolio-tile__image--eden01 > img {
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-tile:hover .portfolio-tile__image--eden01 > img {
    transform: scale(1.04);
}

/* ---- Image: Placeholder ---- */
.portfolio-tile__image--placeholder {
    background: #09090e;
}

.portfolio-tile__image--placeholder > img {
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-tile:hover .portfolio-tile__image--placeholder > img {
    transform: scale(1.04);
}

/* ---- Logo Overlay (base) ---- */
.portfolio-tile__logo {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    transition: transform 0.4s ease;
}

.portfolio-tile__logo img {
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
}

/* Day&Nite logo – top left */
.portfolio-tile__logo--daynite {
    top: 1.25rem;
    left: 1.25rem;
}

.portfolio-tile__logo--daynite img {
    height: 80px;
}

.portfolio-tile:hover .portfolio-tile__logo--daynite {
    transform: scale(1.04);
}

/* Entrel logo – bottom center */
.portfolio-tile__logo--entrel {
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-tile__logo--entrel img {
    height: 90px;
}

.portfolio-tile:hover .portfolio-tile__logo--entrel {
    transform: translateX(-50%) scale(1.05);
}

/* Eden01 logo – top center */
.portfolio-tile__logo--eden01 {
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-tile__logo--eden01 img {
    height: 70px;
}

.portfolio-tile:hover .portfolio-tile__logo--eden01 {
    transform: translateX(-50%) scale(1.05);
}

/* Baila Verde logo – center */
.portfolio-tile__logo--bailaverde {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.portfolio-tile__logo--bailaverde img {
    height: 140px;
}

.portfolio-tile:hover .portfolio-tile__logo--bailaverde {
    transform: translate(-50%, -50%) scale(1.05);
}

/* ---- Expand Button ---- */
.portfolio-tile__expand {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.35s cubic-bezier(.25,.46,.45,.94);
    z-index: 3;
    line-height: 1;
}

.portfolio-tile:hover .portfolio-tile__expand {
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    color: #fff;
    transform: rotate(45deg);
    box-shadow: 0 4px 16px rgba(142, 68, 255, 0.35);
}

/* ---- Info Section (below image) ---- */
.portfolio-tile__info {
    padding: 1rem 0.15rem 0;
}

.portfolio-tile__info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.2rem;
}

.portfolio-tile__title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.portfolio-tile__year {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.6;
    flex-shrink: 0;
    margin-left: 1rem;
}

.portfolio-tile__subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.4;
    opacity: 0.7;
}

/* ---- Portfolio Footer ---- */
.portfolio-footer {
    display: flex;
    justify-content: flex-end;
    padding: 3.5rem 2rem 0;
}

.portfolio-footer__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
    font-family: 'Geist', 'Inter', sans-serif;
}

.portfolio-footer__link:hover {
    color: var(--purple-accent);
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .selected-work {
        padding: 4rem 0;
    }

    .selected-work-header {
        margin-bottom: 3.5rem;
    }

    .portfolio-grid {
        padding: 0 1.5rem;
        gap: 1rem;
    }

    .portfolio-col--offset {
        margin-top: 3rem;
    }

    .portfolio-tile__logo--daynite img {
        height: 60px;
    }

    .portfolio-tile__logo--entrel img {
        height: 65px;
    }

    .portfolio-tile__logo--eden01 img {
        height: 55px;
    }

    .portfolio-tile__logo--bailaverde img {
        height: 100px;
    }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
    .selected-work {
        padding: 3rem 0;
    }

    .selected-work-header {
        margin-bottom: 2.5rem;
    }

    .selected-work-label {
        text-align: center;
    }

    .selected-work-title {
        font-size: 2.25rem;
    }

    /* Stack to single column */
    .portfolio-grid {
        flex-direction: column;
        gap: 0;
        padding: 0 1.5rem;
    }

    .portfolio-col {
        gap: 0;
    }

    .portfolio-col--offset {
        margin-top: 0;
    }

    .portfolio-tile {
        margin-bottom: 2rem;
    }

    .portfolio-tile--md .portfolio-tile__image,
    .portfolio-tile--lg .portfolio-tile__image {
        aspect-ratio: 4 / 3;
    }

    .portfolio-tile__expand {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .portfolio-footer {
        justify-content: center;
        padding: 1.5rem 2rem 0;
    }
}

@media (max-width: 480px) {
    .selected-work-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .portfolio-tile--md .portfolio-tile__image,
    .portfolio-tile--lg .portfolio-tile__image {
        aspect-ratio: 1 / 1;
    }
}


/* ============================================
   DETAIL PAGES - /work/<slug>.html
   ============================================ */

.work-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Detail Hero ---- */
.work-detail__hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.work-detail__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--purple-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.work-detail__title {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.work-detail__thesis {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ---- Meta Row ---- */
.work-detail__meta-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.work-detail__meta-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.work-detail__meta-label {
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    margin-right: 0.4rem;
}

.work-detail__meta-value {
    font-weight: 400;
}

.work-detail__meta-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    vertical-align: middle;
}

/* Status badge colors (shared with portfolio tiles) */
.portfolio-tile__status--live,
.work-detail .portfolio-tile__status--live {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
}

.portfolio-tile__status--beta,
.work-detail .portfolio-tile__status--beta {
    background: rgba(255, 183, 77, 0.15);
    color: #ffb74d;
}

.portfolio-tile__status--concept,
.work-detail .portfolio-tile__status--concept {
    background: rgba(142, 68, 255, 0.15);
    color: var(--purple-accent);
}

.portfolio-tile__status--evolving,
.work-detail .portfolio-tile__status--evolving {
    background: rgba(100, 181, 246, 0.15);
    color: #64b5f6;
}

/* ---- Visual Area ---- */
.work-detail__visual {
    padding: 3rem 0;
}

.work-detail__visual-inner {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-detail__visual-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-detail__visual-placeholder {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* ---- Content Sections ---- */
.work-detail__content {
    padding-bottom: 4rem;
}

.work-detail__section {
    margin-bottom: 3rem;
}

.work-detail__section h2 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
    color: var(--text-primary);
}

.work-detail__section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

/* ---- Back Link ---- */
.work-detail__back {
    padding: 2rem 0 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.work-detail__back a {
    font-size: 0.9rem;
    color: var(--purple-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.work-detail__back a:hover {
    color: var(--purple-light);
    letter-spacing: 0.02em;
}

/* ---- Coming Soon State ---- */
.work-detail--coming-soon .work-detail__visual-inner {
    background: linear-gradient(135deg, #08080d 0%, #0d0b14 50%, #08080d 100%);
}

.work-detail--coming-soon .work-detail__section p {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* ---- Detail Responsive ---- */
@media (max-width: 768px) {
    .work-detail {
        padding: 0 1.5rem;
    }

    .work-detail__hero {
        padding: 3rem 0 1.5rem;
    }

    .work-detail__title {
        font-size: 2.25rem;
    }

    .work-detail__thesis {
        font-size: 1rem;
    }

    .work-detail__meta-row {
        gap: 1rem;
    }

    .work-detail__section h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .work-detail__title {
        font-size: 1.85rem;
    }
}


/* ============================================
   V2 DETAIL PAGES — Award-Winning Layout
   ============================================ */

/* ---- Container ---- */
.work-detail--v2 {
    max-width: 1200px;
    padding: 0 2.5rem;
}

.wd-narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Section Label (reusable) ---- */
.wd-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 2rem;
    font-family: 'Geist', 'Inter', monospace;
}

/* ============================================
   1. HERO
   ============================================ */
.wd-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 6rem 0 4rem;
}

.wd-hero__meta {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-accent);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.wd-hero__name {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 0.95;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.wd-hero__thesis {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.wd-hero__visual {
    width: 100%;
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
}

.wd-hero__visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mockup grid — 3 phones side by side */
.wd-hero__visual--mockups {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(1rem, 3vw, 3rem);
    padding: 2rem 0;
    overflow: visible;
    background: transparent;
}

.wd-hero__visual--mockups img {
    width: clamp(140px, 22vw, 260px);
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wd-hero__visual--mockups img:nth-child(1) {
    transform: translateY(0);
}

.wd-hero__visual--mockups img:nth-child(2) {
    transform: translateY(-1rem);
}

.wd-hero__visual--mockups img:nth-child(3) {
    transform: translateY(0);
}

/* Hover-Effekt: Mockups bewegen sich */
.wd-hero__visual--mockups:hover img:nth-child(1) {
    transform: translateY(-1.5rem) translateX(-0.5rem) rotate(-3deg);
}

.wd-hero__visual--mockups:hover img:nth-child(2) {
    transform: translateY(-2.5rem) translateX(0) rotate(0deg);
}

.wd-hero__visual--mockups:hover img:nth-child(3) {
    transform: translateY(-1.5rem) translateX(0.5rem) rotate(3deg);
}

@media (max-width: 600px) {
    .wd-hero__visual--mockups img {
        width: 30%;
        border-radius: 16px;
    }
    .wd-hero__visual--mockups {
        gap: 0.75rem;
    }
    /* Reduzierte Bewegung auf Mobile */
    .wd-hero__visual--mockups:hover img:nth-child(1) {
        transform: translateY(-0.8rem) translateX(-0.3rem) rotate(-2deg);
    }
    .wd-hero__visual--mockups:hover img:nth-child(2) {
        transform: translateY(-1.5rem) translateX(0) rotate(0deg);
    }
    .wd-hero__visual--mockups:hover img:nth-child(3) {
        transform: translateY(-0.8rem) translateX(0.3rem) rotate(2deg);
    }
}

/* ============================================
   2. CONTEXT STRIP
   ============================================ */
.wd-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wd-context--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wd-context--centered > div {
    max-width: 800px;
    width: 100%;
}

.wd-context__text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 480px;
}

.wd-context--centered .wd-context__text {
    max-width: 100%;
}

.wd-context__aside {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* ============================================
   3. TENSION
   ============================================ */
.wd-tension {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0;
    align-items: start;
}

.wd-tension__text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wd-tension__text li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-left: 1rem;
    position: relative;
}

.wd-tension__text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple-accent);
}

.wd-tension__images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wd-tension__img-stack {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-tension__img {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-tension__img-stack .wd-tension__img {
    width: 100%;
    border: none;
    margin: 0 !important;
    padding: 0;
}

.wd-tension__img-stack .wd-tension__img--bw {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    width: 100%;
}

.wd-tension__img-stack .wd-tension__img--color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.1s ease-out;
    margin: 0 !important;
}

.wd-tension__img-stack .wd-tension__img img {
    width: 100%;
    height: auto;
    display: block;
}

.wd-tension__img-stack .wd-tension__img--color img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wd-tension__img:nth-child(2) {
    margin-left: 2rem;
}

.wd-tension__img:nth-child(3) {
    margin-left: 1rem;
}

.wd-tension__img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Placeholder (empty image state) ---- */
.wd-placeholder {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #08080d 0%, #0d0b14 50%, #08080d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.wd-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(142, 68, 255, 0.02) 10px,
        rgba(142, 68, 255, 0.02) 20px
    );
}

.wd-placeholder__label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.3;
    z-index: 1;
}

/* ============================================
   4. EXPLORATION
   ============================================ */
.wd-exploration {
    padding: 5rem 0;
}

.wd-exploration__row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
}

.wd-exploration__row::-webkit-scrollbar {
    display: none;
}

.wd-exploration__item {
    flex: 0 0 auto;
    width: 280px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.wd-exploration__item img {
    width: 100%;
    height: auto;
    display: block;
}

.wd-exploration__tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* ============================================
   5. DECISION
   ============================================ */
.wd-decision {
    padding: 6rem 0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.wd-decision__text {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.wd-decision__visual {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-decision__visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   6. RESULT
   ============================================ */
.wd-result {
    padding: 5rem 0;
}

.wd-result__hero-screen {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-result__hero-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.wd-result__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.wd-result__grid-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-result__grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.wd-result__caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.6;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* ============================================
   7. OUTCOME
   ============================================ */
.wd-outcome {
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wd-outcome__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.wd-outcome__item {
    padding: 2rem 0;
}

.wd-outcome__stat {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.wd-outcome__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    opacity: 0.7;
}

/* ============================================
   8. NEXT ITERATION
   ============================================ */
.wd-next {
    padding: 5rem 0;
    max-width: 600px;
}

.wd-next__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wd-next__list li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-left: 1.5rem;
    position: relative;
}

.wd-next__list li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--purple-accent);
    opacity: 0.6;
}

/* ============================================
   DAY&NITE HERO — Layered Parallax Backgrounds
   ============================================ */

.wd-hero--daynite {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.dn-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dn-hero__bg-layer {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    will-change: transform;
}

.dn-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 9, 0.45) 0%,
        rgba(5, 5, 9, 0.2) 40%,
        rgba(5, 5, 9, 0.65) 100%
    );
}

.wd-hero--daynite .wd-hero__meta,
.wd-hero--daynite .wd-hero__name,
.wd-hero--daynite .wd-hero__thesis,
.wd-hero--daynite .wd-hero__visual {
    position: relative;
    z-index: 1;
}

/* ============================================
   DAY&NITE BRANDING SECTION
   ============================================ */

.dn-branding {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.dn-branding::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(142, 68, 255, 0.09) 0%, transparent 70%);
    pointer-events: none;
}

.dn-branding__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.dn-branding__icon {
    width: 180px;
    height: auto;
    opacity: 0.9;
}

.dn-branding__logo {
    max-width: 420px;
    width: 60%;
    height: auto;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.dn-branding__logo:hover {
    opacity: 1;
}

/* ============================================
   9. OUTRO
   ============================================ */
.wd-live-link {
    text-align: center;
    padding: 2rem 0;
}

.wd-live-link__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--purple-primary);
    border-radius: 6px;
    color: var(--purple-accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.wd-live-link__btn:hover {
    background: rgba(142, 68, 255, 0.12);
    color: #fff;
}

.wd-outro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-outro__back,
.wd-outro__next {
    font-size: 0.9rem;
    color: var(--purple-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.wd-outro__back:hover,
.wd-outro__next:hover {
    color: var(--purple-light);
    letter-spacing: 0.02em;
}

.wd-outro__next {
    text-align: right;
}

.wd-outro__next-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

/* ---- CTA Button on detail pages ---- */
.wd-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-accent));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 14px rgba(142, 68, 255, 0.3);
}

.wd-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 68, 255, 0.45);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.wd-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.wd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wd-reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wd-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.wd-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.wd-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.wd-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.wd-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }

.wd-reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   V2 RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 768px) {
    .work-detail--v2 {
        padding: 0 1.5rem;
    }

    .wd-hero {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .wd-hero__name {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -1.5px;
    }

    .wd-context {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4rem 0;
    }

    .wd-context--centered {
        padding: 4rem 0;
    }

    .wd-context--centered > div {
        max-width: 100%;
    }

    .wd-context__aside {
        display: none;
    }

    .wd-tension {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 0;
    }

    .wd-tension__img:nth-child(2),
    .wd-tension__img:nth-child(3) {
        margin-left: 0;
    }

    .wd-exploration__item {
        width: 220px;
    }

    .wd-result__grid {
        grid-template-columns: 1fr;
    }

    .wd-outcome__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wd-outro {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .wd-outro__next {
        text-align: center;
    }
}

/* ============================================
   V2 RESPONSIVE - Small Mobile
   ============================================ */
@media (max-width: 480px) {
    .work-detail--v2 {
        padding: 0 1rem;
    }

    .wd-hero__name {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .wd-exploration__item {
        width: 180px;
    }
}


/* ============================================
   EDEN01 HERO — Layered Jungle Composition
   (Mirrors Eden01 website hero structure)
   ============================================ */

.wd-hero--eden01 {
    position: relative;
    min-height: 100vh;
    background: #0a0f0a;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 2rem;
    isolation: isolate;
}

/* Background */
.wd-hero--eden01__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/portfolio_eden01/Background_Eden01.webp') center/cover no-repeat;
    z-index: 1;
    opacity: 0.45;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wd-hero--eden01__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 10, 0.35);
    z-index: 2;
}

/* FX Layer */
.wd-hero--eden01__fx {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.wd-hero--eden01__fx-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 50% at 50% 45%,
        transparent 0%,
        transparent 30%,
        rgba(10, 15, 10, 0.2) 60%,
        rgba(10, 15, 10, 0.4) 100%
    );
    opacity: 0.6;
    z-index: 1;
}

.wd-hero--eden01__fx-mist {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top,
        rgba(10, 15, 10, 0.5) 0%,
        rgba(10, 15, 10, 0.2) 30%,
        transparent 100%
    );
    z-index: 3;
    filter: blur(20px);
    opacity: 0.7;
}

/* Layer Container */
.wd-hero--eden01__layers {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* Layer Base */
.wd-hero--eden01__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
    isolation: isolate;
    overflow: visible;
}

.wd-hero--eden01__layer-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Baum: bottom-anchored, large */
.wd-hero--eden01__layer--baum .wd-hero--eden01__layer-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    filter: brightness(0.5) contrast(1.1);
    opacity: 0.9;
}

/* Bar: bottom-anchored, on top of tree */
.wd-hero--eden01__layer--bar {
    z-index: 4;
}

.wd-hero--eden01__layer--bar .wd-hero--eden01__layer-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    filter: brightness(0.75) contrast(1.1);
}

/* Logo — centered, upper portion */
.wd-hero--eden01__logo {
    position: absolute;
    top: 22vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    opacity: 0.85;
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.wd-hero--eden01__logo-img {
    width: clamp(140px, 20vw, 260px);
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(201, 169, 97, 0.25));
}

/* Title — centered */
.wd-hero--eden01__title {
    position: absolute;
    top: 55vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    z-index: 100;
    text-align: center;
    padding: 0 2rem;
}

.wd-hero--eden01__headline {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(5rem, 8vw + 2rem, 14rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #f4f2ed;
    text-shadow:
        0 0 40px rgba(201, 169, 97, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Description — below headline */
.wd-hero--eden01__description-container {
    position: absolute;
    top: 80vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    z-index: 6;
    text-align: center;
    padding: 0 2rem;
}

.wd-hero--eden01__description {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(244, 242, 237, 0.85);
}

/* CTA Container */
.wd-hero--eden01__cta-container {
    position: absolute;
    top: 90vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    z-index: 6;
    text-align: center;
    padding: 0 2rem;
}

.wd-hero--eden01__ctas {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
}

.wd-hero--eden01__btn {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(0.7rem, 0.75vw, 0.8rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
}

.wd-hero--eden01__btn--primary {
    background: #c9a961;
    color: #0a0f0a;
    border: 1px solid #c9a961;
}

.wd-hero--eden01__btn--primary:hover {
    background: #d4b876;
    border-color: #d4b876;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.3), 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.wd-hero--eden01__btn--secondary {
    background: transparent;
    color: #f4f2ed;
    border: 1px solid rgba(244, 242, 237, 0.25);
    backdrop-filter: blur(8px);
}

.wd-hero--eden01__btn--secondary:hover {
    background: rgba(244, 242, 237, 0.08);
    border-color: rgba(244, 242, 237, 0.4);
    box-shadow: 0 0 15px rgba(244, 242, 237, 0.1);
}

/* Eden01 Responsive — Tablet/Mobile */
@media (max-width: 768px) {
    .wd-hero--eden01 { min-height: 80vh; border-radius: 12px; }
    .wd-hero--eden01__logo { top: 18vh; }
    .wd-hero--eden01__title { top: 42vh; }
    .wd-hero--eden01__headline { font-size: clamp(2.5rem, 10vw, 5rem); }
    .wd-hero--eden01__description-container { top: 64vh; }
    .wd-hero--eden01__cta-container { top: 74vh; }
    .wd-hero--eden01__ctas { flex-direction: column; gap: 0.75rem; }
}

/* Eden01 Responsive — Small Mobile */
@media (max-width: 480px) {
    .wd-hero--eden01 { min-height: 70vh; }
    .wd-hero--eden01__headline { font-size: 2.5rem; }
}


/* ============================================
   ENTREL HERO — Background Text + Angel
   ============================================ */

.wd-hero--entrel {
    position: relative;
    min-height: 90vh;
    background: #0E0E0E;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 2rem;
}

/* Full background image — parallax via CSS custom props */
.wd-hero--entrel::before {
    content: '';
    position: absolute;
    inset: -3%;
    background: url('../images/portfolio_entrel/Home_Hero.webp') center/cover no-repeat;
    opacity: 1;
    z-index: 0;
    transform: translate(var(--bg-x, 0px), var(--bg-y, 0px));
    will-change: transform;
}

/* Bottom fade into page */
.wd-hero--entrel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent 0%, rgba(14, 14, 14, 0.3) 30%, rgba(14, 14, 14, 0.7) 70%, #0E0E0E 100%);
    z-index: 1;
    pointer-events: none;
}

/* Spotlight glow (top-right, pulsing) */
.wd-hero--entrel__spotlight {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 180, 138, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 2;
    pointer-events: none;
    animation: entrelSpotlight 8s ease-in-out infinite;
}

@keyframes entrelSpotlight {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Content Container (holds text and angel) */
.wd-hero--entrel__container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    min-height: 80vh;
    padding: 6rem 2.5rem 4rem;
    margin: 0 auto;
}

/* Large Background Text */
.wd-hero--entrel__bg-text {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    width: 100%;
    animation: entrelTextDrift 10s ease-in-out infinite;
}

@keyframes entrelTextDrift {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 6px)); }
}

.wd-hero--entrel__bg-text-small {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.6vw, 1.1rem);
    font-weight: 500;
    color: rgba(252, 250, 245, 0.9);
    letter-spacing: 0.12em;
    font-variant: small-caps;
    text-transform: lowercase;
    margin-bottom: 0.5rem;
}

.wd-hero--entrel__bg-text-large {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: clamp(1.15rem, 5.8vw, 9rem);
    font-weight: 700;
    color: rgba(245, 242, 232, 1);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

/* Left: CTA Buttons */
.wd-hero--entrel__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: end;
    padding-bottom: 2rem;
}

.wd-hero--entrel__ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.wd-hero--entrel__btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.wd-hero--entrel__btn--primary {
    background: linear-gradient(135deg, #C8B48A 0%, rgba(200, 180, 138, 0.9) 100%);
    color: #0E0E0E;
    border: none;
    box-shadow: 0 8px 24px rgba(200, 180, 138, 0.2);
}

.wd-hero--entrel__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(200, 180, 138, 0.3);
    background: linear-gradient(135deg, rgba(200, 180, 138, 1) 0%, #C8B48A 100%);
}

.wd-hero--entrel__btn--secondary {
    background: transparent;
    color: #f5f2e8;
    border: 1.5px solid rgba(200, 180, 138, 0.5);
}

.wd-hero--entrel__btn--secondary:hover {
    background: rgba(200, 180, 138, 0.12);
    border-color: #C8B48A;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 180, 138, 0.15);
}

/* Right: Angel Image */
.wd-hero--entrel__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    animation: entrelVisualFloat 6s ease-in-out infinite;
}

@keyframes entrelVisualFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wd-hero--entrel__angel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 900px;
    object-fit: contain;
    object-position: center;
    filter: contrast(1.1) drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    animation: entrelAngelEnter 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

@keyframes entrelAngelEnter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px) scale(1.08);
        filter: blur(2px) contrast(1.1) drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
    }
    60% {
        opacity: 0.9;
        filter: blur(0.5px) contrast(1.1) drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
        filter: blur(0) contrast(1.1) drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
    }
}

/* Light Overlay (golden glow behind angel) */
.wd-hero--entrel__light {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(200, 180, 138, 0.15) 0%, rgba(200, 180, 138, 0.05) 30%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Shadow under angel */
.wd-hero--entrel__shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* Entrel Responsive — Tablet */
@media (max-width: 1024px) {
    .wd-hero--entrel { min-height: auto; }
    .wd-hero--entrel__container { gap: 2rem; min-height: 70vh; padding: 5rem 2rem 3rem; }
    .wd-hero--entrel__visual { min-height: 400px; }
}

/* Entrel Responsive — Mobile (stack) */
@media (max-width: 768px) {
    .wd-hero--entrel { min-height: auto; border-radius: 12px; }
    .wd-hero--entrel__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding: 4rem 1.5rem 3rem;
    }
    .wd-hero--entrel__bg-text { position: relative; top: auto; transform: none; padding-left: 0; padding-right: 0; text-align: center; align-items: center; margin-bottom: 1rem; }
    .wd-hero--entrel__bg-text-large { font-size: clamp(1.15rem, 5.8vw, 4rem); }
    .wd-hero--entrel__text { align-items: center; align-self: auto; padding-bottom: 0; }
    .wd-hero--entrel__ctas { justify-content: center; }
    .wd-hero--entrel__visual { min-height: 350px; order: -1; }
    .wd-hero--entrel__angel { max-width: 300px; }
    .wd-hero--entrel__spotlight { width: 300px; height: 300px; top: 10%; right: -10%; }
}

/* Entrel Responsive — Small Mobile */
@media (max-width: 480px) {
    .wd-hero--entrel__bg-text-large { font-size: 1.15rem; }
    .wd-hero--entrel__visual { min-height: 280px; }
    .wd-hero--entrel__ctas { flex-direction: column; align-items: center; }
}


/* ==========================================================
   BAILA VERDE HERO
   ========================================================== */

.wd-hero--bailaverde {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: #0a0a0a;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: 2rem -2.5rem 0;
    isolation: isolate;
}

/* Vignette */
.wd-hero--bailaverde::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(10, 10, 10, 0.5) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Background */
.wd-hero--bailaverde__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.wd-hero--bailaverde__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.wd-hero--bailaverde__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.35) 35%,
        rgba(10, 10, 10, 0.08) 60%,
        rgba(10, 10, 10, 0.25) 100%
    );
}

/* DJ Layers (fullscreen) */
.wd-hero--bailaverde__dj {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.wd-hero--bailaverde__dj--right {
    z-index: 1;
}

.wd-hero--bailaverde__dj--left {
    z-index: 2;
}

.wd-hero--bailaverde__dj img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    filter: brightness(0.85) contrast(1.05);
}

/* Accent Glow */
.wd-hero--bailaverde__glow {
    position: absolute;
    bottom: 0;
    left: -15%;
    width: 70%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.25) 0%, rgba(0, 230, 118, 0.08) 40%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* Content (bottom-left) */
.wd-hero--bailaverde__content {
    position: relative;
    z-index: 4;
    padding: 6rem 1rem 3rem 2rem;
    max-width: 900px;
    text-align: left !important;
    width: 100%;
    margin: 0;
}

/* Overline */
.wd-hero--bailaverde__overline {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

/* Title */
.wd-hero--bailaverde__title {
    margin: 0 0 1.25rem 0;
    padding: 0;
    text-align: left;
}

.wd-hero--bailaverde__title-line {
    display: block;
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: left;
}

/* Genres */
.wd-hero--bailaverde__genres {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #00E676;
    margin-bottom: 1.75rem;
}

/* CTA */
.wd-hero--bailaverde__cta {
    margin-bottom: 1.75rem;
}

.wd-hero--bailaverde__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    background: #00E676;
    color: #0a0a0a;
    transition: all 0.3s ease;
}

.wd-hero--bailaverde__btn svg {
    width: 14px;
    height: 14px;
    stroke: #0a0a0a;
}

.wd-hero--bailaverde__btn:hover {
    background: #00C853;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.3);
}

/* Trust Metrics */
.wd-hero--bailaverde__trust {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.wd-hero--bailaverde__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.wd-hero--bailaverde__scroll svg {
    animation: bv-scroll-bounce 2.5s ease-in-out infinite;
}

@keyframes bv-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Baila Verde Responsive — Tablet */
@media (max-width: 1024px) {
    .wd-hero--bailaverde__title-line {
        font-size: clamp(3.5rem, 10vw, 7rem);
    }
}

/* Baila Verde Responsive — Mobile */
@media (max-width: 768px) {
    .wd-hero--bailaverde {
        align-items: stretch;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    .wd-hero--bailaverde__content {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 2.5rem;
    }
    .wd-hero--bailaverde__cta {
        margin-top: auto;
    }
    .wd-hero--bailaverde__title-line {
        font-size: clamp(3rem, 15vw, 5.5rem);
    }
    .wd-hero--bailaverde__dj {
        inset: auto;
        bottom: 0;
        width: 70%;
        height: 75%;
    }
    .wd-hero--bailaverde__dj--left {
        left: -5%;
    }
    .wd-hero--bailaverde__dj--right {
        right: -5%;
    }
    .wd-hero--bailaverde__dj img {
        object-fit: contain;
        object-position: bottom center;
    }
    .wd-hero--bailaverde__glow {
        display: none;
    }
}

/* Baila Verde Responsive — Small Mobile */
@media (max-width: 480px) {
    .wd-hero--bailaverde__title-line {
        font-size: clamp(2.5rem, 18vw, 4rem);
    }
    .wd-hero--bailaverde__btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Baila Verde — Green Accent on Sections */
.wd-hero--bailaverde ~ .wd-label {
    color: #00E676;
    opacity: 0.8;
}

.wd-hero--bailaverde ~ .wd-context .wd-label,
.wd-hero--bailaverde ~ .wd-branding .wd-label,
.wd-hero--bailaverde ~ .wd-tension .wd-label,
.wd-hero--bailaverde ~ .wd-decision .wd-label,
.wd-hero--bailaverde ~ .wd-showcase .wd-label,
.wd-hero--bailaverde ~ .wd-outcome .wd-label {
    color: #00E676;
    opacity: 0.8;
}

.wd-hero--bailaverde ~ .wd-outcome .wd-outcome__stat {
    color: #00E676;
}

/* Baila Verde — Bottom CTA */
.wd-cta-bailaverde {
    display: flex;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.wd-cta-bailaverde__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    background: #00E676;
    color: #0a0a0a;
    transition: all 0.3s ease;
}

.wd-cta-bailaverde__btn svg {
    width: 16px;
    height: 16px;
    stroke: #0a0a0a;
}

.wd-cta-bailaverde__btn:hover {
    background: #00C853;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.3);
}


/* ==========================================================
   BRANDING SECTION
   ========================================================== */

.wd-branding {
    padding: 4rem 0 2rem;
}

.wd-branding__text {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin-bottom: 2.5rem;
}

.wd-branding__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wd-branding__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.wd-branding__logo {
    position: relative;
    z-index: 2;
    width: clamp(140px, 25vw, 280px);
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 230, 118, 0.35));
}

@media (max-width: 768px) {
    .wd-branding__visual {
        aspect-ratio: 4 / 3;
    }
    .wd-branding__logo {
        width: clamp(120px, 40vw, 200px);
    }
}


/* ==========================================================
   SHOWCASE SECTION (Reusable)
   ========================================================== */

.wd-showcase {
    padding: 4rem 0 2rem;
}

.wd-showcase .wd-label {
    display: block;
    margin-bottom: 2rem;
}

.wd-showcase__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.wd-showcase__item {
    overflow: hidden;
    border-radius: 12px;
}

.wd-showcase__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.4s ease;
}

.wd-showcase__item:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .wd-showcase__grid {
        grid-template-columns: 1fr;
    }
}
