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

html {
    scroll-behavior: smooth;
}

/* Background Color Control */
.light-bg {
    background: #fff !important;
    color: #000 !important;
}

.dark-bg {
    background: #000 !important;
    color: #fff !important;
}

/* Header adaptations for background control */
.light-bg.header {
    background: #fff !important;
    border-bottom: none;
}

.light-bg.header .site-name,
.light-bg.header .site-slogan,
.light-bg.header .nav-menu a {
    color: #000 !important;
}

.light-bg.header .hamburger span {
    background: #000;
}

.light-bg.header .nav-menu a:hover {
    border-bottom-color: rgba(0, 0, 0, 0.5);
}

.light-bg.header .nav-menu a.active {
    border-bottom-color: #000;
}

.dark-bg.header .site-name,
.dark-bg.header .site-slogan,
.dark-bg.header .nav-menu a {
    color: #fff !important;
}

.dark-bg.header .hamburger span {
    background: #fff;
}

.dark-bg.header .nav-menu a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.dark-bg.header .nav-menu a.active {
    border-bottom-color: #fff;
}

/* Post page text color adaptations */
.single-post-page.dark-bg .post-title-section h1,
.single-post-page.dark-bg .post-subtitle,
.single-post-page.dark-bg .post-description-section p,
.single-post-page.dark-bg .post-main-content p,
.single-post-page.dark-bg .post-main-content h2,
.single-post-page.dark-bg .post-main-content h3,
.single-post-page.dark-bg .post-main-content li,
.single-post-page.dark-bg .nav-previous,
.single-post-page.dark-bg .nav-next {
    color: #fff !important;
}

.single-post-page.dark-bg .post-navigation {
    border-top-color: #333;
}

.single-post-page.dark-bg .post-main-content a {
    color: #fff;
}

/* Non-clickable slides */
.slide-preview-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    cursor: default;
}

.slide-preview-content-wrapper .slide-preview-content {
    text-align: center;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    pointer-events: none;
}

body {
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fff;
    color: #000;
    overflow-x: hidden;
}

/* Homepage always has dark background */
body:has(.slides-scroll-container) {
    background: #000;
    color: #fff;
}

/* Dark background pages */
body:has(.dark-bg) {
    background: #000;
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
}

/* Site branding wrapper */
.site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 10002;
}

/* Site title */
.site-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    letter-spacing: -0.02em;
}

.site-name:hover {
    opacity: 0.7;
}

/* Site logo */
.site-logo {
    height: 7.5rem;
    width: auto;
    display: block;
}

/* Homepage logo animation */
#homepage-header .site-logo,
#homepage-header .site-name {
    animation: flyInFromLeft 0.8s ease-out;
}

/* Corner G icon */
.corner-g {
    position: fixed;
    bottom: -15px;
    right: -5px;
    height: 6rem;
    width: auto;
    transform: rotate(25deg);
    z-index: 100;
    pointer-events: none;
    opacity: 1;
}

@keyframes flyInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Site slogan */
.site-slogan {
    font-size: 0.85rem;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    margin: 0;
    letter-spacing: 0.02em;
}

.post-page-header .site-slogan {
    color: #000;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s;
    text-transform: capitalize;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.25rem;
    display: inline-block;
}

.nav-menu a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.nav-menu a.active {
    border-bottom-color: #fff;
}


/* Header reduction for inner pages */

.post-page-header {
    padding: 1rem 3rem;
}

.category-page-header {
    padding: 1rem 3rem;
}

.post-page-header .site-logo {
    height: 5rem;
}

.category-page-header .site-logo {
    height: 5rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
    display: block;
}

.post-page-header .hamburger span {
    background: #000;
}

.category-page-header .hamburger span {
    background: #000;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Header Override for Post Pages */
.post-page-header {
    background: #fff !important;
    border-bottom: none;
}

.post-page-header .site-name {
    color: #000 !important;
}

.post-page-header .nav-menu a {
    color: #000 !important;
}

.post-page-header .nav-menu a:hover {
    border-bottom-color: rgba(0, 0, 0, 0.5);
}

.post-page-header .nav-menu a.active {
    border-bottom-color: #000;
}

.post-page-header.dark-bg {
    background: #000 !important;
    border-bottom: 1px solid #333;
}

.post-page-header.dark-bg .site-name {
    color: #fff !important;
}

.post-page-header.dark-bg .site-slogan {
    color: #fff !important;
}

.post-page-header.dark-bg .nav-menu a {
    color: #fff !important;
}

.post-page-header.dark-bg .nav-menu a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.post-page-header.dark-bg .nav-menu a.active {
    border-bottom-color: #fff;
}

.post-page-header.dark-bg .hamburger span {
    background: #fff;
}

/* Header for Category Pages */
.category-page-header {
    background: #fff !important;
    border-bottom: none;
}

.category-page-header .site-name {
    color: #000 !important;
}

.category-page-header .site-slogan {
    color: #000;
}

.category-page-header .nav-menu a {
    color: #000 !important;
}

.category-page-header .nav-menu a:hover {
    border-bottom-color: rgba(0, 0, 0, 0.5);
}

.category-page-header .nav-menu a.active {
    border-bottom-color: #000;
}

/* Homepage Slides */
.slides-scroll-container {
    min-height: 100vh;
    width: 100%;
}

.slides-wrapper {
    padding-top: 0;
}

.slide-preview {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    scroll-margin-top: 0;
}

.slide-preview:last-child {
    margin-bottom: 0;
}

.slide-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10;
    pointer-events: none;
}

.slide-preview.no-overlay .slide-overlay {
    display: none;
}

.slide-preview-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 50;
}

.slide-preview-link:hover {
    transform: scale(0.98);
}

.slide-preview-content {
    text-align: center;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    pointer-events: none;
}

/* Centred title layout */
.slide-centred .slide-preview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Bottom-left title layout */
.slide-bottom-left .slide-preview-content {
    position: absolute;
    bottom: 4rem;
    left: 3rem;
    top: auto;
    text-align: left;
    max-width: 700px;
}

/* Title styling for bottom-left slides - smaller size */
.slide-bottom-left .slide-preview-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 0.15rem;
    line-height: 1.1;
}

/* Subtitle styling for bottom-left slides - proportionally smaller */
.slide-bottom-left .slide-preview-content h2.subtitle {
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    margin-top: 0;
    line-height: 1.2;
    opacity: 1;
    transform: none;
}

.slide-preview-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 0.5rem;
    line-height: 0.55;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

/* First slide title animation */
#slide-0 .slide-preview-content h1 {
    opacity: 0;
    transform: translateY(100px);
    animation: slideUpFade 0.8s ease-out 0.8s forwards;
}

#slide-0 .slide-preview-content h2.subtitle {
    opacity: 0;
    transform: translateY(100px);
    animation: slideUpFade 0.8s ease-out 1s forwards;
}

.slide-preview-content h2.subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

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

/* Override line-height for titles with custom spans */
.slide-preview-content h1:has(.title-small) {
    line-height: 1.1;
}

/* Trademark symbol styling */
.slide-preview-content h1 sup,
.post-title-section h1 sup,
.grid-item-content h2 sup {
    font-size: 0.3em;
    font-weight: 400;
    margin-left: 0.1em;
}

/* Title tagline/subtitle text (smaller, lighter) */
.slide-preview-content h1 .title-small,
.post-title-section h1 .title-small,
.grid-item-content h2 .title-small {
    font-size: 0.5em;
    letter-spacing: -0.02em;
    font-weight: 300;
    display: block;
}

/* Title main text (larger, bolder) */
.slide-preview-content h1 .title-large,
.post-title-section h1 .title-large,
.grid-item-content h2 .title-large {
    font-size: 1.2em;
    letter-spacing: -0.02em;
    font-weight: 700;
    display: block;
}

.slide-nav-dots {
    position: fixed !important;
    right: 3rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    z-index: 99999 !important;
    pointer-events: all !important;
}

.title-large sup {
    display: inline;
    white-space: nowrap;
    font-size: 0.3em;
    font-weight: 400;
    vertical-align: super;
    top: -0.2em;
    margin-left: 0.1em;
}

.slide-nav-dots .dot {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
    display: block !important;
    border: none !important;
    pointer-events: all !important;
}

.slide-nav-dots .dot:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.3) !important;
}

.slide-nav-dots .dot.active {
    background: #fff !important;
    transform: scale(1.4) !important;
}

/* Category Page Title Section */
.category-title-section {
    background: #fff;
    padding: 180px 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.category-title-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #000;
    line-height: 0.1;
    letter-spacing: -0.02em;
    margin: 0;
}

/* Animated title for category pages - matching homepage slide animation */
.animated-title {
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: quickSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

.line1 {
    animation-delay: 0.1s;
}

.line2 {
    animation-delay: 0.3s;
    margin-left: 0;
}

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

/* Single Post Page */
.single-post-page {
    background: #fff;
    color: #000;
    max-width: 1200px;
    margin: 0 auto;
    padding: 200px 2rem 4rem;
}

.post-title-section {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.post-title-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

.post-description-section {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-description-section p {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: #333;
}

.post-main-content {
    margin-top: 3rem;
}

.post-main-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.post-main-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #000;
    margin: 3rem 0 1.5rem;
}

.post-main-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #000;
    margin: 2.5rem 0 1.5rem;
}

.recognition-heading {
    color: #000;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.08em;
    margin-top: 80px;
    margin-bottom: 40px;
}

.recognition-item {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.role-company {
    font-weight: 600;
    color: #000;
}

.post-main-content p:has(img) {
    width: 100%;
    margin: 0;
    padding: 0;
}

.post-main-content img:not([data-scroller]) {
    width: 100% !important;
    height: auto;
    margin: 2rem 0;
    display: block;
    border-radius: 20px;
}

.post-main-content img[data-scroller] {
    width: auto !important;
    height: 400px !important;
    max-width: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.team-scroller-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    color: #000 !important;
    font-size: 48px !important;
    font-weight: 900 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    padding-bottom: 3px !important;
}

.post-main-content video {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    display: block;
    border-radius: 20px;
}

.post-main-content ul,
.post-main-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.post-main-content li {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.75rem;
}

.post-main-content a {
    color: #000;
    text-decoration: underline;
}

.post-main-content a:hover {
    opacity: 0.6;
}

.post-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    position: static;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.nav-previous:hover,
.nav-next:hover {
    opacity: 0.6;
}

/* Category Grid Page Styles */
.category-grid-container {
    background: #fff;
    min-height: 100vh;
    padding: 80px 2rem 4rem;
}

/* Work category specific - less top padding to accommodate the title */
.category-grid-container.work-category {
    padding-top: 50px;
}

.category-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-item {
    text-decoration: none;
    color: #000;
    display: block;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

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

.grid-item-content {
    text-align: left;
}

.grid-item-content h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.grid-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}

.category-empty {
    max-width: 1100px;
    margin: 4rem auto;
    text-align: center;
}

.category-empty p {
    font-size: 1.2rem;
    color: #666;
}

/* News category zigzag layout */
.news-zigzag-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.news-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.news-row.image-right {
    direction: rtl;
}

.news-row.image-right .news-row-content {
    direction: ltr;
}

.news-row-image {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-row-image:hover {
    opacity: 0.9;
}

.news-image-bg {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.news-row-content {
    display: flex;
    flex-direction: column;
}

.news-source-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.news-row-title {
    text-decoration: none;
    color: #000;
    display: block;
}

.news-row-title:hover {
    opacity: 0.7;
}

.news-row-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.news-row-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
}

/* External link notice on post pages */
.external-link-notice {
    margin-top: 1.5rem;
    text-align: center;
}

.external-link-notice a {
    display: inline-block;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: opacity 0.3s;
}

.external-link-notice a:hover {
    opacity: 0.6;
}

.single-post-page.dark-bg .external-link-notice a {
    color: #999;
}

.inline-platform-icon {
    height: 1rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.3rem;
}

/* Work category masonry grid */
.work-masonry-grid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    display: block;
    transition: opacity 0.3s;
}

.masonry-item:hover {
    opacity: 0.9;
}

.masonry-item-full {
    grid-column: span 6;
}

.masonry-item-half {
    grid-column: span 3;
}

.masonry-item-third {
    grid-column: span 2;
}

.masonry-item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 20px;
}

.masonry-item-half .masonry-item-image,
.masonry-item-third .masonry-item-image {
    aspect-ratio: 1 / 1;
}

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

.masonry-item-content {
    text-align: left;
}

.masonry-item-content h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 600;
    color: #000;
    margin-bottom: 0.3rem;
}

.masonry-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}

/* Two Column Layout for TinyMCE */
.two-column {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.two-column .column {
    flex: 1;
}

.two-column .column h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.two-column .column p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #333;
}

.two-column .column strong {
    font-weight: 600;
    color: #000;
}

/* Footer */
.site-footer {
    background: #000;
    color: #fff;
    padding: 3rem 0;
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer copyright with G icon and MSQ info */
.footer-copyright {
    width: auto;
}

.copyright-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    white-space: nowrap;
}

.copyright-g-icon {
    height: 1.5rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.copyright-msq {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    white-space: nowrap;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
   .header {
    padding: 1.5rem 2rem;
    position: fixed;
    background: transparent !important;
}
    
    .site-name {
        font-size: 2rem;
    }
    
    .site-logo {
        height: 6rem;
    }
    
    .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10002;
    position: fixed;
    right: 2rem;
    top: 2.5rem;
}
    
    nav {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #000;
        flex-direction: column;
        gap: 0;
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.mobile-open {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100%;
        display: block;
        font-size: 1.25rem;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        border-bottom-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .post-page-header .nav-menu {
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .post-page-header .nav-menu a {
        color: #000 !important;
        border-bottom-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    .post-page-header .nav-menu a:hover,
    .post-page-header .nav-menu a.active {
        border-bottom-color: rgba(0, 0, 0, 0.3) !important;
    }
    
    .category-page-header .nav-menu {
        background: #fff;
    }
    
    .category-page-header .nav-menu a {
        color: #000 !important;
        border-bottom-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    .category-page-header .nav-menu a:hover,
    .category-page-header .nav-menu a.active {
        border-bottom-color: rgba(0, 0, 0, 0.3) !important;
    }
    
    .slide-preview-content {
        padding: 2rem;
    }
    
    /* Mobile adjustments for bottom-left slides */
    .slide-bottom-left .slide-preview-content {
        bottom: 3rem;
        left: 1.5rem;
        max-width: 90%;
    }
    
.category-title-section {
    padding: 8rem 2rem 0.5rem;
}
    
    .category-title-section h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .single-post-page {
    padding: 8rem 1.5rem 3rem;
}
    
    .post-navigation {
        position: static !important;
        margin-top: 3rem;
    }
.post-main-content p {
    font-size: 1rem !important;
    line-height: 1.7;
}

.post-main-content h2 {
    font-size: 1.6rem !important;
}

.post-main-content h3 {
    font-size: 1.3rem !important;
}

.post-main-content div[style*="font-size"] {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
}

.team-scroller img {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
    
    .category-grid-container {
    padding: 1.5rem;
}
    
    /* Work category specific mobile adjustment */
    .category-grid-container.work-category {
        padding-top: 30px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work-masonry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .news-zigzag-layout {
    gap: 3rem;
    margin-top: 1rem;
}
    
    .news-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-row.image-right {
        direction: ltr;
    }
    
    .masonry-item-full,
    .masonry-item-half,
    .masonry-item-third {
        grid-column: span 1;
    }
    
    .masonry-item-half .masonry-item-image,
    .masonry-item-third .masonry-item-image {
        aspect-ratio: 16 / 9;
    }
    
    .slide-nav-dots {
        right: 1.5rem !important;
        gap: 1.2rem !important;
    }
    
    .slide-nav-dots .dot {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Footer mobile adjustments */
    .footer-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding: 0 1.5rem;
    }
    
    .copyright-container {
        gap: 0.75rem;
    }
    
    .copyright-g-icon {
        height: 1.3rem;
    }
    
    .footer-nav {
        justify-content: flex-start;
        width: 100%;
    }
    
    /* Two column mobile adjustment */
    .two-column {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1.5rem;
    }
    
    .hamburger {
        right: 1.5rem;
    }
    
    .site-name {
        font-size: 1.75rem;
    }
    
    .site-logo {
        height: 5.25rem;
    }
    
    .slide-preview-content {
        padding: 1.5rem;
    }
    
    /* Mobile adjustments for bottom-left slides */
    .slide-bottom-left .slide-preview-content {
        bottom: 2.5rem;
        left: 1rem;
        max-width: 95%;
    }
    
    .category-title-section {
    padding: 8rem 1.5rem 1.5rem;
}
    
    /* Work category specific mobile adjustment */
    .category-grid-container.work-category {
        padding-top: 20px;
    }
    
    .slide-nav-dots {
        right: 1rem !important;
        gap: 1rem !important;
    }
    
    .slide-nav-dots .dot {
        width: 12px !important;
        height: 12px !important;
    }
    
    /* Footer mobile adjustments */
    .copyright-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .copyright-text, .copyright-msq {
        white-space: normal;
    }
    
    .footer-nav {
        gap: 1rem;
    }
}

.team-scroller img {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block !important;
}