:root {
    --primary-font: 'Playfair Display', serif;
    --body-font: 'Jost', sans-serif;

    --color-text: #342f2e;
    /* Apple's dark text */
    --color-text-light: #86868b;
    /* Apple's secondary text */
    --color-bg: #fffdf4;
    /* Apple's off-white background */
    --color-accent: #b7582c;
    --color-border: rgba(52, 47, 46, 0.08);
    --glass-bg: rgba(255, 253, 244, 0.6);
    --glass-border: rgba(255, 253, 244, 0.8);

    --container-width: 1400px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6e3325;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--color-text);
    background-image: url('background.webp');
    background-repeat: repeat;
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Texture Overlay */
.texture-overlay {
    display: none;
}

p, h1, h2, h3, h4, h5, h6 {
    text-wrap: pretty;
}

h1, h2, h3 {
    text-wrap: balance;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(3rem, 7.5vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    font-family: var(--body-font);
    font-size: calc(1.1rem + 2px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    text-wrap: pretty;
}

.text-center p,
.text-center .work-intro,
.text-center .find-me-text {
    margin-left: auto;
    margin-right: auto;
}

h2.section-heading {
    margin-bottom: 3.5rem;
    color: var(--color-text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

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

/* Section Common */
section {
    padding: 1.2rem 0;
    /* Reduced vertical spacing */
    position: relative;
    z-index: 1;
    scroll-margin-top: 160px; /* offset for fixed header to prevent cropping */
}

/* Glassmorphism Utilities (Apple Heavy Style) */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(52, 47, 46, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(52, 47, 46, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(52, 47, 46, 0.05);
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 99px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 1px solid var(--color-text);
}

.btn-primary:hover {
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(183, 88, 44, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-outline:hover {
    color: var(--color-bg);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(183, 88, 44, 0.3);
}

/* Apple-style Reveal Utility Classes */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
    /* Slightly more space for elegance */
    padding-bottom: 0.1em;
    /* Prevent clipping of descenders */
}

.word-inner {
    display: inline-block;
    /* Removed CSS transition to let GSAP handle it fully without conflict */
}

/* Base opacity for scroll-linked words */
.scroll-highlight-section .word-inner {
    opacity: 0.15;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: var(--container-width);
    z-index: 1000;
    background: #fffdf4; /* solid off-white */
    border: 1px solid rgba(52, 47, 46, 0.1);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(52, 47, 46, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.nav-container {
    padding: 0.8rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-logo {
    font-family: var(--primary-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    justify-self: start;
}

.nav-logo-img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    border: 1.5px solid rgba(52, 47, 46, 0.2); /* Elegant circular border to highlight icon */
    padding: 6px;
    object-fit: contain;
    background: #fffdf4; /* Match background */
    display: block;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(183, 88, 44, 0.15);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    white-space: nowrap;
    justify-self: center;
}

.nav-item {
    font-family: var(--body-font);
    font-size: calc(0.8rem + 2px);
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(52, 47, 46, 0.7);
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--color-accent);
    /* Terracotta text highlight */
    background: transparent;
}

.nav-cta {
    padding: 0.8rem 2.2rem;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: 0.05em;
    justify-self: end;
}

.nav-cta:hover {
    color: #fffdf4;
    border-color: var(--color-accent);
}

/* --- Hamburger Menu Button --- */
.hamburger-btn {
    display: none; /* hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1010; /* above overlay */
    position: relative;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
    background-color: rgba(52, 47, 46, 0.05);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    border-radius: 2px;
}

/* Hamburger transition to X */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    height: auto;
    width: 100%;
    max-width: 500px;
    padding: 4rem 2rem;
    box-sizing: border-box;
    gap: 2.5rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-top: 1.5rem;
}

.mobile-menu-item {
    font-family: var(--primary-font);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-item:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

.mobile-menu-cta {
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.8rem 2.2rem;
    width: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-socials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
    margin-top: 0.5rem;
}

.mobile-menu-overlay.active .mobile-menu-socials {
    opacity: 1;
    transform: translateY(0);
}

.mobile-social-link {
    color: var(--color-text);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-social-link:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.mobile-social-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Premium Tags for Cards --- */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.card-tag {
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    background: rgba(52, 47, 46,0.03);
    border: 1px solid rgba(52, 47, 46,0.05);
    border-radius: 50px;
    color: rgba(52, 47, 46,0.7);
}

.card-eyebrow {
    font-family: var(--body-font);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

/* --- Section 1: Hero Banner --- */
.hero {
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

.hero-banner-container {
    position: relative;
    width: 100%;
}

.hero-banner-container picture {
    display: block;
    width: 100%;
}

.hero-pc-banner {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-banner-content {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.btn.hero-banner-btn {
    background-color: #fffdf4;
    color: #342f2e;
    border: 1px solid #fffdf4;
    box-shadow: 0 10px 30px rgba(52, 47, 46, 0.2);
}

.btn.hero-banner-btn:hover {
    color: #fffdf4;
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(183, 88, 44, 0.3);
}

.hero-left-content {
    max-width: 650px;
}

.hero-tags-top {
    font-family: var(--body-font);
    font-size: clamp(0.65rem, 0.85vw, 0.85rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    /* Reduced from 3.5rem */
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.hero-name-aka {
    font-family: var(--primary-font);
    font-size: 1.8rem;
    /* Slightly smaller from 2.2rem */
    color: #fff;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}

.hero-name-aka .aka {
    font-family: var(--body-font);
    font-size: 1.8rem;
    font-weight: 300;
    font-style: normal;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(3rem, 7.5vw, 7.5rem);
    /* Reduced slightly from 8.5rem */
    font-weight: 500;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    /* Reduced from 2.5rem */
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
}

.hero-quote-box {
    margin-bottom: 2.5rem;
    /* Reduced from 4rem */
}

.hero-quote {
    font-family: var(--primary-font);
    font-size: 1.4rem;
    /* Slightly smaller from 1.8rem */
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    letter-spacing: 0;
}

.hero-cta-container {
    display: flex;
    gap: 1.5rem;
}

.hero-right {
    flex: 1.2;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3rem;
}

.hero-placeholder {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--body-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
}

.hero-social-box {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: #f5f5f7;
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text);
    font-weight: 600;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(52, 47, 46, 0.1);
}

/* --- Section 2: Stats --- */
.stats {
    padding: 1rem 0 2.5rem;
}

.stats-glass {
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* Reduced gap since 4 items */
    text-align: center;
}

.stat-item {
    flex: 1;
    max-width: 250px;
}

.stat-number {
    font-size: 4rem;
    color: var(--color-text);
    /* Apple prefers dark text for numbers often */
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    letter-spacing: -0.05em;
}

.stat-unit {
    font-size: 2rem;
    font-weight: 600;
    margin-left: 2px;
    color: var(--color-text);
}

.stat-text {
    font-size: calc(1.1rem + 2px);
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.4;
}

/* --- Section 2.5: My Brands --- */
.my-brands {
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

.brands-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    overflow: visible;
    padding: 1rem 0.5rem;
}

.brand-item {
    flex: 1 1 0;
    padding: 0.5rem;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.brand-item:hover {
    transform: translateY(-5px) scale(1.08);
}

.brand-logo {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.brand-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.btn-read-more {
    background: none;
    border: none;
    color: var(--color-accent);
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--body-font);
    display: inline-block;
    align-self: flex-start;
}

.btn-read-more:hover {
    color: var(--color-text);
}

.brand-name {
    font-family: var(--primary-font);
    font-size: 1.1rem;
    font-weight: 600;
}



/* --- Section 3: Who I Am --- */
.who-i-am {
    padding: 4.5rem 0 0 0; /* increased top padding to add breathing room */
    background-color: transparent;
    position: relative;
}

.who-stacked {
    display: flex;
    flex-direction: column;
    gap: 0; /* removed gap */
    max-width: 1400px;
    margin: 0 auto;
}

.who-top {
    width: 100%;
}

.who-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.who-card h2.section-heading {
    margin-top: 3.5rem; /* Increase space above Who am I */
    margin-bottom: 1rem !important; /* Decrease space between Who am I and My life in chapters */
}

.who-text-container {
    max-width: 1200px;
    margin: 0 auto;
}

.who-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 300;
    color: var(--color-accent); /* changed to terracotta */
    margin-bottom: 2rem;
}

.who-title-italic {
    font-family: var(--primary-font);
    font-style: italic;
    color: var(--color-accent);
}

.who-quote-main {
    border-left: none;
    padding-left: 3rem;
    margin-left: -3rem; /* hang the opening quote outside the layout grid */
    margin-bottom: 3rem;
    font-family: var(--primary-font);
    font-size: 2.2rem; /* slightly larger for readability and premium feel */
    font-style: italic;
    color: var(--color-text);
    line-height: 1.5;
    position: relative;
}

.who-quote-main .quote-char-open {
    position: absolute;
    left: 0;
    top: -0.5rem; /* align with the top of the first word */
    font-size: 4.5rem;
    line-height: 1;
    color: var(--color-accent);
    font-family: Georgia, serif;
}

.who-quote-main .quote-char-close {
    font-size: 4.5rem;
    line-height: 0;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 0.5rem;
    color: var(--color-accent);
    font-family: Georgia, serif;
}

.who-quote-main .quote-text-line {
    display: inline;
}

.who-paragraphs {
    font-size: calc(1.1rem + 2px);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem; /* reduced from 4rem */
}

.who-paragraphs p {
    margin-bottom: 1.2rem;
}

.who-paragraphs strong {
    color: var(--color-text);
    font-weight: 600;
}

.who-quote-secondary {
    background: transparent;
    border-left: none;
    padding: 0;
    border-radius: 0;
    text-align: center;
    margin-top: 3.5rem;
}

.who-quote-secondary p {
    font-family: var(--primary-font);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-accent); /* terracotta */
    line-height: 1.6;
    text-align: center;
}

.who-bottom {
    width: 100%;
    position: relative;
    padding-top: 0.5rem; /* reduced from 2rem */
}

.timeline-wrapper {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2.5rem; /* reduced from 4rem */
}

.timeline-line-bg {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(52, 47, 46, 0.1);
}

.timeline-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    background-color: var(--color-accent);
    height: 0%;
    /* Animated via GSAP */
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem; /* reduced from 4rem */
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--color-accent);
    transform: translateX(-4.5px);
    transition: background-color 0.4s ease;
}

.timeline-item.active .timeline-dot {
    background-color: var(--color-accent);
}

.timeline-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-heading {
    font-family: var(--primary-font);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.timeline-content p {
    font-size: calc(0.95rem + 2px);
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.2rem;
}

.timeline-content p:last-child,
.timeline-more-content p:last-child {
    margin-bottom: 0;
}

.beyond-city-card {
    background-color: #2b2b36;
    /* Dark charcoal/blue */
    color: #fff;
    padding: 3rem;
    border-radius: 20px;
}

.beyond-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.beyond-city-card h3 {
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.beyond-city-card p:not(.beyond-eyebrow) {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* --- Section 4: What I Do (Carousel) --- */
.section-heading {
    font-size: 4rem;
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}

.carousel-container {
    width: 100vw;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

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

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 253, 244, 0.95), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 253, 244, 0.95), transparent);
}

.carousel-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    padding: 0 3rem;
}

/* Increased speed: from 40s to 20s */
.fast-track {
    animation: scrollCarousel 20s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

.carousel-card {
    width: 480px;
    padding: 4rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(52, 47, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.carousel-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.carousel-card p {
    color: var(--color-text);
    margin-bottom: 3rem;
    flex-grow: 1;
    font-size: calc(1.15rem + 2px);
}

/* --- Horizontal Scroll (What I Do) --- */
.horizontal-scroll-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 140px; /* fixed height to clear fixed navbar */
    padding-bottom: 2vh;
    box-sizing: border-box;
    background-color: transparent;
}

.horizontal-title-container {
    position: relative;
    top: auto;
    width: 100%;
    text-align: center;
    z-index: 10;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.horizontal-title-container .section-heading {
    margin-bottom: 0;
}

.horizontal-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 100%;
    align-items: center;
    padding: 0 10vw;
    gap: 15vw;
}

.horizontal-card {
    width: 80vw;
    max-width: 1200px;
    max-height: 55vh; /* slightly increased from 52vh to prevent button cut-off */
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    gap: 3rem; /* compressed from 4rem */
    background: #fffdf4; /* warm white off-white background */
    border-radius: 30px; /* compressed from 40px */
    padding: 1.2rem 2.5rem 1rem 2.5rem; /* adjusted padding, compressed vertical space */
    box-shadow: 0 20px 40px rgba(52, 47, 46, 0.04);
    border: 1px solid rgba(52, 47, 46, 0.05);
}

.cinematic-media {
    flex: 0 0 28%; /* reduced from 38% to prevent vertical overflow */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    max-height: 100%;
    background: #f5f5f7;
    border: 4px solid #fff; /* white border around the image/video container */
    box-shadow: 0 10px 25px rgba(52, 47, 46, 0.08);
    align-self: center;
}

/* Layout for multiple reels side-by-side */
.reels-grid {
    display: flex;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
    /* Slight padding to show the background */
    box-sizing: border-box;
}

.reels-grid .cinematic-video {
    flex: 1;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.cinematic-video,
.cinematic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cinematic-text {
    flex: 1;
    max-height: 100%;
    padding: 0 1.5rem 0.2rem 0; /* reduced bottom padding */
    overflow-y: hidden; /* hidden by default, enabled dynamically when expanded */
}

.cinematic-text::-webkit-scrollbar {
    width: 6px;
}
.cinematic-text::-webkit-scrollbar-track {
    background: rgba(52, 47, 46,0.02);
    border-radius: 10px;
}
.cinematic-text::-webkit-scrollbar-thumb {
    background: rgba(183, 88, 44, 0.4);
    border-radius: 10px;
}
.cinematic-text::-webkit-scrollbar-thumb:hover {
    background: rgba(183, 88, 44, 0.8);
}

.cinematic-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.cinematic-text p {
    font-size: calc(0.95rem + 2px);
    color: var(--color-text);
    margin-bottom: 0.3rem; /* reduced further to prevent scrollbar/cutoff */
    line-height: 1.5;
}

.cinematic-text .btn-read-more {
    margin-bottom: 0.5rem; /* reduced space under read more link */
}

/* Compact layout for elements inside What I Do cards */
.cinematic-text .card-tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0.3rem 0 0.6rem 0; /* reduced vertical margins */
    gap: 0.4rem;
}

.cinematic-text .card-tags::-webkit-scrollbar {
    display: none;
}

.cinematic-text .card-tag {
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
    text-transform: none; /* keep casing exactly as written in HTML */
    font-weight: 500;
    background: rgba(52, 47, 46, 0.08); /* low visibility subtle grey */
    border: 1px solid rgba(52, 47, 46, 0.04);
    color: rgba(52, 47, 46, 0.6); /* low visibility */
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 99px;
}

.cinematic-text .btn {
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(52, 47, 46, 0.15);
}

.cinematic-text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(183, 88, 44, 0.3);
}

@media (max-width: 991px) {

    .navbar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .nav-logo {
        display: none !important;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger-btn {
        display: flex !important;
        background: rgba(255, 253, 244, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(52, 47, 46, 0.15) !important;
        box-shadow: 0 4px 15px rgba(52, 47, 46, 0.08) !important;
    }

    .nav-container {
        display: block !important;
        padding: 0 !important;
    }

    .section-heading {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }

    /* On mobile, revert to standard vertical stack */
    .horizontal-scroll-section {
        height: auto;
        display: block;
        padding: 4rem 0;
    }

    .horizontal-title-container {
        position: relative;
        top: 0;
        margin-bottom: 3rem;
    }

    .horizontal-track {
        flex-direction: column;
        width: 100%;
        padding: 0 5vw;
        gap: 4rem;
    }

    .horizontal-card {
        width: 100%;
        max-height: none;
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }

    .cinematic-media {
        width: 100%;
        max-width: none;
        aspect-ratio: 16/9;
        max-height: 220px;
    }

    .cinematic-image,
    .cinematic-media video {
        object-position: center 15%;
    }

    .cinematic-image.content-collab-img {
        object-position: center 70%;
    }

    .cinematic-text {
        padding: 0;
    }

    .work-with-me,
    .blogs-section {
        padding: 4rem 0 2.5rem 0;
    }
}

.hero-pc-banner {
    height: 100vh;
}

/* --- Section 5: Work With Me --- */
.work-with-me {
    padding: 140px 0 2.5rem 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 4rem auto 0;
    text-align: left;
}

.work-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(52, 47, 46, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(183, 88, 44, 0.08);
    border-color: var(--color-accent);
}

.work-card-title {
    font-family: var(--primary-font);
    font-size: 1.65rem; /* increased card heading size */
    margin-bottom: 1.2rem;
    color: var(--color-text);
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
}

.work-card-desc {
    color: var(--color-text);
    font-size: calc(0.95rem + 2px);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    text-align: left;
}

.work-card-desc p {
    margin-bottom: 1.2rem;
}

.work-card-desc p:last-child {
    margin-bottom: 0;
}

.work-btn {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.9rem 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    border-radius: 999px;
}

.work-intro {
    max-width: 950px; /* increased from 800px to fit 'a reason' on one line */
    margin: 0 auto 4rem auto;
    font-size: calc(1.2rem + 2px);
    line-height: 1.6;
    color: var(--color-text);
}

.work-outro {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    font-size: calc(1.15rem + 2px);
    line-height: 1.6;
    color: var(--color-text);
    font-style: italic;
}

.work-card-desc ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.work-card-desc li {
    margin-bottom: 0.5rem;
}

.featured-logos {
    padding: 1.5rem 0 2.5rem 0;
}

.logo-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 20s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.logo-ticker-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.featured-logo {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.4;
    filter: grayscale(1) contrast(0.85) brightness(0.9);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px; /* fixed width for stable marquee layout */
    margin-right: 6rem; /* uniform gap between items */
}

.logo-link:hover .featured-logo {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

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

    100% {
        transform: translateX(-50%); /* perfectly seamless loop reset */
    }
}

/* --- Section 6: Find Me On --- */
.find-me-on {
    padding: 2.5rem 0;
    background-color: var(--color-accent);
}

.find-me-on .section-heading,
.find-me-on .find-me-text {
    color: #fff;
}

.find-me-text {
    font-size: calc(1.5rem + 2px); /* increased subtitle size */
    color: var(--color-text);
    margin-bottom: 4rem;
}

.social-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(52, 47, 46, 0.05);
    box-shadow: 0 10px 20px rgba(52, 47, 46, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 47, 46, 0.05);
    border-color: rgba(52, 47, 46, 0.1);
}

.social-icon {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.social-icon svg {
    width: 28px !important;
    height: 28px !important;
}

.social-username {
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.social-link:hover .social-username {
    color: var(--color-accent); /* hovers to terracotta */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


.card-link {
    font-family: var(--primary-font);
    font-weight: 600;
    font-style: italic;
    font-size: 1.2rem;
    border: 1px solid rgba(52, 47, 46, 0.1);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.5rem;
    text-align: center;
}

.card-link:hover {
    color: var(--color-text);
    border-color: transparent;
    background: var(--color-accent);
    box-shadow: 0 10px 20px rgba(247, 183, 49, 0.2);
}

/* --- Carousels General --- */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0 4rem;
}

.carousel-track {
    display: inline-flex;
    gap: 3rem;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

/* --- Section 7: Reels --- */
.reels-section {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.reels-section .container-fluid {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reels-section .section-heading {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.reels-carousel-container {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.reels-track {
    animation: scrollCarousel 25s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.reels-track:hover {
    animation-play-state: paused;
}

.reel-link {
    display: block;
    width: 220px;
    height: 390px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(52, 47, 46, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
}

.reel-link:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 45px rgba(52, 47, 46, 0.15);
}

.reel-video,
.reel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 47, 46, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reel-link:hover .reel-overlay {
    opacity: 1;
}

/* --- Section 7.5: Gallery --- */
.gallery-section {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.gallery-section .container-fluid {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-section .section-heading {
    margin-bottom: 2rem;
    flex-shrink: 0;
    text-align: center;
}

.gallery-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.8rem 0;
    flex-grow: 0;
}

.gallery-track {
    display: inline-flex;
    gap: 2rem;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.gallery-image {
    width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(52, 47, 46, 0.05);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.track-l2r {
    animation: scrollGalleryL2R 300s linear infinite;
}

.track-r2l {
    animation: scrollGalleryR2L 300s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGalleryL2R {
    0% {
        transform: translateX(calc(-50% - 1rem));
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes scrollGalleryR2L {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* --- Section 8: Blogs --- */
.blogs-section {
    padding: 4.5rem 0 2.5rem 0;
}

.blogs-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4.5rem;
}

/* Enable static side blurs on the wrapper instead of the scrolling container */
.blogs-carousel-wrapper::before,
.blogs-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.blogs-carousel-wrapper::before {
    left: 4.5rem;
    background: linear-gradient(to right, rgba(255, 253, 244, 0.95), transparent);
}

.blogs-carousel-wrapper::after {
    right: 4.5rem;
    background: linear-gradient(to left, rgba(255, 253, 244, 0.95), transparent);
}

@media (max-width: 768px) {
    .blogs-carousel-wrapper::before {
        left: 1rem;
    }
    .blogs-carousel-wrapper::after {
        right: 1rem;
    }
}

.blogs-carousel-container {
    width: 100% !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1.5rem 0 !important;
}

/* Disable scrolling side blurs on the container */
.blogs-carousel-container::before,
.blogs-carousel-container::after {
    content: none !important;
}

.blogs-carousel-container::-webkit-scrollbar {
    display: none;
}

.blogs-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    padding: 0 1rem;
}

.blogs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 1px solid rgba(52, 47, 46, 0.15);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(52, 47, 46, 0.05);
}

.blogs-nav-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fffdf4;
    transform: translateY(-50%) scale(1.05);
}

.blogs-nav-btn.prev-btn {
    left: 1rem;
}

.blogs-nav-btn.next-btn {
    right: 1rem;
}

.blogs-nav-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .blogs-carousel-wrapper {
        padding: 0 1rem;
    }
    .blogs-nav-btn {
        display: none;
    }
}

.blog-card {
    width: 380px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(52, 47, 46, 0.03);
    border: 1px solid rgba(52, 47, 46, 0.03);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.blog-image {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.4rem;
    font-family: var(--primary-font);
    font-style: italic;
    margin-bottom: 0.8rem;
    color: var(--color-text);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: calc(0.95rem + 2px);
    line-height: 1.5;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.blog-date {
    font-family: var(--body-font);
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

/* --- Section 9: Premium Footer --- */
.footer {
    background-color: var(--color-accent);
    padding: 3rem 4rem; /* reduced vertical padding */
    border-radius: 40px;
    margin: 0 2rem 2rem 2rem;
    color: #fff;
    box-shadow: 0 20px 40px rgba(52, 47, 46, 0.1);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 3rem; /* compressed from 6rem to reduce negative space */
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--primary-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #fff;
}

.footer-logo-img {
    height: 185px; /* bigger logo in footer */
    width: auto;
    display: block;
    margin-top: -35px; /* offset top transparent padding */
    margin-bottom: -25px; /* offset bottom transparent padding */
    filter: brightness(0) invert(1); /* make logo white on terracotta */
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-nav-grid {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
}

.footer-col {
    border-top: 1.5px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    min-width: 180px;
}

.footer-col h4 {
    font-family: var(--body-font);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem; /* reduced from 3rem */
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.legal-links a:hover {
    color: #fff;
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 20px rgba(52, 47, 46, 0.1);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: var(--color-text);
    color: var(--color-bg);
    box-shadow: 0 15px 30px rgba(52, 47, 46, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .social-grid {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .social-link {
        flex: 1 1 calc(50% - 1.5rem);
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
    }

    .nav-container {
        padding: 0.8rem 1.2rem;
    }

    .navbar {
        width: 95%;
    }

    section {
        padding: 1.5rem 0;
        /* Override generic section padding */
    }

    h2.section-heading {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero-glass-panel {
        padding: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-taxi,
    .hero-image {
        height: 40vh;
        width: auto;
        bottom: 0;
        right: 0;
        opacity: 0.8;
    }

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-split {
        flex-direction: column;
    }

    .hero-left {
        flex: none;
        width: 100%;
        padding: 8rem 2rem 4rem;
    }

    .hero-right {
        flex: none;
        width: 100%;
        min-height: 400px;
        padding: 2rem;
    }

    .brands-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand-item {
        flex: 1 1 40%;
    }

    .blog-card {
        width: 300px;
        padding: 0;
        /* Override any legacy padding */
    }

    .blog-image {
        height: 160px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .who-i-am-glass,
    .stats-glass {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .horizontal-card {
        padding: 2rem;
        border-radius: 20px;
        gap: 2rem;
    }

    .cinematic-text h3 {
        font-size: 1.8rem;
    }

    .reels-section,
    .gallery-section,
    .blogs-section,
    .work-with-me,
    .find-me-on {
        padding: 2rem 0;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    .reel-link {
        width: 220px;
        height: 400px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .footer-nav-grid {
        gap: 2rem;
        flex-direction: column;
    }

    .footer-top {
        gap: 3rem;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
    }

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

    .social-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .social-link {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

/* --- Stickers Specific & Gentle Float --- */
.sticker {
    position: absolute;
    opacity: 0.25; /* increased from 0.12 */
    filter: drop-shadow(0 10px 10px rgba(52, 47, 46,0.1)) sepia(0.2) contrast(1.1);
    z-index: 0;
    pointer-events: none;
    animation: gentle-sway 8s infinite ease-in-out alternate;
}

section {
    position: relative;
}

.sticker-1 { top: 10%; right: 5%; width: 140px; --base-rot: -8deg; transform: rotate(var(--base-rot)); animation-delay: 0s; animation-duration: 7s; }
.sticker-2 { top: 40%; left: 5%; width: 200px; --base-rot: 12deg; transform: rotate(var(--base-rot)); animation-delay: -1.5s; animation-duration: 9s; }
.sticker-3 { bottom: 5%; left: 3%; width: 180px; --base-rot: -5deg; transform: rotate(var(--base-rot)); animation-delay: -3s; animation-duration: 8s; } /* moved to gallery, z-index removed to avoid overlays */
.sticker-4 { top: 20%; left: 5%; width: 160px; --base-rot: 6deg; transform: rotate(var(--base-rot)); animation-delay: -0.5s; animation-duration: 10s; }
.sticker-5 { top: 10%; left: 10%; width: 220px; --base-rot: -3deg; transform: rotate(var(--base-rot)); animation-delay: -2s; animation-duration: 7.5s; }
.sticker-6 { bottom: 10%; right: 5%; width: 150px; --base-rot: -12deg; transform: rotate(var(--base-rot)); animation-delay: -4s; animation-duration: 8.5s; }
.sticker-7 { top: 5%; left: 2%; width: 170px; --base-rot: -5deg; transform: rotate(var(--base-rot)); animation-delay: -1s; animation-duration: 9.5s; }
.sticker-8 { top: -40px; left: 10%; width: 190px; --base-rot: -8deg; transform: rotate(var(--base-rot)); animation-delay: -3.5s; animation-duration: 6.5s; } /* Taxi in Stats */
.sticker-9 { top: 15%; right: 4%; width: 130px; --base-rot: 12deg; transform: rotate(var(--base-rot)); animation-delay: -2.5s; animation-duration: 10.5s; } /* Chai in Gallery */
.sticker-10 { bottom: 5%; right: 10%; width: 150px; --base-rot: 8deg; transform: rotate(var(--base-rot)); animation-delay: -5s; animation-duration: 11s; } /* Tram in Blogs */

@keyframes gentle-sway {
    0% {
        transform: translate(0, 0) rotate(var(--base-rot, 0deg));
    }
    50% {
        transform: translate(4px, -6px) rotate(calc(var(--base-rot, 0deg) + 1.5deg));
    }
    100% {
        transform: translate(-3px, 4px) rotate(calc(var(--base-rot, 0deg) - 1deg));
    }
}

/* --- Blog Cards Specific --- */
.blog-card {
    width: 750px;
    padding: 0;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(52, 47, 46,0.03);
    border: 1px solid rgba(52, 47, 46,0.04);
}

.blog-image {
    flex: 0 0 320px;
    align-self: stretch;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.blog-card .blog-title {
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
    font-family: var(--primary-font);
    font-weight: 600;
}

.blog-card .blog-excerpt {
    font-size: calc(1rem + 2px) !important;
    margin-bottom: 2rem !important;
    color: var(--color-text);
    line-height: 1.5;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Lightbox Modal --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* On top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 29, 31, 0.85); /* Apple dark backdrop */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-caption {
    padding: 3rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid rgba(52, 47, 46, 0.05);
}

.lightbox-caption h3 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.lightbox-caption p {
    font-family: var(--body-font);
    font-size: calc(1.15rem + 2px);
    color: var(--color-text);
    line-height: 1.7;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2002;
    outline: none;
    padding: 0;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .lightbox-img {
        max-width: 95vw;
        max-height: 85vh;
        object-fit: contain;
    }
    .lightbox-caption {
        padding: 1.5rem;
    }
    .lightbox-caption h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    .lightbox-caption p {
        font-size: 0.95rem;
    }
    .lightbox-close {
        top: 15px;
        right: 25px;
        font-size: 40px;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 46px;
        height: 46px;
        background: rgba(255, 255, 255, 0.2); /* brighter background for legibility on small screens */
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
    .lightbox-prev svg,
    .lightbox-next svg {
        width: 20px;
        height: 20px;
    }

    /* Mobile brand logo size adjustments */
    .brand-logo {
        max-height: 110px;
    }

    /* Blog Card Overrides for correct vertical layout */
    .blog-card {
        width: 100%;
        max-width: 420px;
        flex-direction: column;
        height: auto;
        margin: 0 auto;
    }

    .blog-image {
        width: 100%;
        flex: none;
        height: 200px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-card .blog-title {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
    }

    .blog-card .blog-excerpt {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Reels Carousel link size adjustments for smaller portrait viewports */
    .reel-link {
        width: 170px;
        height: 300px;
    }

    /* Gallery scroll link size adjustments for compact film-strip visual style */
    .gallery-image {
        width: 200px;
        height: 125px;
    }

    /* Scale background stickers down so they don't block text readability */
    .sticker {
        max-width: 90px !important;
    }
}

/* --- Brands & Stats Redesign --- */
.my-brands-stats {
    padding: 4.5rem 0 1rem 0 !important; /* increased padding-top to add breathing room below hero */
}

.my-brands-card {
    background-color: #fffdf4; /* warm cream/off-white */
    border-radius: 32px;
    padding: 2.2rem 3rem; /* compressed padding */
    box-shadow: 0 15px 45px rgba(52, 47, 46, 0.04);
    border: 1px solid rgba(52, 47, 46, 0.05);
    margin: 0 auto 3.5rem auto; /* increased margin-bottom for spacing */
    max-width: 1200px;
}

.section-heading-brands {
    font-family: var(--primary-font);
    font-size: clamp(2.5rem, 5vh, 3.5rem); /* increased header size */
    color: var(--color-text);
    margin-bottom: 1.5rem; /* compressed margin */
    font-weight: 500;
}

.brands-grid-screenshot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 3.5rem; /* compressed gaps */
}

.brands-grid-screenshot .brand-item {
    flex: 0 0 calc(20% - 2.8rem); /* 5 items in first row */
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
}

.brands-grid-screenshot .brand-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.brands-grid-screenshot .brand-logo {
    max-width: 100%;
    max-height: 140px; /* increased logo size */
    object-fit: contain;
}

.brands-grid-screenshot .brand-logo.brand-unschoolers {
    max-height: 100px; /* size down slightly to balance with other logos */
}

/* Stats Section layout */
.stats-grid-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 3.5rem auto 0 auto; /* increased margin-top for spacing */
    padding: 0 1rem;
}

.stat-item-screenshot {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.stat-item-screenshot:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(52, 47, 46, 0.15); /* vertical divider */
}

.stat-item-screenshot .stat-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: var(--body-font);
}

.stat-item-screenshot .stat-text {
    font-size: calc(1.1rem + 2px);
    color: var(--color-text);
    line-height: 1.4;
    font-weight: 400;
}

@media (max-width: 768px) {
    /* Mobile brand logo size adjustments */
    .brands-grid-screenshot .brand-item {
        flex: 0 0 calc(33.33% - 1rem);
        min-width: 80px;
    }
    
    .my-brands-card {
        padding: 1.5rem 1.2rem;
        border-radius: 24px;
    }
    
    /* Navigation logo mobile height */
    .nav-logo-img {
        height: 50px;
        width: 50px;
        padding: 4px;
    }
    
    /* Footer logo mobile scaling and margin offset adjustment */
    .footer-logo-img {
        height: 90px;
        margin-top: -18px;
        margin-bottom: -22px;
    }
    
    /* Mobile quote layout adjustment */
    .who-quote-main {
        margin-left: 0;
        padding-left: 2rem;
        font-size: 1.6rem;
    }
    
    .who-quote-main .quote-char-open {
        position: absolute;
        left: 0;
        top: -0.3rem;
        font-size: 3rem;
    }

    /* Mobile typography optimization */
    p, .who-paragraphs, .timeline-content p {
        font-size: calc(1rem + 1px);
    }
    
    .work-outro {
        font-size: calc(1.1rem + 1px);
        margin-top: 3rem;
    }
    
    /* Compact card padding for mobile screens */
    .horizontal-card {
        padding: 1.5rem 1.2rem;
        gap: 1.2rem;
    }
    
    /* Blogs mobile scroll snapping */
    .blogs-carousel-container {
        scroll-snap-type: x mandatory;
    }
    
    .blog-card {
        scroll-snap-align: center;
    }
    
    .stats-grid-screenshot {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .stat-item-screenshot {
        padding: 0;
        width: 100%;
    }
    
    .stat-item-screenshot:not(:last-child)::after {
        display: none;
    }
    
    .stat-item-screenshot:not(:last-child) {
        border-bottom: 1px solid rgba(52, 47, 46, 0.1);
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .brands-grid-screenshot .brand-item {
        flex: 0 0 calc(50% - 1rem);
    }
    .my-brands-card {
        padding: 1.2rem 0.8rem;
    }
}

/* --- Page Loader --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 450px;
    padding: 2rem;
}

.loader-logo-frame {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    padding: 8px;
    margin-bottom: 2.5rem;
    background-color: #fffdf4;
    box-shadow: 0 10px 30px rgba(183, 88, 44, 0.1);
    animation: loader-pulse 2s infinite ease-in-out;
}

.loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.loader-progress-track {
    width: 240px;
    height: 3px;
    background-color: rgba(52, 47, 46, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.8rem;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.loader-text {
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(183, 88, 44, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(183, 88, 44, 0.2); }
}

/* --- Scroll Progress Indicator --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: var(--color-accent);
    z-index: 10002;
    pointer-events: none;
}

/* --- Premium Glare & Shine Effect for Cards --- */
.work-card, .blog-card {
    position: relative;
    overflow: hidden;
}

.work-card::after, .blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.work-card:hover::after, .blog-card:hover::after {
    left: 150%;
}

/* Work card hover arrow micro-interaction */
.work-card .work-btn {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.work-card:hover .work-btn {
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

/* --- Timeline Active Highlight transition --- */
.timeline-content {
    transform: translateY(15px);
    opacity: 0.4;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.timeline-item.active .timeline-content {
    transform: translateY(0);
    opacity: 1;
}

/* --- Video Sound/Hover Indicator --- */
.cinematic-media, .reel-link {
    cursor: pointer;
}

.video-sound-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 253, 244, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 47, 46, 0.15);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.cinematic-media:hover .video-sound-toggle,
.reel-link:hover .video-sound-toggle,
.video-sound-toggle.unmuted {
    opacity: 1;
    transform: scale(1);
}

.video-sound-toggle:hover {
    background: #fffdf4;
    color: var(--color-accent);
    transform: scale(1.05);
}

.sound-icon {
    display: block;
}

/* ==========================================
   BATCH 12: MOBILE LAYOUT OPTIMIZATIONS (<=768px)
   ========================================== */
@media (max-width: 768px) {
    /* 1. Brand Logo Grid - 2 logos in a row */
    .brands-grid-screenshot {
        gap: 1.2rem !important;
        justify-content: center !important;
    }
    .brands-grid-screenshot .brand-item {
        flex: 0 0 calc(50% - 0.6rem) !important;
        width: calc(50% - 0.6rem) !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    
    /* 2. Timeline Glitch Fix & Opacity Reset */
    .timeline-item {
        opacity: 1 !important;
        transition: none !important;
    }
    .timeline-content {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* 3. Single Video Placeholder inside What I Do Card 1 */
    .reels-grid .cinematic-video:not(:first-child) {
        display: none !important;
    }
    .reels-grid .video-sound-toggle:not(:first-of-type) {
        display: none !important;
    }
    
    /* 4. Spacing Hierarchy Standardization & Unification */
    .my-brands,
    .stats,
    .who-i-am,
    .horizontal-scroll-section,
    .work-with-me,
    .reels-section,
    .gallery-section,
    .blogs-section,
    .find-me-on {
        padding: 3rem 0 !important;
    }
    
    /* Normalize Section Headings */
    h2.section-heading, .section-heading, .section-subheading {
        text-align: center !important;
        margin-bottom: 2rem !important;
        margin-top: 0 !important;
    }
    
    .who-card h2.section-heading {
        margin-top: 0 !important;
    }
    
    /* 5. Center-align Everything on Mobile */
    .who-paragraphs, .who-paragraphs p {
        text-align: center !important;
    }
    
    .who-quote-main {
        text-align: center !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        font-size: 1.6rem !important;
    }
    
    .who-quote-main .quote-char-open {
        position: static !important;
        display: inline-block !important;
        font-size: 3rem !important;
        vertical-align: top !important;
        margin-right: 0.5rem !important;
    }
    
    .cinematic-text {
        text-align: center !important;
    }
    
    .cinematic-text .card-tags,
    .work-card .card-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        overflow-x: visible !important;
        margin: 1rem 0 !important;
    }
    
    .cinematic-text .btn,
    .work-card .btn,
    .blog-card .btn {
        margin: 1.5rem auto 0 auto !important;
        display: inline-flex !important;
    }
    
    .work-intro, .work-outro {
        text-align: center !important;
    }
    
    .work-card {
        text-align: center !important;
        align-items: center !important;
    }
    
    .work-card-desc {
        text-align: center !important;
    }
    
    .blog-card {
        text-align: center !important;
        align-items: center !important;
    }
    
    .blog-content {
        text-align: center !important;
        align-items: center !important;
    }
    
    .blog-footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    /* 6. Collapse Reels & Gallery Sections Height */
    .reels-section,
    .gallery-section {
        height: auto !important;
    }
    .reels-section .container-fluid,
    .gallery-section .container-fluid {
        height: auto !important;
    }
    
    /* 7. Compress Blog Cards for Better Carousel Visibility */
    .blog-card {
        width: 82vw !important;
        max-width: 320px !important;
        margin: 0 0.5rem !important;
        padding: 0 !important;
        flex-direction: column !important;
        height: auto !important;
        border-radius: 20px !important;
    }
    .blog-image {
        width: 100% !important;
        height: 180px !important;
    }
    .blog-content {
        padding: 1.2rem !important;
    }

    /* 8. Mobile Footer Accordion Menus & Centering */
    .footer {
        padding: 3rem 1.5rem !important;
        margin: 0 1rem 1.5rem 1rem !important;
        text-align: center !important;
    }
    
    .footer-brand {
        margin: 0 auto !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .footer-logo-img {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .footer-tagline {
        text-align: center !important;
    }
    
    .footer-socials {
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
    }

    .footer-top {
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .footer-nav-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 1.5rem 0 !important;
    }
    
    .footer-col {
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-bottom: none !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .footer-col:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    .footer-col h4 {
        cursor: pointer;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 1.2rem 1rem !important;
        margin-bottom: 0 !important;
        border: none !important;
        width: 100% !important;
        position: relative !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    .footer-col h4::after {
        content: '↓'; /* Downward arrow indicating expand */
        font-family: var(--primary-font), sans-serif;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.75) !important; /* white contrast color */
        font-weight: bold;
        transition: transform 0.3s ease !important;
        display: inline-block;
        position: absolute !important;
        right: 1.5rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .footer-col.active h4::after {
        transform: translateY(-50%) rotate(180deg) !important; /* points upwards when expanded */
        color: #fff !important;
    }
    
    .footer-col ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.8rem !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        
        /* Smooth height animation values */
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, padding 0.4s ease !important;
        box-sizing: border-box !important;
    }
    
    .footer-col.active ul {
        display: flex !important;
        max-height: 350px !important;
        opacity: 1 !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer-col ul li {
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-col ul li a {
        display: inline-block !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 0.95rem !important;
        text-decoration: none !important;
        transition: color 0.2s ease, transform 0.2s ease !important;
        padding: 0.2rem 0 !important;
    }

    .footer-col ul li a:hover {
        color: #fff !important;
        transform: scale(1.05) !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .copyright {
        text-align: center !important;
    }
    
    .legal-links {
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    /* 9. Prevent orphans (sentences ending with only 1 word on the last line) on mobile */
    p, li, h1, h2, h3, h4, h5, h6, .card-tag, .timeline-content p, .blog-excerpt, .work-card-desc p {
        text-wrap: pretty !important;
    }
}

/* --- What I Do Navigation Dots --- */
.dots-navigation {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.dots-navigation .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(52, 47, 46, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dots-navigation .dot:hover {
    background-color: rgba(52, 47, 46, 0.5);
}

.dots-navigation .dot.active {
    width: 28px;
    border-radius: 5px;
    background-color: var(--color-accent);
}

@media (max-width: 991px) {
    .dots-navigation {
        display: none;
    }
}

/* --- Instagram Reels Widget --- */
.instagram-reels-widget-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(52, 47, 46, 0.03);
    padding: 2rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .instagram-reels-widget-container {
        padding: 1rem 0.5rem;
    }
}

/* --- Brand Articles Modal --- */
.brand-articles-modal {
    position: fixed;
    inset: 0;
    background: rgba(52, 47, 46, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-articles-modal.active {
    opacity: 1;
    visibility: visible;
}

.brand-articles-modal-content {
    width: 90%;
    max-width: 750px;
    max-height: 80vh;
    padding: 3.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-articles-modal.active .brand-articles-modal-content {
    transform: scale(1);
}

.brand-articles-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.8rem;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.brand-articles-modal-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.brand-articles-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.modal-brand-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
}

.brand-articles-modal-header h3 {
    font-size: 1.8rem;
    font-family: var(--primary-font);
    color: var(--color-text);
    margin: 0;
    font-weight: 500;
}

.brand-articles-list {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.brand-article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--glass-border);
}

.brand-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.brand-article-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.brand-article-link {
    display: inline-block;
    text-decoration: none;
}

.brand-article-title {
    font-family: var(--primary-font);
    font-size: 1.35rem;
    color: var(--color-text);
    margin: 0;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-article-link:hover .brand-article-title {
    color: var(--color-accent);
}

.brand-article-snippet {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.brand-article-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 30px;
    background: transparent;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.brand-article-btn:hover {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 6px 15px rgba(183, 88, 44, 0.25);
    transform: translateY(-2px);
}

/* Scrollbar for article list */
.brand-articles-list::-webkit-scrollbar {
    width: 8px;
}
.brand-articles-list::-webkit-scrollbar-track {
    background: rgba(52, 47, 46, 0.02);
    border-radius: 4px;
}
.brand-articles-list::-webkit-scrollbar-thumb {
    background: rgba(183, 88, 44, 0.6);
    border-radius: 4px;
    transition: background 0.3s ease;
}
.brand-articles-list::-webkit-scrollbar-thumb:hover {
    background: rgba(183, 88, 44, 0.9);
}

/* Specific logo adjustments */
.featured-logo[alt="New York Times"] {
    transform: scale(1.35);
    transform-origin: center;
}
.logo-link:hover .featured-logo[alt="New York Times"] {
    transform: scale(1.42);
}


@media (max-width: 768px) {
    .brand-articles-modal-content {
        padding: 2.5rem 1.8rem 1.8rem 1.8rem;
        width: 95%;
        max-height: 85vh;
    }
    
    .brand-articles-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .brand-articles-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .brand-article-title {
        font-size: 1.15rem;
    }
    
    .brand-article-snippet {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .brand-article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    
    .brand-article-btn {
        width: 100%;
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
    }
}

/* Hide SociableKit promotional signatures/watermarks */
.instagram-reels-widget-container a[href*="sociablekit.com"],
.instagram-reels-widget-container [class*="signature"],
.instagram-reels-widget-container [class*="credits"],
.instagram-reels-widget-container [class*="watermark"],
.instagram-reels-widget-container [class*="badge"],
.instagram-reels-widget-container [class*="branding"],
.instagram-reels-widget-container [class*="promotion"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}