/* ============================================
   PEVERMEI - Portfolio Website
   Video Editor & Motion Designer
   ============================================ */

/* ---------- Font Face - Greycliff CF ---------- */
@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-regularoblique.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-demibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-boldoblique.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-extralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greycliff CF';
    src: url('../fonts/greycliff/greycliffcf-thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-red: #DB2531;
    --color-red-alt: #DA2628;
    --color-dark: #272623;
    --color-beige: #C1BDA4;
    --color-cream: #F1EDD4;
    --color-white: #FFFFFF;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Greycliff CF', 'Montserrat', sans-serif;

    --header-height: 85px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 60px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: auto;
}

body {
    font-family: var(--font-body);
    background: var(--color-cream);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- Header ---------- */
.header {
    background: transparent;
    padding: 20px var(--spacing-xl);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

.header__logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header__logo-img {
    height: 80px;
    width: auto;
    margin: -15px 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__logo:hover .header__logo-img {
    transform: scale(1.05);
}

.header__divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--color-cream), transparent);
    opacity: 0.4;
}

.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-red);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 30px;
}

.nav__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-cream);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-width: 16px;
}

.nav__text {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--color-cream);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__link:hover {
    border-color: rgba(241, 237, 212, 0.3);
    background: rgba(241, 237, 212, 0.1);
}

.nav__link:hover .nav__number {
    opacity: 1;
    color: var(--color-red);
}

.nav__link:hover .nav__text {
    font-style: italic;
}

.nav__link.is-active {
    background: var(--color-red);
    border-color: var(--color-red);
}

.nav__link.is-active .nav__number {
    opacity: 1;
    color: var(--color-cream);
}

.nav__link.is-active .nav__text {
    font-style: italic;
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.nav__toggle.is-active .nav__toggle-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Sections Base ---------- */
.section {
    min-height: 100vh;
    padding-top: var(--header-height);
}

.section.hero {
    overflow: visible !important;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
    background: var(--color-dark);
}

.hero__video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--color-dark);
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__lettering {
    max-width: 95%;
    width: auto;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
}

/* Dots Pattern */
.dots-pattern {
    position: absolute;
    top: 120px;
    right: 80px;
    z-index: 1;
    opacity: 0.5;
}

.dots-pattern__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.dots-pattern__dot {
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow__icon {
    width: 40px;
    height: 40px;
    stroke: var(--color-white);
    stroke-width: 1.5;
    fill: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

/* Hero CTA */
.hero__cta {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: transparent;
    border: 2px solid var(--color-cream);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-red);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.hero__cta:hover::before {
    width: 100%;
}

.hero__cta:hover {
    border-color: var(--color-red);
    transform: translateX(-50%) scale(1.05);
}

.hero__cta-text {
    position: relative;
    z-index: 1;
}

.hero__cta-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero__cta:hover .hero__cta-icon {
    transform: translateX(5px);
}

/* Hero CTA Animation */
.hero__cta {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    animation: heroCTAReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

@keyframes heroCTAReveal {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ---------- Portfolio Intro Section ---------- */
.portfolio-intro {
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.portfolio-intro__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.portfolio-intro__deco-line {
    position: absolute;
    top: 15%;
    left: 5%;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red), transparent);
    opacity: 0.5;
}

.portfolio-intro__deco-circle {
    position: absolute;
    bottom: 20%;
    right: 8%;
    width: 120px;
    height: 120px;
    border: 1px solid var(--color-red);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulseCircle 4s ease-in-out infinite;
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

.portfolio-intro__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

/* Header */
.portfolio-intro__header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.portfolio-intro__header-text {
    flex: 1;
    min-width: 300px;
}

.portfolio-intro__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-red);
    display: block;
    margin-bottom: 15px;
}

.portfolio-intro__title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portfolio-intro__title-pt {
    font-size: clamp(50px, 8vw, 100px);
    color: var(--color-cream);
    font-style: italic;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 0.9;
}

.portfolio-intro__title-en {
    font-size: clamp(30px, 5vw, 60px);
    color: var(--color-red);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    margin-left: 5px;
}

.portfolio-intro__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--color-cream);
    max-width: 280px;
    line-height: 1.6;
    text-align: right;
}

.portfolio-intro__subtitle span {
    display: block;
    font-style: italic;
    color: var(--color-beige);
    opacity: 0.6;
    font-size: 12px;
    margin-top: 8px;
}

/* List */
.portfolio-intro__list {
    display: flex;
    flex-direction: column;
}

.portfolio-intro__item {
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    gap: 30px;
}

.portfolio-intro__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-beige);
    opacity: 0.4;
    min-width: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.portfolio-intro__number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 0;
    height: 1px;
    background: var(--color-red);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-intro__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfolio-intro__name {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 80px);
    color: var(--color-cream);
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.portfolio-intro__desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
    opacity: 0;
}

.portfolio-intro__desc-pt {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-cream);
    opacity: 0.8;
    margin: 0;
    line-height: 1.5;
}

.portfolio-intro__desc-en {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-beige);
    opacity: 0.5;
    font-style: italic;
    margin: 5px 0 0 0;
    line-height: 1.4;
}

.portfolio-intro__arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-intro__arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-red);
}

.portfolio-intro__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-beige);
    opacity: 0.15;
}

.portfolio-intro__line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Effects */
.portfolio-intro__item:hover .portfolio-intro__number {
    color: var(--color-red);
    opacity: 1;
}

.portfolio-intro__item:hover .portfolio-intro__number::after {
    width: 20px;
}

.portfolio-intro__item:hover .portfolio-intro__name {
    color: var(--color-red);
    font-style: italic;
    transform: translateX(10px);
}

.portfolio-intro__item:hover .portfolio-intro__desc {
    max-height: 80px;
    opacity: 1;
}

.portfolio-intro__item:hover .portfolio-intro__arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
    border-color: var(--color-red);
    background: rgba(219, 37, 49, 0.1);
}

.portfolio-intro__item:hover .portfolio-intro__line::after {
    width: 100%;
}

/* Footer */
.portfolio-intro__footer {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.portfolio-intro__footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-beige);
    opacity: 0.5;
    white-space: nowrap;
}

.portfolio-intro__footer-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-beige), transparent);
    opacity: 0.2;
}

/* Stagger animation on scroll */
.portfolio-intro__item {
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-intro__item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Portfolio Section ---------- */
.portfolio {
    background: var(--color-cream);
    padding: 100px var(--spacing-xl);
    padding-left: 120px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    min-height: 100vh;
}

/* Portfolio Header */
.portfolio__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(39, 38, 35, 0.1);
}

.portfolio__header-left {
    flex: 1;
    min-width: 300px;
}

.portfolio__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-red);
    display: block;
    margin-bottom: 15px;
}

.portfolio__title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portfolio__title-pt {
    font-size: clamp(50px, 8vw, 100px);
    color: var(--color-dark);
    font-style: italic;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 0.9;
}

.portfolio__title-en {
    font-size: clamp(30px, 5vw, 60px);
    color: var(--color-red);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    margin-left: 5px;
}

.portfolio__header-right {
    display: flex;
    align-items: flex-end;
}

.portfolio__counter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.portfolio__counter-number {
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--color-dark);
    font-style: italic;
    line-height: 0.8;
    opacity: 0.2;
}

.portfolio__counter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-beige);
}

/* Portfolio Content Layout */
.portfolio__content {
    display: flex;
    gap: 60px;
}

.portfolio__sidebar {
    min-width: 280px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.portfolio__sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.portfolio__filter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-beige);
    display: block;
}

.portfolio__filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfolio__filter-item {
    font-family: var(--font-display);
    font-size: 26px;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--color-dark);
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.portfolio__filter-name {
    display: inline-block;
    transition: transform 0.2s ease;
}

.portfolio__filter-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-beige);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.portfolio__filter-item:hover,
.portfolio__filter-item.is-active {
    color: var(--color-red);
}

.portfolio__filter-item:hover .portfolio__filter-name,
.portfolio__filter-item.is-active .portfolio__filter-name {
    transform: translateX(10px) skewX(-8deg);
}

.portfolio__filter-item:hover .portfolio__filter-count,
.portfolio__filter-item.is-active .portfolio__filter-count {
    color: var(--color-red);
    opacity: 1;
}

.portfolio__filter-item.is-active {
    border-bottom-color: var(--color-red);
}

/* Sidebar Decoration */
.portfolio__sidebar-deco {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(39, 38, 35, 0.1);
}

.portfolio__sidebar-line {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), transparent);
}

.portfolio__grid {
    flex: 1;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Custom Scrollbar */
.portfolio__grid::-webkit-scrollbar {
    width: 4px;
}

.portfolio__grid::-webkit-scrollbar-track {
    background: var(--color-beige);
}

.portfolio__grid::-webkit-scrollbar-thumb {
    background: var(--color-dark);
    border-radius: 2px;
}

/* Video Card */
.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.video-card:hover {
    transform: scale(1.01);
}

.video-card__media {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--color-dark);
    display: block;
}

/* Vertical Videos Group - 3 columns */
.video-cards-vertical-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-card--vertical {
    max-width: 100%;
}

.video-card--vertical .video-card__media {
    aspect-ratio: 9/16;
}

/* Square Video Card */
.video-card--square {
    max-width: 500px;
    align-self: center;
}

.video-card--square .video-card__media {
    aspect-ratio: 1/1;
}

.video-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        transparent 100%
    );
    padding: 80px 30px 25px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.video-card__title {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--color-cream);
    font-style: italic;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(10px);
    opacity: 0.9;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
}

.video-card:hover .video-card__title {
    transform: translateY(0);
    opacity: 1;
}

/* Category tag */
.video-card__category {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-red);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
                opacity 0.4s ease 0.05s;
}

.video-card:hover .video-card__category {
    opacity: 1;
    transform: translateY(0);
}

/* Video controls styling */
.video-card video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

/* ---------- About Section ---------- */
.about {
    background: var(--color-dark);
    padding: 120px var(--spacing-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about__container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.about__header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.about__title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about__title-pt {
    font-size: clamp(60px, 10vw, 120px);
    color: var(--color-cream);
    font-style: italic;
    font-weight: bold;
    line-height: 0.9;
}

.about__title-en {
    font-size: clamp(40px, 6vw, 80px);
    color: var(--color-red);
    font-weight: 400;
    line-height: 1;
    margin-left: 10px;
}

.about__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--color-beige);
    text-transform: uppercase;
    max-width: 200px;
    text-align: right;
    line-height: 1.6;
}

.about__content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.about__photo {
    position: relative;
}

.about__photo::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--color-red);
    z-index: 0;
}

.about__photo-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.about__photo:hover .about__photo-img {
    filter: grayscale(0%);
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about__intro {
    margin-bottom: 40px;
}

.about__intro-text {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    color: var(--color-cream);
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 10px;
}

.about__intro-text span {
    color: var(--color-red);
}

.about__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.about__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__paragraph {
    line-height: 1.8;
    color: var(--color-cream);
    font-size: 14px;
    opacity: 0.9;
}

.about__paragraph--english {
    color: var(--color-beige);
    opacity: 0.6;
    font-size: 13px;
    font-style: italic;
}

.about__paragraph strong {
    font-weight: 700;
    color: var(--color-cream);
}

.about__stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(193, 189, 164, 0.2);
    margin-bottom: 40px;
}

.about__stat {
    display: flex;
    flex-direction: column;
}

.about__stat-number {
    font-family: var(--font-display);
    font-size: 50px;
    color: var(--color-red);
    font-style: italic;
    line-height: 1;
}

.about__stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-beige);
    text-transform: uppercase;
    margin-top: 8px;
}

/* Button */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--color-red);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-red-alt);
    transform: translateY(-2px);
}

/* ---------- Contact Section ---------- */
.contact {
    background: var(--color-dark);
    padding: 80px var(--spacing-xl);
    min-height: auto;
}

.contact__container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact__title {
    font-family: var(--font-display);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 50px;
}

.contact__title-pt {
    font-size: clamp(40px, 6vw, 70px);
    color: var(--color-cream);
    font-weight: bold;
    font-style: italic;
    line-height: 1;
}

.contact__title-en {
    font-size: clamp(24px, 4vw, 45px);
    color: var(--color-red);
    font-weight: 400;
    line-height: 1;
}

.contact__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.contact__cta {
    text-align: left;
}

.contact__cta-line {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 40px);
    color: var(--color-red);
    font-style: italic;
    line-height: 1.2;
    display: block;
}

.contact__cta-line--bold {
    font-weight: bold;
    font-size: clamp(28px, 4vw, 48px);
}

.contact__divider {
    width: 2px;
    height: 120px;
    background: var(--color-red);
    opacity: 0.5;
}

.contact__info {
    text-align: left;
}

.contact__intro {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-cream);
    margin-bottom: 5px;
}

.contact__brand {
    color: var(--color-red);
    font-weight: 700;
}

.contact__intro-en {
    font-size: 13px;
    font-style: italic;
    color: var(--color-beige);
    margin-bottom: 25px;
}

.contact__details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact__link {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-cream);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.contact__link:hover {
    color: var(--color-red);
}

/* ---------- Animations & Effects 2025 - Advanced ---------- */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--color-red), var(--color-cream));
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--color-red), 0 0 20px rgba(219, 37, 49, 0.5);
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal__char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    transform-origin: center bottom;
    animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.text-reveal.is-animated .text-reveal__char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

@keyframes charReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) rotateX(-80deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Morphing Shapes */
.morphing-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.morphing-shape {
    position: absolute;
    width: var(--size);
    height: var(--size);
    left: var(--x);
    top: var(--y);
    background: radial-gradient(circle, rgba(219, 37, 49, 0.15) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphFloat 8s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: blur(20px);
}

@keyframes morphFloat {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: translate(20px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: translate(-10px, 20px) rotate(180deg) scale(0.95);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: translate(15px, 10px) rotate(270deg) scale(1.05);
    }
}

/* Stagger Reveal Classes */
.reveal-fade-up {
    animation: revealFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-scale {
    animation: revealScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* About Photo Scroll Effect */
.about__photo-img {
    transition: transform 0.1s ease-out, filter 0.3s ease;
    will-change: transform, filter;
}

/* Contact CTA 3D Effect */
.contact__cta {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* 3D Tilt on About Photo */
.about__photo {
    transform-style: preserve-3d;
    will-change: transform;
}


/* Premium Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -25px;
    border-radius: 50%;
    border: 1px solid rgba(219, 37, 49, 0.5);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease;
    mix-blend-mode: difference;
    backdrop-filter: blur(1px);
}

.cursor__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    margin-top: -4px;
    background: var(--color-red);
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.3s ease,
                height 0.3s ease,
                margin 0.3s ease,
                opacity 0.3s ease;
}

.cursor__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--color-cream);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.cursor.is-hovering {
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
    border-color: var(--color-cream);
    background: rgba(219, 37, 49, 0.1);
}

.cursor.is-hovering .cursor__inner {
    opacity: 0;
    transform: scale(0);
}

.cursor.has-text {
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    background: var(--color-red);
    border-color: var(--color-red);
}

.cursor.has-text .cursor__text {
    opacity: 1;
}

/* Hide cursor on touch/mobile */
@media (hover: none), (max-width: 768px) {
    .cursor {
        display: none !important;
    }
}

/* Page Loading */
body.is-loading {
    overflow: hidden;
    cursor: wait;
}

body.is-loading::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    z-index: 10000;
    transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    clip-path: inset(0 0 0 0);
}

body.is-loaded::before {
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
}

/* Hero Animation */
.hero__content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Portfolio Intro - Staggered Reveal */
.portfolio-intro__category {
    opacity: 0;
    transform: translateY(100%) rotateX(-15deg);
    transform-origin: center bottom;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s ease;
}

.portfolio-intro__category.is-visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Header Effects */
.header {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.4s ease,
                box-shadow 0.4s ease,
                backdrop-filter 0.4s ease,
                padding 0.4s ease;
    will-change: transform;
}

.header.is-scrolled {
    background: rgba(39, 38, 35, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding-top: 12px;
    padding-bottom: 12px;
}

.header.is-scrolled .header__logo-img {
    height: 60px;
}

.header.is-scrolled .header__divider {
    height: 30px;
}

.header.is-hidden {
    transform: translateY(-100%);
}

/* Dots Animation */
.dots-pattern__dot {
    animation: dotWave 2s infinite ease-in-out;
    animation-fill-mode: both;
}

@keyframes dotWave {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Video Card - Premium Hover */
.video-card {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.video-card.is-playing {
    transform: translateY(-5px) scale(1.01);
}

.video-card__overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover .video-card__overlay {
    opacity: 1;
}

/* Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                box-shadow 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(219, 37, 49, 0.4);
}

/* Nav Link Hover Glow Effect */
.nav__link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: radial-gradient(circle at center, rgba(219, 37, 49, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav__link:hover::after {
    opacity: 1;
}

.nav__link.is-active::after {
    opacity: 0;
}

/* Filter Item Effect */
.portfolio__filter-item {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.portfolio__filter-item:hover {
    transform: translateX(10px);
}

/* Contact CTA - Staggered Hover */
.contact__cta-line {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact__cta:hover .contact__cta-line:first-child {
    transform: translateX(15px);
}

.contact__cta:hover .contact__cta-line:last-child {
    transform: translateX(30px);
    transition-delay: 0.05s;
}

/* Utility Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* ---------- Section Divider ---------- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    background: var(--color-cream);
}

.section-divider__line {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-dark), transparent);
    opacity: 0.2;
}

.section-divider__dot {
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
}

.section-divider--dark {
    background: var(--color-dark);
}

.section-divider--dark .section-divider__line {
    background: linear-gradient(90deg, transparent, var(--color-cream), transparent);
}

/* ---------- Clients Section ---------- */
.clients {
    background: var(--color-dark);
    padding: 60px 0;
    min-height: auto;
    overflow: hidden;
    position: relative;
}

.clients__container {
    text-align: center;
}

.clients__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--color-cream);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.clients__marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.clients__marquee::before,
.clients__marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients__marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-dark), transparent);
}

.clients__marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-dark), transparent);
}

.clients__track {
    display: flex;
    gap: 0;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.clients__marquee:hover .clients__track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.clients__item {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 70px);
    color: var(--color-cream);
    white-space: nowrap;
    padding: 0 20px;
    transition: color 0.3s ease;
    font-style: italic;
}

.clients__item:hover {
    color: var(--color-red);
}

.clients__divider {
    font-size: clamp(30px, 4vw, 50px);
    color: var(--color-red);
    padding: 0 20px;
    opacity: 0.5;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-dark);
    padding: 80px var(--spacing-xl) 40px;
    position: relative;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer__brand {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer__tagline {
    font-size: 14px;
    color: var(--color-beige);
    font-style: italic;
    letter-spacing: 1px;
}

.footer__social {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.footer__social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__social-link svg {
    width: 22px;
    height: 22px;
}

.footer__social-link:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(219, 37, 49, 0.3);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(193, 189, 164, 0.2);
    width: 100%;
}

.footer__copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: var(--color-beige);
    opacity: 0.7;
    margin-bottom: 5px;
}

.footer__credits {
    font-size: 11px;
    color: var(--color-beige);
    opacity: 0.5;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-red);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(219, 37, 49, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-red-alt);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(219, 37, 49, 0.4);
}

/* ---------- Loading Screen ---------- */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-screen__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-screen__logo {
    width: 150px;
    height: auto;
    margin-bottom: 40px;
    animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-screen__bar {
    width: 200px;
    height: 3px;
    background: rgba(193, 189, 164, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.loading-screen__progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-red), var(--color-cream));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .header {
        padding: 15px 30px;
        gap: 25px;
    }

    .header__divider {
        height: 30px;
    }

    .nav__list {
        gap: 5px;
    }

    .nav__link {
        padding: 10px 15px;
    }

    .nav__text {
        font-size: 13px;
    }

    .nav__number {
        font-size: 9px;
    }

    .dots-pattern {
        right: 30px;
        top: 100px;
    }

    .portfolio-intro {
        padding: 80px 0;
    }

    .portfolio-intro__container {
        padding: 0 40px;
    }

    .portfolio-intro__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 60px;
    }

    .portfolio-intro__subtitle {
        text-align: left;
        max-width: 100%;
    }

    .portfolio-intro__deco-circle {
        width: 80px;
        height: 80px;
        right: 5%;
    }

    .portfolio {
        flex-direction: column;
        padding: 80px 30px;
        padding-left: 60px;
    }

    .portfolio__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio__counter-number {
        font-size: 60px;
    }

    .portfolio__content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio__sidebar {
        position: relative;
        top: 0;
        min-width: 100%;
    }

    .portfolio__filter-item {
        font-size: 22px;
    }

    .portfolio__grid {
        max-height: none;
    }

    .video-cards-vertical-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        padding: 80px 30px;
    }

    .about__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about__subtitle {
        text-align: left;
        max-width: 100%;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about__photo {
        max-width: 400px;
    }

    .about__body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about__stats {
        gap: 40px;
    }

    .contact {
        padding: 60px 40px;
    }

    .contact__main {
        flex-direction: column;
        gap: 30px;
    }

    .contact__cta,
    .contact__info {
        text-align: center;
    }

    .contact__divider {
        width: 80px;
        height: 2px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        gap: 0;
    }

    .header__logo-img {
        height: 55px;
    }

    .header__divider {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--color-dark) 0%, rgba(39, 38, 35, 0.98) 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 20%, rgba(219, 37, 49, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(219, 37, 49, 0.1) 0%, transparent 40%);
        pointer-events: none;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .nav__link {
        flex-direction: column;
        gap: 5px;
        padding: 20px 40px;
        border-radius: 0;
        background: transparent;
        border: none;
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav__link::after {
        display: none;
    }

    .nav__number {
        font-size: 12px;
        opacity: 0.5;
        letter-spacing: 3px;
    }

    .nav__text {
        font-family: var(--font-display);
        font-size: 50px;
        font-style: italic;
        letter-spacing: 4px;
    }

    .nav__link:hover,
    .nav__link.is-active {
        background: transparent;
        border: none;
    }

    .nav__link:hover .nav__text,
    .nav__link.is-active .nav__text {
        color: var(--color-red);
    }

    .nav__link:hover .nav__number,
    .nav__link.is-active .nav__number {
        color: var(--color-red);
        opacity: 1;
    }

    .nav.is-open .nav__link {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .nav.is-open li:nth-child(1) .nav__link { transition-delay: 0.1s; }
    .nav.is-open li:nth-child(2) .nav__link { transition-delay: 0.18s; }
    .nav.is-open li:nth-child(3) .nav__link { transition-delay: 0.26s; }
    .nav.is-open li:nth-child(4) .nav__link { transition-delay: 0.34s; }

    .nav__toggle {
        display: flex;
    }

    .section {
        padding: 70px 20px !important;
    }

    .portfolio-intro {
        padding: 60px 0 !important;
    }

    .portfolio-intro__container {
        padding: 0 20px;
    }

    .portfolio-intro__decoration {
        display: none;
    }

    .portfolio-intro__header {
        margin-bottom: 40px;
    }

    .portfolio-intro__subtitle {
        font-size: 13px;
    }

    .portfolio-intro__subtitle span {
        font-size: 11px;
    }

    .portfolio-intro__item {
        padding: 25px 0;
        gap: 15px;
    }

    .portfolio-intro__number {
        min-width: 30px;
        font-size: 11px;
    }

    .portfolio-intro__name {
        font-size: clamp(24px, 6vw, 40px);
    }

    .portfolio-intro__desc-pt {
        font-size: 11px;
    }

    .portfolio-intro__desc-en {
        font-size: 10px;
    }

    .portfolio-intro__arrow {
        width: 35px;
        height: 35px;
    }

    .portfolio-intro__arrow svg {
        width: 14px;
        height: 14px;
    }

    .portfolio-intro__footer {
        margin-top: 40px;
        flex-direction: column;
        gap: 10px;
    }

    .portfolio-intro__footer-text {
        font-size: 9px;
    }

    .portfolio {
        padding-left: 20px !important;
    }

    .portfolio__header {
        padding-bottom: 25px;
    }

    .portfolio__header-left {
        min-width: 100%;
    }

    .portfolio__counter-number {
        font-size: 50px;
    }

    .portfolio__filter-label {
        font-size: 9px;
    }

    .portfolio__filter-item {
        font-size: 20px;
        padding: 6px 0;
    }

    .portfolio__filter-count {
        font-size: 10px;
    }

    .portfolio__sidebar-deco {
        display: none;
    }

    .video-cards-vertical-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact {
        padding: 50px 20px;
    }

    .contact__title {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 35px;
    }

    .contact__intro {
        font-size: 16px;
    }

    .contact__link {
        font-size: 14px;
    }

    .dots-pattern {
        display: none;
    }

    .hero__title-outline {
        font-size: 8vw;
        letter-spacing: 1px;
        -webkit-text-stroke: 1px var(--color-cream);
    }

    .hero__title-meu {
        font-size: 6vw;
        letter-spacing: 0px;
    }

    .hero__title-trabalho {
        font-size: 9vw;
        letter-spacing: 0px;
    }

    .portfolio-intro__container {
        padding: 0 20px;
    }

    .portfolio-intro__name {
        font-size: clamp(28px, 8vw, 50px);
    }

    .portfolio-intro__number {
        min-width: 35px;
        font-size: 12px;
    }

    .portfolio-intro__item {
        padding: 25px 0;
    }

    .portfolio-intro__arrow {
        font-size: 20px;
    }

    .video-card__title {
        font-size: 18px;
        transform: translateY(0);
        opacity: 1;
    }

    .video-card__category {
        opacity: 1;
        transform: translateY(0);
        font-size: 10px;
    }

    .video-card__overlay {
        bottom: 0;
        padding: 50px 15px 15px;
    }

    /* Hero CTA Mobile */
    .hero__cta {
        bottom: 100px;
        padding: 14px 25px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 20px 30px;
    }

    .footer__logo {
        height: 60px;
    }

    .footer__social {
        gap: 15px;
    }

    .footer__social-link {
        width: 45px;
        height: 45px;
    }

    .footer__social-link svg {
        width: 18px;
        height: 18px;
    }

    /* Back to top mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Clients mobile */
    .clients {
        padding: 50px 0;
    }

    .clients__item {
        font-size: clamp(30px, 8vw, 50px);
        padding: 0 15px;
    }

    .clients__divider {
        font-size: clamp(20px, 5vw, 35px);
        padding: 0 10px;
    }

    /* About mobile */
    .about {
        padding: 80px 20px;
    }

    .about__header {
        margin-bottom: 50px;
    }

    .about__photo::before {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }

    .about__photo-img {
        height: 400px;
    }

    .about__intro-text {
        font-size: 24px;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .about__stat-number {
        font-size: 40px;
    }
}
