/* ════════════════════════════════
   PROJECT 2 — MENYU
   Accent: purple #5C2D91
   ════════════════════════════════ */

:root {
    --accent:       #5C2D91;
    --accent-light: #8B5CC8;
    --accent-hero:  #4A1F7C;
    --bg:           #F7F3FA;
    --font-sans:    'Inter', sans-serif;
    --font-mono:    'Space Mono', monospace;
}

body {
    background: var(--bg);
    color: #111;
    font-family: var(--font-sans);
}

/* ── Nav ── */
.pd-back {
    font-size: 13px;
    color: #111;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.pd-back:hover { color: var(--accent); }

.nav-initials {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

/* ── Title section ── */
.pd-title-section {
    padding: 120px 60px 0;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

/* Ghost outline title behind */
.pd-title-section::before {
    content: 'MENYU';
    position: absolute;
    top: 60px;
    left: 40px;
    font-size: clamp(80px, 16vw, 200px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(92, 45, 145, 0.08);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.pd-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #111 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── Meta bar ── */
.pd-meta {
    display: flex;
    gap: 12px;
    padding: 24px 60px 0;
    opacity: 0;
    transform: translateY(16px);
    flex-wrap: wrap;
}

.pd-meta-item {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--accent);
    background: rgba(92, 45, 145, 0.07);
    border: 1px solid rgba(92, 45, 145, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}
.pd-meta-item:hover {
    background: var(--accent);
    color: #fff;
}

/* ── Hero band ── */
.pd-hero {
    margin-top: 40px;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background: linear-gradient(160deg, #3D1A78 0%, var(--accent-hero) 50%, #2A0D5C 100%);
    opacity: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* subtle grid overlay */
.pd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.pd-hero-img {
    width: 70%;
    height: 85%;
    object-fit: contain;
    object-position: center center;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
}

/* ── Body ── */
.pd-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}

.pd-name {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #111;
    margin: 0 0 16px;
}

.pd-intro {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
    font-style: italic;
}

.pd-desc {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 40px;
}

/* Subsections: CONTEXT, WHO IS TELLIX */
.pd-subsection {
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(16px);
}

.pd-subsection-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 12px;
    text-transform: uppercase;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
}

.pd-subsection-text {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

/* Sidebar */
.pd-body-right {
    padding-top: 8px;
}

.pd-info-block {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(12px);
    background: #fff;
    border-radius: 12px;
    padding: 20px 20px 20px 24px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 2px 12px rgba(92,45,145,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
}
.pd-info-block:hover {
    box-shadow: 0 6px 24px rgba(92,45,145,0.12);
    transform: translateX(4px);
}

.pd-info-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.pd-info-text {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

/* ── Divider ── */
.pd-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.25;
    margin: 60px 60px 0;
}

/* ── Section label (number prefix) ── */
.pd-section-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--accent-light);
    margin-bottom: 8px;
    display: block;
    opacity: 0.7;
}

/* ── Brainstorming + Five W's ── */
.pd-brainstorm {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}

.pd-bs-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    font-style: italic;
    color: var(--accent);
    margin: 0 0 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.pd-bs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-light);
    border-radius: 2px;
}
.pd-bs-title--center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Word cloud */
.pd-wordcloud {
    width: 80%;
    margin: 0 auto;
}
.pd-wordcloud img {
    width: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(92,45,145,0.1));
}

/* Five W's 2-col grid */
.pd-fivew-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pd-fivew-item {
    opacity: 0;
    transform: translateY(12px);
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(92,45,145,0.1);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.pd-fivew-item:hover {
    box-shadow: 0 8px 28px rgba(92,45,145,0.1);
    transform: translateY(-3px);
    border-color: rgba(92,45,145,0.3);
}

.pd-fivew-q {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.pd-fivew-a {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ── The Concept ── */
.pd-concept2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    align-items: stretch;
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
}

.pd-concept2-left {
    padding: 60px 60px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pd-concept2-right {
    overflow: hidden;
    background: linear-gradient(160deg, #3D1A78 0%, var(--accent) 100%);
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pd-concept2-block {
    margin-bottom: 36px;
    text-align: left;
}
.pd-concept2-block:last-child {
    margin-bottom: 0;
}

.pd-concept2-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    margin: 0 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

.pd-concept2-text {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    max-width: 420px;
    margin: 0;
}

.pd-concept2-img {
    width: 100%;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 -20px 40px rgba(0,0,0,0.25));
}

/* ── Personae ── */
.pd-persona2 {
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}

.pd-persona2-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    margin-top: 32px;
}

.pd-persona2-name {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.pd-persona2-role {
    font-size: 13px;
    color: #888;
    margin: 10px 0 28px;
    font-style: italic;
}

.pd-persona2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

.pd-persona2-col {
    background: #fff;
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(92,45,145,0.1);
}

.pd-persona2-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 4px;
}

.pd-persona2-col strong {
    color: #111;
    font-weight: 600;
}

.pd-persona2-col-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin: 0 0 12px;
    display: block;
}

/* Icons row */
.pd-persona2-icons {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    margin-top: 8px;
}

.pd-persona2-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    background: #fff;
    padding: 16px 20px 12px;
    border-radius: 12px;
    border: 1px solid rgba(92,45,145,0.1);
}

.pd-persona2-icon-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.pd-persona2-trellix {
    height: 24px !important;
}

.pd-persona2-icon-item span {
    font-size: 11px;
    color: #888;
}

/* Yellow card */
.pd-persona2-card {
    background: linear-gradient(150deg, #F5C518 60%, #F9D94A 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 32px;
    gap: 20px;
    box-shadow: 0 12px 40px rgba(245,197,24,0.25);
}

.pd-persona2-char {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    display: block;
}

.pd-persona2-quote {
    text-align: center;
}

.pd-persona2-quote-mark {
    font-size: 40px;
    font-weight: 900;
    color: rgba(0,0,0,0.25);
    line-height: 1;
    display: block;
    margin-bottom: 2px;
}

.pd-persona2-quote p {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.5;
    margin: 0;
}

/* ── Empathy Card ── */
.pd-empathy {
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}

/* 2×2 grid with center overlay */
.pd-empathy-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3px;
    background: rgba(92,45,145,0.12);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-top: 32px;
}

.pd-em-quad {
    background: #fff;
    padding: 32px 28px;
    transition: background 0.2s;
}
.pd-em-see    { background: #faf8ff; }
.pd-em-think  { background: #f8f0ff; }
.pd-em-hear   { background: #f4f0fa; }
.pd-em-do     { background: #f9f6ff; }

.pd-em-quad ul {
    margin: 12px 0 0 0;
    padding-left: 18px;
}

.pd-em-quad li {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 4px;
}

.pd-em-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin: 0;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pd-em-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Center persona badge */
.pd-em-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.pd-em-center-inner {
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 14px 28px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(92,45,145,0.4);
    text-transform: uppercase;
}

/* Bottom motivations / brakes */
.pd-empathy-bottom {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
    gap: 0;
    margin-top: 3px;
    background: rgba(92,45,145,0.12);
    border-radius: 20px;
    overflow: hidden;
}

.pd-em-bottom-col {
    background: #fff;
    padding: 28px 32px;
}

.pd-em-bottom-divider {
    background: rgba(92,45,145,0.12);
}

.pd-em-bottom-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin: 0 0 14px;
    text-transform: uppercase;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

.pd-em-bottom-col ul {
    margin: 0;
    padding-left: 18px;
}

.pd-em-bottom-col li {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 6px;
}

/* ── User Journey ── */
.pd-journey {
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}

.pd-journey-table {
    margin-top: 32px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(92,45,145,0.08);
}

.pd-jt-row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(92,45,145,0.08);
}

.pd-jt-row:last-child {
    border-bottom: none;
}

.pd-jt-header {
    background: linear-gradient(135deg, var(--accent-hero) 0%, var(--accent) 100%);
    color: #fff;
}

.pd-jt-cell {
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    border-right: 1px solid rgba(92,45,145,0.08);
    vertical-align: top;
}

.pd-jt-header .pd-jt-cell {
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    border-right-color: rgba(255,255,255,0.15);
    text-align: center;
    text-transform: uppercase;
}

.pd-jt-cell:last-child {
    border-right: none;
}

.pd-jt-label-col {
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(92,45,145,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
}

.pd-jt-header .pd-jt-label-col {
    background: rgba(0,0,0,0.15);
    color: #fff;
}

.pd-jt-cell ul {
    margin: 0;
    padding-left: 16px;
}

.pd-jt-cell li {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.pd-jt-center {
    text-align: center;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

/* Feelings row */
.pd-jt-feelings-row {
    grid-template-columns: 120px 1fr;
    background: rgba(92,45,145,0.02);
}

.pd-jt-feelings-cell {
    padding: 20px 24px;
}

.pd-feelings-graph {
    width: 100%;
    height: 130px;
    display: block;
}

/* ── Wireframe ── */
.pd-wireframe {
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}
.pd-wireframe-img-wrap img {
    width: 100%;
    display: block;
    border-radius: 16px;
    margin-top: 32px;
    box-shadow: 0 8px 40px rgba(92,45,145,0.1);
}

/* ── Final Prototype ── */
.pd-prototype {
    padding: 60px 60px 0;
    opacity: 0;
    transform: translateY(20px);
}
.pd-bs-title--center {
    text-align: center;
}
.pd-bs-title--center::after {
    left: 50%;
    transform: translateX(-50%);
}
.pd-prototype-img-wrap img {
    width: 100%;
    display: block;
    border-radius: 16px;
    margin-top: 32px;
    box-shadow: 0 8px 40px rgba(92,45,145,0.1);
}

/* ── Next Project ── */
.pd-next {
    padding: 60px 60px 100px;
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pd-next::before {
    content: 'NEXT';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(80px, 14vw, 180px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(92,45,145,0.06);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.pd-next-thumb {
    width: 220px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(92,45,145,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}
.pd-next:hover .pd-next-thumb {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 16px 48px rgba(92,45,145,0.22);
}

.pd-next-thumb img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.pd-next-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-next-label {
    font-family: var(--font-sans);
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 800;
    color: #111;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.pd-next-arrow-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pd-next-arrow {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 300;
    color: #111;
    line-height: 1;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.pd-next:hover .pd-next-label,
.pd-next:hover .pd-next-arrow {
    color: var(--accent);
}
.pd-next:hover .pd-next-arrow {
    transform: translateX(12px);
}
