@font-face {
    font-family: 'Bodigako';
    src: url('tipografy/BODIGAKO/BODIGAKO.woff2') format('woff2'),
         url('tipografy/BODIGAKO/BODIGAKO.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Shoore';
    src: url('tipografy/Shoore/Shoore.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noveau';
    src: url('tipografy/noveau-prestige-elegant-2026-04-07-06-20-32-utc/Noveau.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
:root {
    --c-ivory: #F2E8E1;
    --c-champagne: #D4B896;
    --c-nude: #BC7E61;
    --c-cocoa: #5C4132;
    --c-ebony: #2A1F18;
    
    --f-display: 'Shoore', serif;
    --f-transform: uppercase;
    --f-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--c-ivory);
    color: var(--c-ebony);
    font-family: var(--f-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* UI Elements */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.05);
    z-index: 100;
}
.progress-bar {
    height: 100%;
    background: var(--c-cocoa);
    width: 0%;
    transition: width 0.3s ease;
}

.slide-counter {
    position: fixed;
    top: 40px;
    left: 40px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    z-index: 100;
}

.font-switcher {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 1000;
    background: rgba(242, 232, 225, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--c-champagne);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.font-switcher p {
    font-family: var(--f-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.font-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.font-btns button {
    background: transparent;
    border: 1px solid var(--c-ebony);
    color: var(--c-ebony);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-family: var(--f-body);
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.font-btns button:hover {
    background: var(--c-ebony);
    color: var(--c-ivory);
}

.font-btns button.active {
    background: var(--c-ebony);
    color: white;
}

.nav-controls {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 100;
}
.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--c-ebony);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ebony);
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: var(--c-ebony);
    color: var(--c-ivory);
}

.bg-cocoa { background-color: var(--c-cocoa); color: var(--c-ivory); }
.bg-cocoa .nav-btn { border-color: var(--c-ivory); color: var(--c-ivory); }
.bg-cocoa .nav-btn:hover { background: var(--c-ivory); color: var(--c-cocoa); }

/* Horizontal Presentation */
.presentation {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.presentation::-webkit-scrollbar { display: none; }

.slide {
    flex: 0 0 100vw;
    height: 100vh;
    scroll-snap-align: start;
    padding: 6rem 5rem;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.slide-content {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

/* Typography Shared */
.section-number {
    font-family: var(--f-display);
    text-transform: var(--f-transform);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--c-nude);
    margin-bottom: 0.5rem;
}
.section-number.light { color: var(--c-champagne); }

.section-title {
    font-family: var(--f-display);
    text-transform: var(--f-transform);
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.eyebrow {
    font-family: var(--f-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--c-nude);
}
.eyebrow.light { color: var(--c-champagne); }

.slide-ig-stories { padding: 4rem 1rem; }
.stories-container { display: flex; gap: 2rem; overflow-x: auto; padding: 2rem 0; }
.story-card { width: 300px; height: 533px; border-radius: 16px; overflow: hidden; flex-shrink: 0; }

.slide-brand-imagery { padding: 4rem 1rem; }
.imagery-grid { column-count: 3; column-gap: 1.5rem; }
.imagery-item { margin-bottom: 1.5rem; border-radius: 8px; overflow: hidden; }

/* Layout Splits */
.slide-split .slide-content {
    flex-direction: row;
    align-items: center;
    gap: 6rem;
}
.left-col, .right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.left-col.title-col { justify-content: flex-start; padding-top: 4rem; }
.left-col.title-only { justify-content: flex-start; padding-top: 4rem; max-width: 400px; }

/* Text Styles */
p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.lead {
    font-size: 1.5rem;
    font-family: var(--f-display);
    font-style: italic;
    margin-bottom: 2rem;
}
.lead-medium {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.emphasis { font-weight: 600; color: var(--c-nude); font-size: 1.1rem; }

/* COVER PAGE */
.slide-cover .slide-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.cover-text {
    flex: 1;
    z-index: 2;
    padding-right: 2rem;
}
.brand-img-primary {
    height: 120px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
}
.tagline {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 14px;
    color: var(--c-nude);
    margin-bottom: 0.5rem;
    margin-left: 14px; /* offset for tracking */
}
.sub-tagline {
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 0.9rem;
}
.divider {
    font-size: 1.5rem;
    color: var(--c-champagne);
    margin: 2rem 0;
}
.footer-note {
    font-size: 0.8rem;
    color: rgba(42,31,24,0.6);
    line-height: 1.5;
}
.cover-image-container {
    flex: 1;
    height: 80vh;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.08);
}
.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 01 ESSENCE */
.pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.pillars-title {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--c-nude);
    margin-bottom: 1rem;
}
.pillar { display: flex; flex-direction: column; }
.pillar .icon { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--c-cocoa); }
.pillar h5 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.pillar p { margin: 0; font-size: 0.95rem; color: rgba(42,31,24,0.8); }

/* 02 PURPOSE */
.image-block { width: 100%; height: 60vh; overflow: hidden; border-radius: 4px; }
.framed-img { width: 100%; height: 100%; object-fit: cover; }
.text-focused { justify-content: center; padding-left: 2rem; }
.mb-large { margin-bottom: 4rem; }

/* 03 VOICE */
.slide-center { text-align: center; }
.slogan-massive {
    font-family: var(--f-display);
    text-transform: var(--f-transform);
    font-size: 7rem;
    font-style: italic;
    font-weight: 400;
    margin: 2rem 0 0.5rem 0;
    color: var(--c-ivory);
}
.slide-half-img {
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
}
.slide-half-img .half-img {
    flex: 1;
    background-size: cover;
    background-position: center;
}
.slide-half-img .half-content {
    flex: 1;
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--c-ivory);
}
.text-left { text-align: left; }
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: left;
}
.voice-card h4 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--c-champagne);
    margin-bottom: 1.5rem;
}
.quote { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 1.4rem; font-style: italic; line-height: 1.6; }

/* 04 CORE VALUES */
.subtitle { font-size: 1.2rem; line-height: 1.7; max-width: 400px; color: rgba(42,31,24,0.8); }
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 3rem;
}
.value-box .num { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 2.5rem; color: var(--c-nude); display: block; margin-bottom: 1rem; }
.value-box h4 { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 1.8rem; margin-bottom: 1rem; }
.value-box p { font-size: 0.95rem; margin: 0; }

/* 05 VISUAL IDENTITY */
.overflow-content { justify-content: flex-start; padding-top: 2rem; }
.header-row { margin-bottom: 4rem; }
.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}
.identity-grid h4 {
    font-family: var(--f-display);
    text-transform: var(--f-transform);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--c-cocoa);
}
.color-palette { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.color-swatch {
    padding: 1.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: right;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.type-spec { margin-bottom: 3rem; }
.type-label { font-size: 0.75rem; letter-spacing: 2px; color: var(--c-nude); display: block; margin-bottom: 0.5rem; }
.type-spec h5 { font-size: 3rem; font-weight: normal; margin-bottom: 1rem; }
.photo-dir { list-style: none; }
.photo-dir li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}
.photo-dir li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--c-champagne);
    font-size: 0.8rem;
}

/* 06 PRODUCT PORTFOLIO */
.product-img { width: 80%; max-height: 50vh; object-fit: contain; margin-top: 2rem; }
.align-center { align-items: center; text-align: center; }
.align-center .section-number, .align-center .section-title { width: 100%; text-align: left; }
.products-col { justify-content: center; padding: 2rem 0; }
.product-card h4 { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 2.2rem; margin-bottom: 0.5rem; }
.product-card h5 { font-size: 1.1rem; color: var(--c-nude); font-weight: 500; margin-bottom: 1.5rem; }
.product-card .details p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.product-card .shades { margin-top: 1.5rem; font-size: 0.85rem; font-weight: 500; word-spacing: 5px; }
.product-card .shades .highlight { color: var(--c-nude); font-weight: 600; border-bottom: 1px solid var(--c-nude); }
.divider-line { width: 100%; height: 1px; background: rgba(0,0,0,0.1); margin: 3rem 0; }

/* 07 MARKET POSITION */
.grid-column { display: flex; flex-direction: column; gap: 3rem; justify-content: center; }
.win-card { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 1.5rem; display: flex; gap: 3rem; }
.win-card .num { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 2rem; color: var(--c-champagne); font-style: italic; }
.win-card h4 { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 1.8rem; margin-bottom: 1rem; }

/* 08 OUTRO */
.outro { background-color: var(--c-ebony); color: var(--c-ivory); }
.outro .section-number, .outro .section-title, .outro p { color: var(--c-ivory); }
.outro .section-number { color: var(--c-champagne); }
.step { display: flex; gap: 2rem; margin-bottom: 2rem; }
.step-num { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 2rem; color: var(--c-nude); font-style: italic; }
.step h4 { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 1.5rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

.back-cover { align-items: center; text-align: center; }
.brand-img-massive { height: 100px; width: auto; max-width: 100%; margin: 2rem auto 1.5rem auto; display: block; object-fit: contain; filter: brightness(0) invert(1); }
.slogan-end { font-family: var(--f-display); text-transform: var(--f-transform); font-size: 2rem; font-style: italic; color: var(--c-champagne); margin-bottom: 4rem; }
.confidential { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* --- OVERLAY COVER --- */
.slide-cover {
    padding: 0 !important;
}
.text-center-vertical {
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: center;
    padding: 4rem 1rem 0.5rem 1rem !important;
    height: 100vh;
}
.cover-top, .cover-middle, .cover-bottom { width: 100%; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.text-overlay {
    z-index: 2;
    position: relative;
    max-width: 800px;
}

/* --- PHOTO GALLERY --- */
.slide-gallery {
    padding: 0;
    position: relative;
}
.gallery-container {
    width: 100vw;
    height: 100vh;
    display: flex;
}
.gallery-img {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}
.gallery-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.1);
    transition: background 0.6s ease;
}
.gallery-img:hover {
    flex: 1.5;
}
.gallery-img:hover::after {
    background: transparent;
}
.gallery-title {
    position: absolute;
    bottom: 50px;
    left: 50px;
    font-family: var(--f-display);
    text-transform: var(--f-transform);
    font-size: 3rem;
    color: var(--c-ivory);
    z-index: 10;
    text-shadow: 0px 4px 20px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

/* --- IG PAGES --- */
.slide-ig-profile, .slide-ig-grid {
    background-color: var(--c-ivory);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.ig-card, .ig-grid-container {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}
.ig-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ig-username { font-family: var(--f-body); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.5px; }
.ig-top-logo { height: 20px; object-fit: contain; }
.ig-stats-row {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 2rem;
}
.ig-avatar-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    border: 1px solid rgba(0,0,0,0.1);
}
.ig-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.ig-stats {
    flex: 1;
    display: flex;
    justify-content: space-between;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 1.2rem; font-weight: 600; color: var(--c-ebony); }
.stat-label { font-size: 0.8rem; color: rgba(42,31,24,0.7); }
.ig-bio { padding: 0 1.5rem 1.5rem 1.5rem; }
.ig-bio h5 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.ig-category { font-size: 0.85rem; color: rgba(42,31,24,0.5); margin-bottom: 0.5rem; }
.ig-bio p { font-size: 0.95rem; line-height: 1.4; margin-bottom: 0.5rem; }
.ig-link { font-size: 0.95rem; color: #00376b; font-weight: 500; text-decoration: none; }
.ig-actions { display: flex; gap: 0.5rem; padding: 0 1.5rem 1.5rem 1.5rem; }
.ig-btn {
    flex: 1;
    padding: 0.5rem 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.ig-btn-primary { background: var(--c-ebony); color: var(--c-ivory); }
.ig-btn-secondary { background: rgba(0,0,0,0.05); color: var(--c-ebony); }

/* GRID */
.ig-grid-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.ig-grid-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.ig-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
}

/* STORIES */
.slide-ig-stories {
    background-color: var(--c-ivory);
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem;
}
.slide-ig-stories .section-title { text-align: center; margin-bottom: 2rem; font-size: 2.5rem; }
.stories-container {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem 0;
    scrollbar-width: none;
}
.stories-container::-webkit-scrollbar { display: none; }
.story-card {
    flex: 0 0 auto;
    width: 320px;
    height: 568px; /* ~ 9:16 aspect ratio */
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
}
.story-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}
.story-bars { display: flex; gap: 4px; width: 100%; margin-bottom: 0.8rem; }
.story-bars .bar { height: 2px; flex: 1; background: rgba(255,255,255,0.4); border-radius: 2px; }
.story-bars .bar:first-child { background: white; }
.story-header { display: flex; align-items: center; gap: 0.5rem; }
.story-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid white; }
.story-header span { color: white; font-weight: 600; font-size: 0.8rem; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.story-footer { display: flex; justify-content: center; }
.story-btn { background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 0.6rem 1.5rem; border-radius: 30px; font-size: 0.8rem; letter-spacing: 1px; font-weight: 500; }

/* IMAGERY COLLAGE */
.slide-brand-imagery {
    background-color: var(--c-nude);
    color: var(--c-ivory);
    flex-direction: column;
    padding: 6rem 4rem;
}
.slide-brand-imagery .section-title { color: var(--c-ivory); margin-bottom: 3rem; text-align: center; }
.imagery-grid {
    column-count: 4;
    column-gap: 0.4rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.imagery-item {
    margin-bottom: 0.4rem;
    break-inside: avoid;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.imagery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.imagery-item:hover img {
    transform: scale(1.03);
}

/* --- STYLE GUIDE --- */
.palette-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.swatch-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.swatch-info h5 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
    color: var(--c-ebony);
}
.swatch-info p {
    font-size: 0.75rem;
    color: rgba(42,31,24,0.5);
    font-family: var(--f-body);
}

.type-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    padding-left: 4rem;
}
.display-text {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--c-ebony);
}
.body-preview {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--c-ebony);
}
.type-meta {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-nude);
    font-weight: 600;
}

@media (max-width: 1200px) {
    .slide-split .slide-content { flex-direction: column; align-items: flex-start; justify-content: flex-start; overflow-y: auto; gap: 3rem; }
    .left-col, .right-col { height: auto; flex: none; width: 100%; padding: 0 !important; }
    .cover-image-container { height: 40vh; }
    .voice-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
    .grid-2x2 { grid-template-columns: 1fr; }
    .identity-grid { grid-template-columns: 1fr; overflow-y: auto; max-height: calc(100vh - 200px); }
    .slogan-massive { font-size: 4rem; }
}

@media (max-width: 768px) {
    /* Safe Mobile Scrolling: delegate scrolling to presentation wrapper */
    .story-card { width: 280px; height: 497px; }
    .imagery-grid { column-count: 3; column-gap: 0.4rem; }
    .imagery-item { margin-bottom: 0.4rem; border-radius: 4px; }
    
    body, html {
        overflow: hidden !important;
        position: fixed;
        width: 100vw;
        height: 100vh;
    }
    
    .presentation {
        display: block;
        width: 100vw;
        height: 100vh;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch; /* Vital for smooth iOS momentum scrolling */
        scroll-snap-type: none;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .slide {
        flex: none;
        width: 100vw;
        height: auto;
        min-height: 100vh;
        padding: 5rem 1.5rem 3rem 1.5rem; /* Increased top padding for safe area */
        scroll-snap-align: none;
    }

    .slide-cover { padding: 0 !important; height: 100vh; }
    
    .text-center-vertical { padding: 6rem 1.5rem 0.5rem 1.5rem !important; } /* Center text better on mobile */
    
    .slide-content { 
        padding: 0; 
        overflow-y: visible;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .slide-split .slide-content { gap: 2rem; }

    /* Half-image layout stacking */
    .slide-half-img { flex-direction: column; padding: 0 !important; }
    .slide-half-img .half-img { 
        height: 50vh; 
        width: 100vw;
        flex: none;
    }
    .slide-half-img .half-content { padding: 3rem 1.5rem; flex: none; }

    /* Galleries */
    .gallery-container { flex-direction: column; height: auto; }
    .gallery-img { 
        width: 100%; 
        height: 50vh; 
        flex: none !important; 
    }
    .gallery-title {
        bottom: auto;
        top: 2rem;
        left: 1.5rem;
        font-size: 2rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    }

    /* Floating Font Dock (Mobile) */
    .font-switcher {
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        padding: 0.4rem;
        background: rgba(242, 232, 225, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 184, 150, 0.4);
        border-radius: 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .font-switcher p { display: none; }
    .font-btns {
        gap: 0.3rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .font-btns::-webkit-scrollbar { display: none; }
    .font-btns button {
        white-space: nowrap;
        background: rgba(42,31,24, 0.04);
        border: 1px solid rgba(42,31,24, 0.1);
        color: var(--c-ebony);
        border-radius: 30px;
        font-size: 0.6rem;
        padding: 0.5rem 0.8rem;
        letter-spacing: 1px;
    }

    .progress-container { display: none; }
    .slide-counter { display: none; }
    .nav-controls { display: none; }

    /* Typography Scaling for Mobile */
    .section-title { font-size: 2.3rem; margin-bottom: 2rem; }
    .slogan-massive { font-size: 3rem; }
    .tagline { font-size: 0.9rem; letter-spacing: 6px; margin-left: 6px; }
    .product-card h4 { font-size: 1.8rem; }
    .win-card { flex-direction: column; gap: 1rem; padding: 2rem 1.5rem !important; border-bottom: 1px solid rgba(42,31,24,0.1); }
    .identity-grid { display: flex; flex-direction: column; gap: 4rem; width: 100%; }
    .color-swatch { height: 100px; padding: 1.5rem; justify-content: flex-end; }
    .value-box .num { font-size: 2rem; }
    .type-spec h5 { font-size: 1.8rem; }
    .type-spec { padding-bottom: 2rem; border-bottom: 1px solid rgba(42,31,24,0.1); }
    
    /* Outro alignments */
    .step { flex-direction: column; gap: 0.5rem; margin-bottom: 3rem; }
    .brand-img-massive { margin-top: 2rem; height: 60px; width: auto; object-fit: contain; }
    .slogan-end { font-size: 1.3rem; }
}

}

/* ATMOSPHERIC OVERLAYS */
.shadow-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 2; 
    mix-blend-mode: overlay;
    opacity: 0.35; 
    filter: blur(8px) brightness(1.1); /* Soft, cinematic light signature */
    animation: shadowDrift 45s infinite alternate ease-in-out;
}

@keyframes shadowDrift {
    0% { transform: translate(0, 0) scale(1.05); }
    50% { transform: translate(3%, 2%) scale(1.1); }
    100% { transform: translate(-2%, 3%) scale(1.07); }
}

.slide-cover, .slide-split, .outro, .slide-texture, .slide-long {
    position: relative;
    overflow: hidden;
    isolation: isolate; /* Create new stacking context */
    background-color: var(--c-ivory); /* Guaranteed base color */
}

.text-overlay, .slide-content, .imagery-grid, .ig-card, .stories-container, .gallery-container {
    position: relative;
    z-index: 5; /* Safe layer above shadows */
    background: transparent !important; /* Force content transparency to show BG texture */
}

/* BRAND TEXTURE SECTION (BLUEPRINT LAYOUT) */
.slide-texture { background-color: var(--c-ivory); }
.blueprint-layout {
    display: flex;
    gap: 1.5rem;
    height: calc(100% - 100px);
    margin-top: 3rem;
}
.blueprint-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.blueprint-visual {
    flex: 1;
    background: #e5d9d0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.blueprint-visual.raw { background: #ccc; }
.blueprint-visual .shadow-sample {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.blueprint-visual.applied .shadow-sample {
    mix-blend-mode: overlay;
    opacity: 0.4;
}
.blueprint-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--c-ebony);
    border-bottom: 1px solid rgba(42,31,24,0.1);
    padding-bottom: 0.5rem;
}
.blueprint-info {
    font-size: 0.75rem;
    color: rgba(42,31,24,0.7);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .blueprint-layout { 
        flex-direction: column; 
        height: auto; 
        overflow: visible; 
        padding-bottom: 2rem;
    }
    .blueprint-visual { 
        height: 250px; 
        flex: none; /* Prevent collapsing */
    }
    .slide-texture .slide-content {
        overflow-y: auto;
        height: auto;
        max-height: 90vh;
        display: block; /* Disable flex to allow natural scrolling */
    }
}

/* BRAND DESIGN SECTION */
.slide-design { background-color: var(--c-ivory); }
.mockup-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: auto;
    min-height: 70vh;
    margin-top: 1.5rem;
}
.mockup-item {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.mockup-item.featured {
    width: 100%;
    aspect-ratio: 2420 / 1069;
    max-height: 350px;
}
.mockup-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    height: 420px;
}
.mockup-item.vertical-1 {
    height: 100%;
    aspect-ratio: 1081 / 1351;
}
.mockup-item.vertical-2 {
    height: 100%;
    aspect-ratio: 1083 / 1940;
}

@media (max-width: 768px) {
    .mockup-grid { height: auto; }
    .mockup-row { flex-direction: column; height: auto; }
    .mockup-item { width: 100%; height: 300px; }
}

/* OUTRO THEME */
.outro { 
    background-color: var(--c-cocoa) !important; 
    color: var(--c-ivory) !important; 
}
.outro .section-number, .outro .section-title, .outro .subtitle, .outro h4, .outro p {
    color: var(--c-ivory) !important;
}
.outro .step-num {
    color: var(--c-ivory);
    border-color: rgba(242, 232, 225, 0.3);
}
.outro .shadow-overlay {
    opacity: 0.3; /* Boosted for dark bg visibility */
    mix-blend-mode: overlay; /* Unify with the rest of the project */
}

/* BUSINESS CARDS / STATIONERY SECTION */
.slide-stationery { 
    background-color: var(--c-cocoa); 
    color: var(--c-ivory);
}
.cards-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    height: 70vh;
    margin-top: 2rem;
}
.card-item {
    width: 45%;
    max-width: 500px;
    aspect-ratio: 2036 / 1162;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-item:hover {
    transform: scale(1.05) rotate(1deg);
    z-index: 10;
}
.card-item:nth-child(2) {
    margin-left: 15%;
    margin-top: -8%;
    transform: rotate(-2deg);
}

@media (max-width: 768px) {
    .card-item { width: 90%; }
    .card-item:nth-child(2) { margin-left: 0; margin-top: 1rem; }
}
