@font-face {
    font-family: 'Sentient';
    src: url('fonts/Sentient-Light.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Mazius Display';
    src: url('fonts/MaziusDisplay-Extraitalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Mazius Display';
    src: url('fonts/MaziusDisplay-Regular.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Mazius Display';
    src: url('fonts/MaziusDisplay-ExtraItalicBold.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

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

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #8b7355;
    --accent-color: #d4af37;
    --light-bg: #faf9f7;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
}

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */
#announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: #000;
    color: #fff;
    padding: 0.5rem;
    text-align: center;
    box-sizing: border-box;
}

#announcement-banner p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #fff;
    padding: 0 2rem;
}

#announcement-banner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#announcement-banner a:hover {
    opacity: 0.75;
}

#banner-dismiss {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem;
    opacity: 0.8;
}

#banner-dismiss:hover {
    opacity: 1;
}

body {
    font-family: 'Sentient', sans-serif;
    font-weight: 200;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: clip;
    padding-top: var(--banner-height, 0px);
    cursor: url('GlobalAssets/nibcursor.svg'), auto;
    background-color: #f3f1ec;
    background-image: url('GlobalAssets/textured-background.jpg');
    background-size: 100% 100%;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: repeat;
    transition: background-color 1s ease-out;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('GlobalAssets/textured-background-black.jpg');
    background-size: 100% 100%;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: -1;
    pointer-events: none;
}

body.contact-visible::after {
    opacity: 1;
}

body.contact-visible {
    cursor: url('GlobalAssets/nibcursor-white.svg'), auto;
}

body.bg-dark {
    background-color: var(--text-dark);
}

body.bg-dark .intro-content h2 {
    color: var(--light-bg);
}

h1, h2 {
    font-family: 'Mazius Display', sans-serif;
    font-weight: 200;
    font-style: italic;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 4.5rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 3rem;
    line-height: 3.75rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 2rem;
    line-height: 2.25rem;
    font-family: 'Mazius Display', sans-serif;
    font-weight: 200;
    font-style: normal;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-family: 'Mazius Display', sans-serif;
    font-weight: 200;
    font-style: italic;
}

p {
    font-family: 'Mazius Display', sans-serif;
    font-weight: 200;
    padding-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.75rem;
    color: var(--text-light);
}

a {
    color: var(--text-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

p a {
    color: var(--text-dark);
    text-decoration: underline;
    text-decoration-color: var(--text-dark);
    transition: opacity 0.3s ease;
}

p a:hover {
    font-style: italic;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: var(--banner-height, 0px);
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

header.nav-visible {
    background: #f3f1ec;
    border-bottom: 1px solid black;
}

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

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 60px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    justify-self: center;
}

.logo img {
    height: 50px;
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    text-transform: uppercase;
    font-family: 'Mazius Display', serif;
    letter-spacing: 0.15rem;
    gap: 40px;
}

.nav-links-left {
    justify-content: flex-end;
}

.nav-links-right {
    justify-content: flex-start;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 300;
    transition: color 0.3s ease;
    display: block;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background-image: url('GlobalAssets/ornament01.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
    font-family: 'Mazius Display', sans-serif;
    font-weight: 200;
    font-style: italic;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-align: center;
    padding-top: 80px;
}

.hero-content h3 {
    font-style: italic;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(80px);
    filter: blur(8px);
}

.hero-content h3.animate {
    animation: fadeUpCenter 1s ease-out 0.6s forwards;
}

@keyframes fadeUpCenter {
    from {
        opacity: 0;
        transform: translateY(80px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.hero-main-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 20px;
}

.hero-svg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -1rem;
}

.hero-svg {
    width: 60vw;
    max-width: 1024px;
    height: auto;
    opacity: 0;
}

.hero-svg-left {
    transform: translateY(80px) translateX(-3rem);
    filter: blur(8px);
}

.hero-svg-right {
    transform: translateY(80px) translateX(3rem);
    filter: blur(8px);
}

.hero-svg-left.animate {
    animation: fadeUpLeft 1s ease-out forwards;
}

.hero-svg-right.animate {
    animation: fadeUpRight 1s ease-out 0.3s forwards;
}

@keyframes fadeUpLeft {
    from {
        opacity: 0;
        transform: translateY(80px) translateX(-3rem);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-3rem);
        filter: blur(0px);
    }
}

@keyframes fadeUpRight {
    from {
        opacity: 0;
        transform: translateY(80px) translateX(3rem);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(3rem);
        filter: blur(0px);
    }
}

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

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

@keyframes fadeUpBlur {
    from {
        opacity: 0;
        transform: translateY(80px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes slideInImage {
    0% {
        opacity: 0;
        transform: translateY(50px) rotate(-5deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Spacer */
.hero + .video-section::before {
    content: '';
    display: block;
    height: 100vh;
}

/* Inner Page Styles */
.innerpage {
    display: flex;
    flex-direction: row;
    background: transparent;
    text-align: center;
    gap: 0;
}

.innerpage-content {
    width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 15vh;
    margin-top: 10rem;
    align-items: center;
    justify-content: center;
}

.innerpage-svg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.innerpage-svg {
    max-height: 10rem;
    opacity: 0;
    animation: fadeUpBlur 1.2s ease-out forwards;
    animation-delay: 0.2s;
}

.innerpage-small-image {
    width: 15rem;
    height: 25rem;
    object-fit: cover;
}

.innerpage-content-container {
    opacity: 0;
    animation: fadeUpBlur 1.2s ease-out forwards;
}

.innerpage-content-container:nth-child(1) {
    animation-delay: 0.2s;
}

.innerpage-content-container:nth-child(2) {
    animation-delay: 0.5s;
}

/* Innerpage with parallax images */
.innerpage-with-images {
    position: relative;
    overflow: visible;
}

.innerpage-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.innerpage-with-images .innerpage-image {
    position: absolute;
    height: auto;
    object-fit: cover;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.3s ease-out;
    z-index: 1;
}

.innerpage-image-1 {
    top: 25%;
    left: 5vw;
    max-width: 22vw;
    height: auto;
}

.innerpage-image-2 {
    bottom: 25%;
    right: 5vw;
    max-width: 22vw;
    height: auto;
}

.innerpage-with-images .innerpage-content {
    position: relative;
    z-index: 10;
}

/* Scrolling Images Section */
.scrolling-images-section {
    padding: 100px 20px;
    position: relative;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolling-image-container {
    width: 40vw;
    height: 80%;
    overflow: hidden;
    position: absolute;
}

.scrolling-image-container:first-child {
    top: 50%;
    left: 50%;
    transform: translate(-95%, -70%);
    z-index: 1;
}

.scrolling-image-container:last-child {
    top: 50%;
    left: 50%;
    transform: translate(-5%, -30%);
    z-index: 2;
}

.scrolling-image {
    width: 100%;
    height: auto;
    min-height: 150%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Services List Section with Parallax Images */
.services-list-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: visible;
}

.services-list-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.services-list-image {
    position: absolute;
    height: auto;
    object-fit: cover;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.3s ease-out;
    z-index: 1;
}

.services-list-image-left-1 {
    top: 10%;
    left: 2vw;
    max-width: 25vw;
    height: auto;
    z-index: 2;
}

.services-list-image-left-2 {
    bottom: 5%;
    left: 0vw;
    max-width: 20vw;
    height: auto;
}

.services-list-image-left-3 {
    top: 20%;
    left: 0vw;
    max-width: 25vw;
    height: auto;
}

.services-list-image-right-1 {
    top: 15%;
    right: 0vw;
    max-width: 22vw;
    height: auto;
}

.services-list-image-right-2 {
    bottom: 10%;
    right: 5vw;
    max-width: 22vw;
    height: auto;
}

.services-list-image-right-3 {
    bottom: 20%;
    right: 0vw;
    max-width: 25vw;
    height: auto;
}

.services-list-container {
    position: relative;
    z-index: 10;
    max-width: 40vw;
    width: 100%;
    text-align: center;
}

.services-list-container h1 {
    opacity: 0;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.services-list-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.services-list-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.services-list-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Split Content Section */
.split-content-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 0;
}

.split-content-container {
    width: 80vw;
    height: 80vh;
    display: flex;
    overflow: hidden;
}

.split-content-text {
    width: 50%;
    background: var(--primary-color);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.split-content-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 300;
    color: var(--white);
}

.split-content-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.split-content-image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.split-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Event Recaps Section */
/* Services Detail Section */
.services-detail-section {
    margin: 1rem;
}

.services-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3%;
    align-items: stretch;
}

.services-detail-left {
    position: relative;
}

.services-detail-sticky {
    position: sticky;
    top: 120px;
}

.services-detail-middle,
.services-detail-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-detail-right {
    margin-top: 100%;
}

.services-detail-middle .services-detail-item:nth-child(n+2),
.services-detail-right .services-detail-item:nth-child(n+2) {
    margin-top: 50%;
}

.services-detail-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-detail-img-wrapper {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.services-detail-img-wrapper img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.instudio-services-detail-section {
    margin: 2rem;
}

.instudio-services-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.instudio-services-detail-left,
.instudio-services-detail-middle,
.instudio-services-detail-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.instudio-services-detail-left {
    margin-top: 250px;
}

.instudio-services-detail-middle {
    margin-top: 500px;
}

.instudio-services-detail-right {
    margin-top: 250px;
}

.instudio-services-detail-left .instudio-services-detail-item:nth-child(2),
.instudio-services-detail-middle .instudio-services-detail-item:nth-child(2),
.instudio-services-detail-right .instudio-services-detail-item:nth-child(2) {
    margin-top: 250px;
}

.instudio-services-detail-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.instudio-services-detail-img-wrapper {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.instudio-services-detail-img-wrapper img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.instudio-services-detail-caption {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.event-recaps-section {
    padding: 100px 0;
    background: transparent;
}

.event-recaps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.event-recaps-header-text {
    flex: 1;
}

.see-all-link {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding-top: 10px;
}

.see-all-link:hover {
    color: var(--secondary-color);
}

.event-recaps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.event-recap-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.event-recap-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 400px;
    overflow: hidden;
}

.event-recap-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-recap-card:hover .event-recap-thumbnail img {
    transform: scale(1.1);
}

.event-recap-overlay {
    padding: 16px 0;
}

.event-recap-overlay h3 {
    color: var(--text-dark);
}

.event-recap-overlay p {
    color: var(--text-dark);
}

.event-recap-overlay p:not(.blog-date) {
    display: none;
}

.event-recap-overlay .service-learn-more {
    display: none;
}

/* Illustrations Section */
.illustrations {
    padding: 100px 20px;
    background: transparent;
}

.illustrations h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-weight: 200;
}

/* Video Section */
.video-section {
    min-height: 100vh;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-container {
    position: relative;
    width: 0;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

.video-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    z-index: 1;
}

.video-container.expanded::after {
    opacity: 1;
}

.video-container video {
    position: absolute;
    width: 0;
    height: auto;
    opacity: 0;
    transform: translateY(0);
    transition: width 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
                opacity 0.6s ease-out,
                transform 0.6s ease-out;
}

.video-container.expanded video {
    width: 100vw;
    opacity: 1;
}

/* Intro Gallery Section */
.intro-gallery {
    width: 100%;
    height: 150vh;
    background: transparent;
    position: relative;
    z-index: 10;
    display: block;
    padding-top: 0;
}

.intro-gallery-fixed {
    position: absolute;
}

.intro-gallery-fixed.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.intro-gallery-fixed.past {
    bottom: 0;
}

.gallery-row {
    display: flex;
    gap: 20px;
    padding: 5vh 40px 5vh 20px;
    width: max-content;
    will-change: transform;
}

.gallery-row:last-child {
    margin-bottom: 0;
}

.gallery-item {
    flex-shrink: 0;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* Scroll-driven Horizontal Gallery */
.auto-gallery {
    width: 100%;
    /* height set by JS based on track width */
    position: relative;
}

.auto-gallery-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.auto-gallery-track {
    display: flex;
    gap: 20px;
    padding: 5vh 20px;
    width: max-content;
    will-change: transform;
}

.auto-gallery-track .gallery-item {
    flex-shrink: 0;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auto-gallery-track .gallery-item img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* Intro Section */
.intro {
    min-height: 180vh;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.intro-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.intro-image {
    position: fixed;
    height: auto;
    object-fit: cover;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    z-index: 5;
}

.intro-image-1 {
    top: 25%;
    left: 0vw;
    max-width: 25vw;
    height: auto;
}

.intro-image-2 {
    bottom: 25%;
    right: 0vw;
    max-width: 25vw;
    height: auto;
}

.intro-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1440px;
    text-align: center;
    padding: 40px;
    z-index: 8;
    will-change: opacity, filter;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

/* Service Details Section */
.service-details {
    padding: 100px 20px;
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
}

.service-details-wrapper {
    min-height: 300vh;
    position: relative;
    background: transparent;
}

.service-details-display {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 5rem;
    z-index: 10;
}

.service-details-display.sticky {
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-details-content {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.service-details-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 200;
    margin-bottom: 30px;
    text-align: left;
}

.service-details-display h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 200;
    margin-bottom: 30px;
    text-align: left;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 200;
    line-height: 1.6;
    text-align: left;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.service-details-image {
    flex: 0 0 45%;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
}

.service-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Section - Separated sections */
/* Video Grow Section */
.video-grow-section {
    min-height: 200vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15vh 0 10vh 0;
    position: relative;
}

.video-grow-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vh;
}

/* Hero Title Section */
.hero-title-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 60px;
}

.hero-title-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title-bg {
    position: absolute;
    width: 80vw;
    height: auto;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.hero-title-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1440px;
}

.video-grow-title {
    font-size: 4rem;
    font-weight: 600;
    text-align: center;
    max-width: 60vw;
    line-height: 1.2;
    color: var(--text-dark);
}

.video-grow-wrapper {
    width: 60vw;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.video-grow-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
}

.service-container {
    width: 80vw;
    max-width: 1400px;
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    padding-top: 20vh;
}

.service-content {
    flex: 1;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    align-self: flex-start;
    z-index: 10;
}

.service-content .service-learn-more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    margin-top: 1rem;
    font-family: 'Mazius Display', sans-serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 200;
}

.service-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 200;
    margin-bottom: 30px;
    text-align: left;
}

.service-image-wrapper {
    flex: 0 0 45%;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.service-image-wrapper-wide {
    flex: 0 0 55%;
    aspect-ratio: 16/12;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.service-image-wrapper-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.service-section-static {
    min-height: auto;
}

.service-section-static .service-content {
    position: static;
    transform: none;
}

/* FAQ Section (onsite.html / instudio.html) */
.faq-section {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
}

.faq-container {
    width: 80vw;
    max-width: 1400px;
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    padding-top: 20vh;
}

.faq-content {
    flex: 1;
    position: static;
    align-self: flex-start;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.faq-content img {
    max-height: 8rem;
    width: auto;
    margin-bottom: -25px;
    margin-left: -3vw;
}

.faq-content p {
    margin-left: 5vw;
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #666;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 200;
    transition: transform 0.3s ease;
    user-select: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    margin-left: -70px;
    padding: 0;
    text-indent: 0;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding-bottom: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Parallax Section */
.parallax-section {
    min-height: 200vh;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.parallax-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.parallax-image {
    position: fixed;
    height: auto;
    object-fit: cover;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.parallax-image-1 {
    top: 15%;
    left: 8%;
    width: 490px;
}

.parallax-image-2 {
    top: 55%;
    right: 10%;
    width: 420px;
}

.parallax-image-3 {
    top: 20%;
    right: 5%;
    width: 532px;
}

.parallax-image-4 {
    top: 65%;
    left: 12%;
    width: 448px;
}

.parallax-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    text-align: center;
    padding: 40px;
    z-index: 10;
    will-change: opacity, filter;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.parallax-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 200;
    margin-bottom: 30px;
}

.parallax-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 200;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: transparent;
}

.services h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.services h2 img {
    max-height: 7rem;
    width: auto;
}

.services .container > img {
    max-height: 5rem;
    width: auto;
    display: block;
    margin: 0 auto 20px;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
    animation-play-state: paused;
}

.services .container > img.animate {
    animation-play-state: running;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-image {
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    opacity: 0;
    transform: translateY(50px) rotate(-5deg);
    transition: none;
}

.service-image img.animate {
    animation: slideInImage 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-content img {
    max-height: 8rem;
    width: auto;
    margin-bottom: -25px;
    margin-left: -3vw;
}

.service-content p {
    margin-left: 5vw;
}

.service-learn-more:hover {
    text-decoration: none;
}

.service-learn-more {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    margin-top: 1rem;
    font-family: 'Mazius Display', sans-serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 200;
}

.arrow-icon {
    flex-shrink: 0;
    position: relative;
    transition: left 0.3s ease;
    left: 0;
}

.service-learn-more:hover .arrow-icon {
    left: 5px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.learn-more-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 20px;
    background: transparent;
}

.portfolio h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e3dc 0%, #d4cec4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Clients Section */
.clients {
    padding: 100px 20px;
    background: transparent;
}

.clients h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo {
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.client-logo img {
    max-width: 100%;
    max-height: 3rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0);
}

/* About Section */
.about {
    padding: 120px 60px;
    background: transparent;
}

.about-wrapper {
    padding: 100px 200px 0 200px;
}

.about-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 2rem auto;
    align-items: start;
    max-width: 1440px;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-left > img {
    align-self: flex-start;
}

.about-description {
    margin-left: 25%;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
}

.about-parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e3dc 0%, #d4cec4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Instagram Feed Section */
.instagram-feed {
    padding: 100px 20px 200px;
    background: transparent;
}

.instagram-feed h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.instagram-handle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.instagram-embed-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Behold Instagram Feed */
.instagram-embed-wrapper [data-behold-id] {
    width: 100%;
    min-height: 400px;
}

/* Ensure Behold posts are clickable */
.instagram-embed-wrapper [data-behold-id] a {
    cursor: pointer;
    pointer-events: auto;
}

.instagram-embed-wrapper [data-behold-id] figure {
    margin: 0;
    width: 100%;
}

/* Hide placeholder when Behold feed is present */
.instagram-embed-wrapper [data-behold-id]:not(:empty) ~ .instagram-placeholder {
    display: none;
}

/* Instagram placeholder styles */
.instagram-placeholder {
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed var(--text-light);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.instagram-placeholder p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.instagram-placeholder ol {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.instagram-placeholder ol li {
    margin-bottom: 10px;
}

.instagram-placeholder a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-placeholder a:hover {
    color: var(--primary-color);
}

.instagram-link {
    display: inline-block;
    padding: 12px 32px;
    background: var(--secondary-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    background: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 100px 20px 0;
    min-height: 100vh;
}


.contact h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--white);
}

.contact h2 img {
    max-height: 300px;
    width: auto;
    filter: brightness(0) invert(1);
}

.contact .container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact .container > img {
    max-height: 300px;
    width: auto;
    filter: brightness(0) invert(1);
}

.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-form {
    width: 100%;
    margin-top: 20px;
}

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

.form-label {
    display: block;
    font-family: 'Mazius Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 8px;
    opacity: 0.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: 'Mazius Display', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.contact-form select {
    padding-right: 40px;
    background-position: right 16px center;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form textarea {
    margin-bottom: 20px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 50px;
    font-family: 'Mazius Display', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: transparent;
    color: var(--white);
    padding: 60px 20px 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: transparent;
    width: 100vw;
    min-height: 900px;
}

.testimonials-container {
    width: 80vw;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-eyebrow {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonials-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    justify-content: space-between;
}

.testimonials-carousel {
    flex: 1;
    position: relative;
    min-height: 300px;
    padding-right: 40px;
}

.testimonial-item {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.testimonial-text {
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left;
    margin-bottom: 30px;
    max-width: 80rem;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-light);
    text-align: left;
}

.testimonials-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.testimonial-dot {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: height 0.3s ease, background-color 0.3s ease;
}

.testimonial-dot.active {
    height: 30px;
    background-color: rgba(0, 0, 0, 0.75);
}

/* Grid Gallery Section */
.grid-gallery-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

.grid-gallery-container {
    margin: 1rem;
}

.grid-gallery-container h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: left;
}

.grid-gallery-container > p {
    margin-bottom: 20px;
}

.grid-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
    min-height: 90vh;
}

.grid-gallery-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grid-gallery-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grid-gallery-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 30%;
}

.grid-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grid-gallery-img-wrapper {
    overflow: hidden;
    flex: 1;
    min-height: 0;
    height: auto;
}

.grid-gallery-item img {
    width: 100%;
    height: calc(90vh + 80px);
    object-fit: cover;
    display: block;
    will-change: transform;
}

.gallery-caption {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-light);
    text-align: left;
    margin: 0;
}

.social-links a:hover {
    color: var(--accent-color);
    font-family: 'Mazius Display', sans-serif;
    font-weight: 200;
    font-style: italic;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-dark);
    color: #f3f1ec;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.03em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 9999;
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* H2 Line-by-Line Animation */
h2 .line-wrapper {
    display: block;
    overflow: hidden;
    padding: 2px 0;
}

h2 .line {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

h2 .line.animate {
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

/* Portfolio Masonry Gallery */
.portfolio-masonry {
    padding: 100px 16px;
    background: transparent;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Blog Grid Section */
.blog-grid-section {
    padding: 80px 20px 120px;
    margin: 48px auto 0;
    background: transparent;
    max-width: 1440px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 0 auto;
}

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

.blog-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeUp 0.6s ease both;
}

.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.15s; }
.blog-card:nth-child(3) { animation-delay: 0.25s; }
.blog-card:nth-child(4) { animation-delay: 0.35s; }
.blog-card:nth-child(5) { animation-delay: 0.45s; }
.blog-card:nth-child(6) { animation-delay: 0.55s; }


.blog-thumbnail {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-thumbnail:hover img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 16px 0px;
}

.blog-excerpt {
    display: none;
}

/* Blog Post Page */
.blog-post {
    padding: 120px 20px 80px;
    background: transparent;
}

.blog-post .container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
}

.blog-post-date,
.blog-post-category {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-date::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 0.9em;
    background-color: var(--text-dark);
    margin-left: 20px;
    vertical-align: middle;
}

.blog-post-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 60px;
}

.blog-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.blog-post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-blog {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-to-blog:hover {
    transform: translateX(-5px);
}

/* Photo Grids (inserted via blog admin) */
.photo-grid-1col {
    margin: 2rem 0;
    max-width: 100%;
}

.photo-grid-1col img {
    width: 100%;
    display: block;
}

.photo-grid-2col,
.photo-grid-3col {
    display: grid;
    gap: 12px;
    margin: 2rem 0;
    max-width: 100%;
}

.photo-grid-2col {
    grid-template-columns: 1fr 1fr;
}

.photo-grid-3col {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Prevent grid items from overflowing their column */
.photo-grid-2col > *,
.photo-grid-3col > * {
    min-width: 0;
    overflow: hidden;
}

.photo-grid-2col img,
.photo-grid-3col img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

/* Handle CKEditor figure.image wrappers */
.photo-grid-2col figure.image,
.photo-grid-3col figure.image {
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    float: none !important;
}

.photo-grid-2col figure.image img,
.photo-grid-3col figure.image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

@media (max-width: 768px) {
    .photo-grid-2col,
    .photo-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HAMBURGER NAVIGATION
   ============================================ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: url('GlobalAssets/nibcursor.svg'), auto;
    padding: 4px;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .hamburger-btn span:nth-child(1) {
    transform: translateY(3.25px) rotate(45deg);
}

body.nav-open .hamburger-btn span:nth-child(2) {
    transform: translateY(-3.25px) rotate(-45deg);
}

.nav-drawer {
    position: fixed;
    top: var(--banner-height, 0px);
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #f3f1ec;
    background-image: url('GlobalAssets/textured-background.jpg');
    background-size: 100% 100%;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.nav-open .nav-drawer {
    transform: translateX(0);
}

.nav-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav-drawer-links li a {
    font-family: 'Mazius Display', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    font-style: italic;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.05rem;
    transition: color 0.3s ease;
}

.nav-drawer-links li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large screens (min-width: 1600px) */
@media (min-width: 1600px) {
    h1 {
        font-size: 5rem;
        line-height: 6.25rem;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 3rem;
        line-height: 4.25rem;
    }

    p {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}

/* Large tablet (max-width: 1200px) */
@media (max-width: 1200px) {
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* iOS background-attachment fix */
    body,
    body::after {
        background-attachment: scroll;
        background-size: auto 100vh;
    }

    /* --- Navigation --- */
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 16px 1rem;
    }

    .nav-links-left,
    .nav-links-right {
        display: none;
    }

    .logo {
        justify-self: auto;
    }

    .hamburger-btn {
        display: flex;
    }

    /* --- Typography --- */
    h1 {
        line-height: 2.8rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 2.75rem;
    }

    h3 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    h4 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .testimonial-text {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    /* --- Form: prevent iOS zoom on focus --- */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
    }

    /* --- Event Recaps --- */
    .event-recaps-section {
        padding: 1rem;
        margin-top: 15rem;
    }

    .event-recaps-header {
        flex-direction: column;
    }

    .event-recaps-grid {
        grid-template-columns: 1fr;
    }

    .event-recap-thumbnail {
        height: 220px;
    }

    /* --- Hero Section --- */
    .hero {
        padding: 0 1rem 0 1rem;
    }

    .hero-svg {
        width: 90vw;
    }

    .hero-svg-left {
        transform: translateY(50px);
        filter: blur(8px);
    }

    .hero-svg-right {
        transform: translateY(50px);
        filter: blur(8px);
    }

    .hero-svg-left.animate {
        animation: fadeUpBlur 1s ease-out forwards;
    }

    .hero-svg-right.animate {
        animation: fadeUpBlur 1s ease-out 0.3s forwards;
    }

    /* --- Auto Gallery — disable JS horizontal scroll, show as 2-col grid --- */

    /* --- Intro Section — disable fixed parallax layout --- */
    .intro {
        min-height: auto;
        padding: 80px 1rem 60px 1rem;
        overflow: visible;
    }

    .intro-content {
        position: static !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        padding: 0;
        opacity: 1 !important;
        filter: none !important;
    }

    .intro-images {
        display: none;
    }

    /* --- Service Sections (homepage) --- */
    .service-section {
        padding: 60px 1rem;
        min-height: auto;
    }

    .service-container {
        flex-direction: column;
        width: 100%;
        padding-top: 0;
        gap: 2rem;
    }

    .service-content {
        position: static;
        transform: none;
    }

    .service-content img {
        height: 6rem;
        padding-left: 1rem;
    }

    .service-image-wrapper {
        order: -1;
        flex: none;
        width: 100%;
        aspect-ratio: 3/4;
        max-height: 70vw;
        transform: none !important;
    }

    .service-image-wrapper img {
        transform: none !important;
    }

    .service-image-wrapper-wide {
        order: -1;
        flex: none;
        width: 100%;
        aspect-ratio: 16/10;
        max-height: 60vw;
        transform: none !important;
    }

    .service-image-wrapper-wide img {
        transform: none !important;
    }

    /* --- FAQ Section --- */
    .faq-section {
        margin-top: 15rem;
    }

    /* --- Services List Section (inner pages top hero) --- */
    .services-list-section {
        flex-direction: column;
        padding: 100px 1rem 60px;
        min-height: auto;
        gap: 2rem;
        align-items: center;
    }

    .services-list-images {
        position: relative;
        display: block;
        width: 100%;
        height: 70vw;
        overflow: hidden;
        pointer-events: auto;
    }

    .services-list-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        opacity: 0;
        transform: none !important;
        transition: opacity 0.5s ease;
    }

    .services-list-image.carousel-active {
        opacity: 1;
    }

    .services-list-image-left-3,
    .services-list-image-right-3 {
        display: block;
    }

    .carousel-dots {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 10;
    }

    .carousel-dot {
        width: 18px;
        height: 4px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.45);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

    .carousel-dot.active {
        width: 30px;
        background-color: rgba(255, 255, 255, 0.95);
    }

    .services-list-container {
        max-width: 100%;
        text-align: center;
        z-index: auto;
    }

    /* --- Services Detail Section (3-col → 1-col) --- */
    .services-detail-container {
        grid-template-columns: 1fr;
    }

    .services-detail-right {
        margin-top: 0;
    }

    .services-detail-middle .services-detail-item:nth-child(n+2),
    .services-detail-right .services-detail-item:nth-child(n+2) {
        margin-top: 2rem;
    }

    .services-detail-sticky {
        position: static;
    }

    /* --- Instudio Services Detail (3-col → 1-col) --- */
    .instudio-services-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .instudio-services-detail-left,
    .instudio-services-detail-middle,
    .instudio-services-detail-right {
        margin-top: 0;
    }

    .instudio-services-detail-left .instudio-services-detail-item:nth-child(2),
    .instudio-services-detail-middle .instudio-services-detail-item:nth-child(2),
    .instudio-services-detail-right .instudio-services-detail-item:nth-child(2) {
        margin-top: 2rem;
    }

    /* --- Inner Page Hero Title Section --- */
    .hero-title-section {
        padding: 60px 1rem;
        min-height: auto;
    }

    /* --- FAQ answer overflow fix --- */
    .faq-answer {
        margin-left: 0;
    }

    /* --- Testimonials --- */
    .testimonials-section {
        padding: 80px 1rem;
        min-height: auto;
    }

    .testimonials-container {
        width: 100%;
    }

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

    .testimonials-carousel {
        padding-right: 0;
        min-height: auto;
    }

    .testimonials-controls {
        flex-direction: row;
    }

    .testimonial-dot {
        width: 18px;
        height: 4px;
        transition: width 0.3s ease, background-color 0.3s ease;
    }

    .testimonial-dot.active {
        width: 30px;
        height: 4px;
    }

    /* --- About page (about.html) --- */
    .about-wrapper {
        padding: 80px 1rem 0;
    }

    .about-display {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-description {
        margin-left: 0;
    }

    /* --- About section (homepage) --- */
    .about {
        padding: 60px 20px;
    }

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

    .about-image {
        max-height: 80vw;
        width: 100%;
        flex: none;
    }

    /* --- Grid gallery section --- */
    .grid-gallery-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .grid-gallery-item img {
        height: 70vw;
    }

    /* --- Clients section --- */
    .clients {
        padding: 60px 20px;
    }

    /* --- Instagram section --- */
    .instagram-feed {
        padding: 60px 1rem 120px;
    }

    /* --- innerpage layout --- */
    .innerpage-content {
        margin-top: 6rem;
        gap: 8vh;
    }

    .innerpage-svg {
        max-height: 7rem;
    }

    /* --- Service section static FAQ layout --- */
    .service-section-static .service-container {
        flex-direction: column;
        gap: 2rem;
    }

    /* --- FAQ Section (onsite / instudio) --- */
    .faq-section {
        padding: 60px 1rem;
    }

    .faq-container {
        flex-direction: column;
        width: 100%;
        padding-top: 0;
        gap: 2rem;
    }

    .faq-content img {
        height: 6rem;
        padding-left: 1rem;
    }

    /* --- Services grid --- */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* --- Portfolio --- */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* --- Service details --- */
    .service-details-display {
        flex-direction: column;
        width: 90vw;
        gap: 2rem;
    }

    .service-details-content {
        max-width: 100%;
    }

    .service-details-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    /* --- Form --- */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* --- Scrolling image container (workshops) --- */
    .scrolling-image-container {
        width: 70vw;
        height: 300px;
    }

    .scrolling-image-container:first-child {
        left: 5vw;
    }

    .scrolling-image-container:last-child {
        right: 5vw;
        top: 250px;
    }

    /* --- Services list item --- */
    .services-list-item {
        padding: 20px;
    }

    .services-list-item h3 {
        font-size: 1.5rem;
    }

    .services-list-item p {
        font-size: 1rem;
    }

    /* --- Clients --- */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* --- Contact --- */
    .contact .container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact .container > img {
        max-height: 200px;
    }

    .contact-content-wrapper {
        width: 100%;
    }

    /* --- Blog --- */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-thumbnail {
        height: 220px;
    }

    .blog-card-content {
        padding: 25px;
    }

    .blog-card-content h3 {
        font-size: 1.3rem;
    }

    .blog-post {
        padding: 100px 20px 60px;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-featured-image {
        height: 300px;
        margin-bottom: 40px;
    }

    .blog-post-content {
        font-size: 1rem;
    }

    .blog-post-content h2 {
        font-size: 1.6rem;
    }

    .blog-post-content h3 {
        font-size: 1.3rem;
    }

    /* --- Footer --- */
    footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* --- Global 1rem horizontal padding --- */
    .about,
    .blog-grid-section,
    .blog-post,
    .clients,
    .contact,
    .container,
    .illustrations,
    .portfolio,
    .portfolio-masonry,
    .scrolling-images-section,
    .service-details,
    .services {
        padding-left: 1rem;
        padding-right: 1rem;
    }

}

/* Small mobile (max-width: 576px) */
@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
        column-gap: 0;
    }

    .container {
        padding: 0;
    }
}

/* Extra small (max-width: 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
        line-height: 3.25rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 3rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 36px;
        font-size: 0.9rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
