/* ==============================================================
   Creative Portfolio — Canva Presentation Aesthetic & Website Integration
   ============================================================== */

:root {
    --canva-bg: #F4F0E6;
    --canva-navy: #171C2A;
    --canva-navy-light: #2A334A;
    --canva-accent: #3B82F6;
    --canva-orange: #FF5722;
    --font-script: 'Caveat', 'Satisfy', cursive;
}

/* Page Container & Spacing */
.creative-portfolio-page {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-height) + 20px);
}

/* Ensure cursor is never hidden */
.cursor-follower {
    z-index: 2147483647 !important;
    pointer-events: none !important;
}

/* --------------------------------------------------------------
   1. Presentation Hero Section (Exact Slide 1 Reproduction)
   -------------------------------------------------------------- */
.canva-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Geometric Corner Accents from Presentation Slide 1 */
.canva-corner-accent {
    position: absolute;
    width: 70px;
    height: 70px;
    pointer-events: none;
    z-index: 1;
}

.canva-corner-tl {
    top: 1.5rem;
    left: 2rem;
}

.canva-corner-tr {
    top: 1.5rem;
    right: 2rem;
}

.canva-corner-accent svg {
    width: 100%;
    height: 100%;
    fill: var(--canva-navy);
    transition: fill var(--transition-med);
}

body.theme-dark .canva-corner-accent svg {
    fill: var(--highlight);
}

/* Hero Main Composition */
.canva-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

/* Big Display Typography Layer */
.canva-hero-title-wrap {
    position: relative;
    text-align: center;
    width: 100%;
    margin-bottom: -40px;
    z-index: 1;
}

.canva-hero-script {
    display: block;
    font-family: var(--font-script);
    font-size: 5.5rem;
    color: var(--canva-navy);
    line-height: 0.8;
    transform: rotate(-6deg) translateY(20px);
    z-index: 2;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.theme-dark .canva-hero-script {
    color: var(--highlight);
}

.canva-hero-portfolio-text {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 13vw, 10.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.9;
    color: var(--canva-navy);
    text-transform: uppercase;
    user-select: none;
    transition: color var(--transition-med), text-shadow var(--transition-med);
}

body.theme-dark .canva-hero-portfolio-text {
    color: #F8FAFC !important;
    text-shadow: 0 0 35px rgba(59, 130, 246, 0.25);
}

body.theme-light .canva-hero-portfolio-text {
    color: #0F172A !important;
    text-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* Photo Layer */
.canva-hero-photo-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 700px;
    margin: -160px auto 0;
    display: flex;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.canva-hero-photo-wrap:hover {
    transform: translateY(-8px) scale(1.02);
}

.canva-hero-photo {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.3));
}

/* Bottom Presentation Meta Row */
.canva-hero-meta-row {
    position: relative;
    z-index: 4;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.canva-meta-left {
    text-align: left;
}

.canva-meta-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.canva-meta-role {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--highlight);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.canva-meta-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.canva-meta-link {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.canva-meta-link:hover {
    color: var(--highlight);
}

/* Hero Action Bar */
.canva-hero-actions {
    position: relative;
    z-index: 5;
    margin-top: 2rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
}

/* Social Icon Pills (Behance & Pinterest) */
.canva-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--surface-color);
    border: 1.5px solid var(--surface-border);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal, 0.3s ease);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.canva-social-pill i {
    font-size: 1.35rem;
    line-height: 1;
    transition: transform var(--transition-fast, 0.2s ease);
}

.canva-social-pill:hover {
    transform: translateY(-3px) scale(1.03);
}

.canva-social-pill:hover i {
    transform: scale(1.2);
}

.canva-social-pill.behance i {
    color: #0057FF;
}

.canva-social-pill.pinterest i {
    color: #E60023;
}

.canva-social-pill.pinterest:hover {
    border-color: #E60023;
    color: #E60023;
    background: rgba(230, 0, 35, 0.08);
    box-shadow: 0 10px 25px rgba(230, 0, 35, 0.3);
}

.canva-social-pill.behance:hover {
    border-color: #0057FF;
    color: #0057FF;
    background: rgba(0, 87, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 87, 255, 0.3);
}

/* --------------------------------------------------------------
   2. About Me & Creative Philosophy Section (Slides 2 & 4)
   -------------------------------------------------------------- */
.canva-editorial-section {
    padding: 5rem 0;
    position: relative;
}

.canva-editorial-frame {
    background: var(--surface-color);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid var(--canva-navy);
    border-radius: 32px;
    padding: 3.5rem 4rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-dark .canva-editorial-frame {
    border-color: rgba(255, 255, 255, 0.15);
}

.canva-editorial-frame:hover {
    border-color: var(--highlight);
    box-shadow: var(--shadow-hover);
}

.canva-editorial-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.canva-editorial-quote {
    font-family: var(--font-script);
    font-size: 2.6rem;
    color: var(--canva-navy);
    line-height: 1.2;
    margin: 1.5rem 0 2rem;
    display: block;
}

body.theme-dark .canva-editorial-quote {
    color: var(--highlight);
}

.canva-editorial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin-bottom: 2rem;
}

/* Skills numbered badges (Slide 3) */
.canva-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.canva-skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem;
    background: var(--surface-solid);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    transition: all var(--transition-fast);
}

.canva-skill-item:hover {
    border-color: var(--highlight);
    transform: translateY(-3px);
}

.canva-skill-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--highlight);
    line-height: 1;
}

.canva-skill-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --------------------------------------------------------------
   3. Project Case Study Sections (Slides 5, 6, 7)
   Reusing existing Creative Work Layout with Natural Appearance
   -------------------------------------------------------------- */
.canva-project-section {
    padding: 5rem 0;
    position: relative;
    border-top: 1px solid var(--surface-border);
}

/* Presentation-Style Project Header */
.canva-project-header {
    margin-bottom: 3rem;
}

.canva-project-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

.canva-project-num-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.canva-project-client {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: block;
}

.canva-project-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 850px;
    margin-bottom: 1.5rem;
}

.canva-project-scope-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.canva-scope-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.canva-scope-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--highlight);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

/* --------------------------------------------------------------
   Natural Artwork Adaptive Gallery
   Preserves original aspect ratio, NO black boxes, NO dark containers
   -------------------------------------------------------------- */
.natural-artwork-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Reusing .creative-item styling with natural aspect ratio */
.natural-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    background: transparent !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    border: 1px solid var(--surface-border);
}

.natural-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
    border-color: var(--highlight);
}

.natural-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.natural-item:hover img {
    transform: scale(1.03);
}

/* Override .creative-overlay hover triggers for .natural-item parent */
.natural-item:hover .creative-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(59, 130, 246, 0.05) 100%);
}

.natural-item:hover .creative-overlay h3 {
    transform: translateY(0);
}

.natural-item:hover .creative-overlay p {
    transform: translateY(0);
}

/* Spanned Featured Items */
.natural-item.span-2-col {
    grid-column: span 2;
}

/* Video Presentation in Natural Style */
.natural-video-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-soft);
    background: transparent;
    transition: all 0.4s ease;
}

.natural-video-item:hover {
    border-color: var(--highlight);
    box-shadow: var(--shadow-hover);
}

.natural-video-item video {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
}

.natural-video-caption {
    padding: 1.2rem 1.5rem;
    background: var(--surface-color);
    border-top: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.natural-video-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
}

.natural-video-caption p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------
   4. Career Experiences Timeline (Slide 8)
   -------------------------------------------------------------- */
.canva-timeline-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.canva-timeline-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--canva-navy);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-dark .canva-timeline-card {
    border-color: rgba(255, 255, 255, 0.15);
}

.canva-timeline-card:hover {
    border-color: var(--highlight);
    transform: translateX(8px);
}

.canva-timeline-circle-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--canva-navy);
    color: #F4F0E6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
}

body.theme-dark .canva-timeline-circle-num {
    background: var(--highlight);
    color: #0B1120;
}

.canva-timeline-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    flex: 0 0 120px;
}

.canva-timeline-details h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.canva-timeline-details p {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--highlight);
}

/* --------------------------------------------------------------
   5. Let's Work Together & THANK YOU (Slides 9 & 10)
   -------------------------------------------------------------- */
.canva-closing-section {
    padding: 5rem 0 6rem;
    text-align: center;
    position: relative;
}

.canva-closing-card {
    background: var(--surface-color);
    border: 2px solid var(--canva-navy);
    border-radius: 36px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

body.theme-dark .canva-closing-card {
    border-color: rgba(255, 255, 255, 0.15);
}

.canva-closing-script {
    font-family: var(--font-script);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
}

body.theme-dark .canva-closing-script {
    color: var(--highlight);
}

.canva-closing-contact-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0 2.5rem;
}

.canva-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.85rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--surface-solid);
    border: 1.5px solid var(--surface-border);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.canva-contact-btn i {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform var(--transition-fast, 0.2s ease);
}

.canva-contact-btn:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.canva-contact-btn:hover i {
    transform: scale(1.15);
}

.canva-contact-btn[href*="behance"]:hover {
    border-color: #0057FF;
    color: #0057FF;
    box-shadow: 0 8px 22px rgba(0, 87, 255, 0.25);
}

.canva-contact-btn[href*="pin.it"]:hover,
.canva-contact-btn[href*="pinterest"]:hover {
    border-color: #E60023;
    color: #E60023;
    box-shadow: 0 8px 22px rgba(230, 0, 35, 0.25);
}

/* Big THANK YOU from Slide 10 */
.canva-thank-you {
    color: var(--canva-navy);
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    text-transform: uppercase;
    margin-top: 2rem;
    user-select: none;
    transition: color var(--transition-med), text-shadow var(--transition-med);
}

body.theme-dark .canva-thank-you {
    color: #F8FAFC !important;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

body.theme-light .canva-thank-you {
    color: #0F172A !important;
    text-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* --------------------------------------------------------------
   Smooth Scroll Entrance & Motion Storytelling
   -------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ==============================================================
   Bento / Masonry Puzzle Grid — Project Galleries
   Cohesive, gap-free puzzle layout similar to Creative Work section
   ============================================================== */
.bento-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        border-color 0.25s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border-color: var(--highlight);
    z-index: 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover img {
    transform: scale(1.06);
}

/* Hover overlay — uses .creative-overlay from projects.css */
.bento-item:hover .creative-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(59, 130, 246, 0.05) 100%);
}

.bento-item:hover .creative-overlay h3 {
    transform: translateY(0);
}

.bento-item:hover .creative-overlay p {
    transform: translateY(0);
}

/* Bento Span Variants */
.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Mobile (touch devices) — always show overlay fixed in position, no hover needed */
@media (hover: none) {
    .bento-item .creative-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%);
    }

    .bento-item .creative-overlay h3 {
        transform: translateY(0) !important;
    }

    .bento-item .creative-overlay p {
        transform: translateY(0) !important;
    }
}

/* ==============================================================
   Video Reel — Full-Width Block Below Gallery
   ============================================================== */
.bento-video-wrapper {
    margin-top: 0.85rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-soft);
    background: var(--surface-color);
}

.bento-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 540px;
    object-fit: contain;
    background: #000;
}

.bento-video-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.2rem 1.6rem;
    background: var(--surface-color);
    border-top: 1px solid var(--surface-border);
}

.bento-video-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.bento-video-caption p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* ==============================================================
   PDF Download Strip — Hero Position (near top)
   ============================================================== */
.canva-pdf-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.1rem 2rem;
    border-radius: var(--radius-md);
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.canva-pdf-strip:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.pdf-strip-label {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdf-strip-label .fa {
    color: #E8534A;
    font-size: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --------------------------------------------------------------
   Responsive Behavior
   -------------------------------------------------------------- */

/* Bento Grid — Tablet (2 columns) */
@media (max-width: 992px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
    }

    .bento-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 2;
    }

    .natural-item.span-2-col {
        grid-column: span 1;
    }

    .canva-editorial-frame {
        padding: 2.5rem 2rem;
    }

    .canva-hero-portfolio-text {
        font-size: clamp(3.5rem, 11vw, 7rem);
    }

    .canva-hero-script {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    /* ── Global container ── */
    .creative-portfolio-page {
        padding-top: calc(var(--nav-height, 80px) + 10px);
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* ── Hero section ── */
    .canva-hero {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .canva-hero-container {
        padding: 0 1rem;
        gap: 1rem;
    }

    .canva-hero-portfolio-text {
        font-size: clamp(3rem, 14vw, 5rem);
        letter-spacing: -2px;
    }

    .canva-hero-script {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .canva-hero-title-wrap {
        margin-bottom: -20px;
    }

    .canva-hero-photo-wrap {
        max-width: 260px;
        margin-top: -20px;
    }

    .canva-corner-accent {
        display: none;
    }

    .canva-hero-meta-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0.75rem;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .canva-meta-left,
    .canva-meta-right {
        text-align: center;
    }

    .canva-meta-name {
        font-size: 1.4rem;
    }

    .canva-meta-role {
        font-size: 0.82rem;
    }

    .canva-meta-link {
        font-size: 0.85rem;
    }

    .canva-hero-actions {
        margin-top: 1.25rem;
        gap: 0.75rem;
    }

    .canva-social-pill {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }

    /* ── PDF strip ── */
    .canva-pdf-strip {
        flex-direction: column;
        padding: 0.85rem 1rem;
        text-align: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    /* ── Editorial / philosophy section ── */
    .canva-editorial-section {
        padding: 2.5rem 0;
    }

    .canva-editorial-frame {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .canva-editorial-title {
        font-size: 0.78rem;
    }

    .canva-editorial-quote {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .canva-editorial-text {
        font-size: 0.9rem;
    }

    /* ── Project sections ── */
    .canva-project-section {
        padding: 2.5rem 0;
    }

    .canva-project-header {
        margin-bottom: 1.5rem;
    }

    .canva-project-badge {
        font-size: 0.72rem;
    }

    .canva-project-num-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 0.4rem;
    }

    .canva-project-client {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .canva-project-desc {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .canva-project-scope-wrap {
        gap: 0.4rem;
    }

    /* ── Bento gallery ── */
    .bento-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .bento-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    /* ── Video block ── */
    .bento-video-wrapper {
        margin-top: 0.5rem;
    }

    .bento-video-wrapper video {
        max-height: 260px;
    }

    .bento-video-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.85rem 1rem;
    }

    .bento-video-caption h4 {
        font-size: 0.95rem;
    }

    .bento-video-caption p {
        font-size: 0.76rem;
    }

    /* ── Timeline ── */
    .canva-timeline-flow {
        gap: 0.75rem;
    }

    .canva-timeline-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }

    .canva-timeline-year {
        font-size: 1.5rem;
    }

    /* ── Closing / contact section ── */
    .canva-closing-section {
        padding: 2.5rem 0 3rem;
    }

    .canva-closing-card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .canva-closing-contact-grid {
        gap: 0.75rem;
        margin: 1.25rem 0 1.75rem;
    }

    .canva-contact-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .canva-contact-btn i {
        font-size: 1rem;
    }

    /* ── Thank You typography ── */
    .canva-thank-you {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    /* ── Other creative works section ── */
    .natural-artwork-gallery {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Bento — Small Mobile (single dominant column) */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .canva-hero-portfolio-text {
        font-size: clamp(2.5rem, 16vw, 4rem);
    }

    .bento-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 120px;
        gap: 0.4rem;
    }

    .bento-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .pdf-strip-label {
        font-size: 0.78rem;
    }

    .canva-social-pill {
        padding: 0.65rem 1.1rem;
        font-size: 0.82rem;
    }

    .canva-social-pill i {
        font-size: 1.1rem;
    }

    .canva-editorial-frame {
        padding: 1.25rem 1rem;
    }

    .canva-project-section {
        padding: 2rem 0;
    }

    .canva-closing-card {
        padding: 1.5rem 1rem;
    }

    .canva-contact-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}