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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Navigation Bar */
.navbar {
    position: relative;
    width: 100%;
    max-width: 1280px;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
    margin: 0 auto;
}

.nav-container {
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-logo {
    display: block;
    height: 16.245px;
}

.nav-logo svg {
    height: 100%;
    width: auto;
    display: block;
}

.dark-nav .nav-logo svg polygon,
.dark-nav .nav-logo svg path,
.dark-nav .nav-logo svg rect {
    fill: #25302f;
}

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

.nav-link {
    color: #f4ede5;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.dark-nav .nav-link {
    color: #25302f;
}

.nav-link:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #f4ede5;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.dark-nav .hamburger span {
    background: #25302f;
}

/* Hamburger to X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    background: #ffffff !important;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg);
    background: #ffffff !important;
}

/* Hero button styles */
button,
.nav-cta-button {
    transition: background-color 0.3s ease;
}

button:hover,
.nav-cta-button:hover {
    background-color: #1c4531 !important;
}

button img,
.nav-cta-button img {
    transition: transform 0.3s ease;
}

button:hover img,
.nav-cta-button:hover img {
    transform: translateX(4px);
}

/* Headline and button size adjustment for small screens */
@media (max-width: 649px) {
    h1 {
        font-size: clamp(1.75rem, 5.5vw, 3.5rem) !important;
    }

    button {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.8rem !important;
    }

    button img {
        height: 14px !important;
    }
}

/* Mobile Navigation */
@media (max-width: 800px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem 2rem;
        gap: 1rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

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

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-menu.active .nav-link {
        font-size: 1.5rem !important;
        font-weight: 400 !important;
        color: #ffffff !important;
        text-align: left !important;
    }

    .navbar-black.menu-active .nav-link {
        color: #ffffff !important;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1001;
        margin-left: auto;
    }

    .navbar-black .hamburger span {
        background: #000000 !important;
    }

    .hamburger.active span {
        background: #ffffff !important;
    }

    .navbar-black.menu-active .nav-logo svg polygon,
    .navbar-black.menu-active .nav-logo svg path,
    .navbar-black.menu-active .nav-logo svg rect {
        fill: #ffffff !important;
    }

    .navbar-black.menu-active .hamburger span {
        background: #ffffff !important;
    }

    .nav-logo {
        z-index: 1001;
        display: block !important;
        height: 12.635px;
    }
}

.hero {
    background-color: #25302f;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.logo {
    max-width: 90%;
    width: 600px;
    height: auto;
    display: block;
}

.tagline {
    color: #f4ede5;
    font-size: 0.8rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    animation: fade-in 2.2s ease-in-out forwards;
}

.next-section {
    background-color: #25302f;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
}

.section-content {
    width: 50%;
    padding-right: 2rem;
}

.section-headline {
    color: #d49c2a;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: right;
    margin: 0 0 2rem 0;
}

.section-paragraph {
    color: #f4ede5;
    font-size: 0.875rem;
    line-height: 1.8;
    text-align: right;
    margin: 0;
    padding-bottom: 2.5rem;
    position: relative;
}

.section-paragraph::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10%;
    height: 1px;
    background-color: #f4ede5;
}

.section-subheadline {
    color: #d49c2a;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: right;
    margin: 2.5rem 0 0 0;
}

.section-list {
    color: #f4ede5;
    font-size: 0.875rem;
    line-height: 1.8;
    text-align: right;
    margin: 1.5rem 0 0 0;
}

.image-container {
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-left: 2rem;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    pointer-events: none;
    overflow: visible;
}

.scroll-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    position: absolute;
    top: -200px;
    overflow: visible;
}

.scroll-image .cart-ring {
    animation: spin 20s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.team-section {
    background-color: #25302f;
    min-height: 100vh;
    padding: 0 2rem 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-images {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 4rem;
    position: relative;
    max-width: 964px;
    margin: 0 auto;
}

.team-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #d49c2a;
}

.team-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #25302f;
    color: #d49c2a;
    padding: 0 1rem;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    white-space: nowrap;
}

.team-image {
    width: 300px;
    height: 350px;
    display: block;
    border-radius: 15px;
    object-fit: cover;
    object-position: center top;
}

.team-image-2 {
    object-position: center 10%;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-info {
    margin-top: 1rem;
    text-align: center;
}

.team-name {
    color: #f4ede5;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.team-title {
    color: #f4ede5;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.white-section {
    background-color: #d49c2a;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cart-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cart-bg-icon {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.08;
    transition: opacity 0.3s ease;
}

.cart-bg-icon.active {
    opacity: 0.5;
}

.white-section-headline {
    color: #25302f;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    width: 100%;
    position: relative;
    z-index: 1;
}

.headline-break {
    display: inline-block;
    margin-bottom: 2rem;
}

.cream-section {
    background-color: #f4ede5;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cream-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1200px;
}

.cream-headline-wrapper {
    position: relative;
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cream-headline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #d49c2a;
}

.cream-section-headline {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background-color: #f4ede5;
    color: #d49c2a;
    padding: 0 1rem;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    white-space: nowrap;
}

.cream-section-subheadline {
    color: #25302f;
    font-size: 1.25rem;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 4rem 0;
}

.cream-section-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.four-column-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.four-column-headline {
    color: #f4ede5;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    padding: 4rem 2rem 2rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
}

.four-column-content {
    display: flex;
    flex: 1;
}

.column {
    flex: 1;
    padding: 7rem 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.column-icon {
    max-width: 100%;
    height: auto;
    display: block;
}

.column-label {
    color: #d49c2a;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.column-description {
    color: #f4ede5;
    font-size: 0.875rem;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

.column-button {
    background-color: #ee352b;
    color: #f4ede5;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.column-button:hover {
    opacity: 0.8;
}

.column-1 {
    background-color: #242f2e;
}

.column-2 {
    background-color: #3a4645;
}

.column-3 {
    background-color: #505d5c;
}

.column-4 {
    background-color: #667473;
}

.new-cream-section {
    background-color: #f4ede5;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.new-cream-section .section-content {
    width: 100%;
    max-width: 1200px;
    padding-right: 50%;
    text-align: right;
}

.new-cream-section .section-headline {
    color: #25302f;
    margin-bottom: 0.5rem;
}

.new-cream-section .section-paragraph {
    color: #25302f;
    font-size: 1.5rem;
    font-weight: 600;
}

.new-cream-button {
    display: inline-block;
    margin-top: 0.5rem;
}

.new-cream-icon-container {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    padding: 2rem;
    overflow: visible;
}

.new-cream-icon {
    width: 300px;
    height: auto;
    max-width: 100%;
    overflow: visible;
}

.cream-cart-ring {
    animation: spin 20s linear infinite;
    transform-origin: center;
}

.footer {
    background-color: #ee352b;
    padding: 4rem 2rem 2rem 2rem;
}

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

.footer-logo {
    height: 20px;
}

.footer-logo svg {
    height: 100%;
    width: auto;
    display: block;
}

.footer-copyright {
    color: #f4ede5;
    font-size: 0.75rem;
    margin: 1rem 0 0 0;
}

.footer-text {
    color: #f4ede5;
    font-size: 0.75rem;
    margin: 0;
    padding-bottom: 1.5rem;
    position: relative;
    text-align: right;
}

.footer-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 5%;
    height: 2px;
    background-color: #f4ede5;
}

.footer-contact {
    color: #f4ede5;
    font-size: 0.75rem;
    margin: 1rem 0 0 0;
    text-align: right;
    line-height: 1.8;
}

.footer-contact-stroke {
    padding-top: 1.5rem;
    position: relative;
}

.footer-contact-stroke::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5%;
    height: 2px;
    background-color: #f4ede5;
}

.footer-email {
    color: #f4ede5;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

/* Pure stroke drawing animation with simultaneous fill */
.letter-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    fill-opacity: 0;
    animation: draw-and-fill 2.2s ease-in-out forwards;
}

@keyframes draw-and-fill {
    0% {
        stroke-dashoffset: 1000;
        fill-opacity: 0;
        stroke-opacity: 1;
    }
    60% {
        stroke-dashoffset: 400;
        fill-opacity: 1;
        stroke-opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        fill-opacity: 1;
        stroke-opacity: 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Large screens */
@media (min-width: 1080px) {
    .logo {
        width: 900px;
    }

    .tagline {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .scroll-image {
        max-width: 195px;
    }
}

@media (min-width: 1275px) {
    h1 {
        font-size: clamp(3rem, 5.5vw, 5rem) !important;
    }
}

@media (min-width: 1446px) {
    h1 {
        font-size: clamp(2.5rem, 5.5vw, 4.5rem) !important;
    }
}

@media (min-width: 1444px) {
    .column-icon {
        max-width: 70%;
    }

    .four-column-headline {
        font-size: 3rem;
        padding-bottom: 0.5rem;
    }

    .column {
        padding: 10rem 2rem 2rem 2rem;
    }

    .white-section-headline {
        font-size: 4.5rem;
    }

    .cream-section-headline {
        font-size: 3rem;
    }

    .team-label {
        font-size: 3rem;
    }

    .nav-container {
        max-width: 1600px;
        padding: 0 2rem;
    }

    .footer-content {
        max-width: 1600px;
    }

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

    .next-section {
        padding-bottom: 0;
    }

    .team-section {
        padding-top: 0;
        padding-bottom: 2rem;
        margin-top: -4rem;
    }

    .team-images {
        padding-top: 4rem !important;
    }

    .new-cream-section .section-content {
        max-width: 1600px;
    }
}

@media (min-width: 1028px) and (max-width: 1475px) {
    .next-section {
        padding-bottom: 0;
    }

    .team-section {
        padding-top: 0;
        margin-top: -4rem;
    }
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .nav-logo {
        display: none;
    }

    .nav-container {
        justify-content: flex-end;
    }

    .hero {
        background-size: 100% 100%;
        aspect-ratio: 1400 / 680;
        min-height: auto;
    }

    .next-section {
        padding: 4rem 2rem;
    }

    .section-content {
        width: 100%;
        padding-right: 0;
    }

    .section-headline {
        text-align: left;
    }

    .section-paragraph {
        text-align: left;
    }

    .section-paragraph::after {
        left: 0;
        right: auto;
    }

    .section-subheadline {
        text-align: left;
    }

    .section-list {
        text-align: left;
    }

    .image-container {
        display: none;
    }

    .scroll-image {
        display: none;
    }

    .team-section {
        padding-top: 6rem;
    }

    .four-column-content {
        flex-direction: column;
    }

    .column {
        width: 100%;
        padding-top: 10rem;
    }

    .column-icon {
        max-width: 50%;
    }

    section {
        overflow-x: hidden;
    }

    .new-cream-icon-container {
        display: none;
    }

    .new-cream-section .section-content {
        text-align: left;
        padding-right: 0;
    }

    .new-cream-section .section-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 518px) {
    .hero-content {
        gap: 0.65rem;
    }

    .logo {
        width: 85%;
        max-width: 450px;
    }

    .tagline {
        font-size: 0.5rem;
    }
}

@media (max-width: 468px) {
    .new-cream-section .section-headline {
        font-size: 1.75rem;
    }

    .new-cream-section .section-paragraph {
        font-size: 1rem;
    }
}

@media (max-width: 450px) {
    .column {
        padding: 12rem 2rem 12rem 2rem;
    }

    .footer-content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .footer-left {
        margin-top: 3rem;
    }

    .footer-right {
        width: 100%;
    }

    .footer-text {
        font-size: 0.65rem;
        text-align: left;
        padding-bottom: 1rem;
    }

    .footer-text::after {
        left: 0;
        right: auto;
    }

    .footer-contact {
        font-size: 0.65rem;
        text-align: left;
    }

    .footer-contact-stroke::before {
        left: 0;
        right: auto;
    }

    .footer-copyright {
        font-size: 0.65rem;
    }

    .footer-logo {
        height: 16px;
    }

    .white-section-headline {
        font-size: 1.5rem;
    }

    .white-section {
        min-height: 50vh;
    }

    .team-images::before {
        display: none;
    }

    .team-label {
        background-color: transparent;
    }

    .cream-section {
        min-height: 50vh;
        padding: 2rem 1rem;
    }

    .cream-section-headline {
        font-size: 1.25rem;
        white-space: normal;
    }

    .cream-headline-wrapper::before {
        display: none;
    }

    .cream-section-subheadline {
        font-size: 0.875rem;
        margin: 0 0 2rem 0;
    }

    .cream-section-image {
        max-width: 100%;
        height: auto;
    }
}


/* White background page */
.white-bg {
    background: #ffffff;
}

/* Black navbar for white background pages */
.navbar-black .nav-logo svg polygon,
.navbar-black .nav-logo svg path,
.navbar-black .nav-logo svg rect {
    fill: #000000 !important;
}

.navbar-black .nav-link {
    color: #000000 !important;
}

.navbar-black .hamburger span {
    background: #000000 !important;
}

/* Work page */
.work-page {
    padding-top: 100px;
    min-height: 100vh;
}

.work-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000000;
    text-align: left;
    font-size: 3.2rem;
    font-weight: normal;
    margin: 1.4rem 0 0 0;
    padding: 0 2rem;
}

.work-description {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000000;
    text-align: left;
    font-size: 1rem;
    font-weight: normal;
    margin: 3rem 0 0 0;
    padding: 0 2rem;
}

.work-tag {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 0.75rem;
    font-weight: normal;
    background: #e8e8e8;
    padding: 0.35rem 0.7rem;
    margin: 0.9rem 0.3rem 0 2rem;
    border-radius: 4px;
    display: inline-block;
}

.work-tag:first-of-type {
    margin-left: 2rem;
}

.work-tag:not(:first-of-type) {
    margin-left: -2px;
}

.video-container {
    position: relative;
    padding: 56.25% 0 0 0;
    margin: 3rem 2rem 0 2rem;
    width: calc(100% - 4rem);
    border-radius: 20px;
}

.video-container.video-container-tight {
    margin-top: 1rem;
}

.video-container iframe {
    border-radius: 0;
}

.work-middle-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000000;
    text-align: left;
    font-size: 2rem;
    font-weight: normal;
    margin: 5.5rem 0 8.5rem 0;
    padding: 0 2rem 0 calc(50% + 2rem);
}

@media (max-width: 1040px) {
    .work-title {
        font-size: 2.72rem;
    }

    .work-middle-text {
        padding: 0 2rem;
        font-size: 1.7rem;
    }
}

/* Work page - navbar stays fixed */
.white-bg .navbar {
    /* Inherits position: fixed and z-index: 1000 from base .navbar */
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 3rem 2rem 0 2rem;
}

@media (max-width: 800px) {
    .work-title {
        font-size: 2.31rem;
    }

    .work-middle-text {
        font-size: 1.45rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .work-footer-text-row {
        display: block !important;
        grid-template-columns: 1fr !important;
    }

    .work-footer-text-row .work-footer-text {
        margin: 0;
        padding: 0;
    }

    .work-footer-text-row .work-footer-text::after {
        display: none;
    }

    .work-footer-text-row:last-of-type {
        margin: 0;
    }

    .work-footer-text-row:last-of-type .work-footer-text {
        margin-bottom: 3rem;
        padding-bottom: 0;
    }

    .work-footer-text-row:last-of-type .work-footer-text::after {
        display: none !important;
    }

    .work-footer-about-text {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-right: 0;
    }

    .work-footer-text-row:first-child {
        margin-bottom: 0;
    }

    .work-footer-text-row:first-child .work-footer-text {
        margin-bottom: 0;
        padding-bottom: 0;
        position: relative;
    }

    .work-footer-text-row:first-child .work-footer-text::after {
        display: none !important;
    }

    .work-footer-text-row:first-child::after {
        display: none;
    }

    .work-footer-contact-info {
        display: flex;
        gap: 4rem !important;
        margin-top: 3rem;
        margin-bottom: 3rem;
        padding-bottom: 3rem;
        position: relative;
    }

    .work-footer-contact-info::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
    }

    .work-footer-location {
        margin: 0;
        padding: 0;
    }

    .work-footer-email {
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .work-footer-about-text {
        padding-right: 0;
    }

    .work-footer-copyright {
        text-align: left !important;
    }
}

.video-square {
    position: relative;
    padding-top: 100%;
    width: 100%;
    overflow: hidden;
}

.video-square iframe {
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-square-left iframe {
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-square-right iframe {
    width: 100%;
    height: 100%;
}

.video-footer-stroke {
    position: relative;
    margin-top: 8rem;
    padding-top: 1rem;
    padding-bottom: 3rem;
    width: 100%;
}

.video-footer-stroke::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
}


.video-footer-stroke .work-title {
    margin: 0 2rem;
    padding: 0;
}

.video-footer-stroke .work-description {
    margin: 3rem 2rem 0 2rem;
    padding: 0;
}

.video-footer-stroke > .work-tag:nth-child(4) {
    margin-left: 2rem !important;
}

.video-footer-stroke > .work-tag:nth-child(5) {
    margin-left: -2px !important;
}

.next-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 2rem 4rem 2rem;
}

.back-to-top-container-centered {
    text-align: center;
    margin: 4rem 0 2rem 0;
}

.back-to-top-arrow {
    color: #777777;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.back-to-top-centered {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-top-centered:hover {
    color: #777777;
    text-decoration: underline;
}

.next-project-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    margin: 0;
    padding: 0;
}

.back-to-top {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #777777;
    text-decoration: underline;
}

.next-project-preview {
    width: calc(100% - 4rem);
    height: 200px;
    margin: 0 2rem;
    overflow: hidden;
    position: relative;
}

.next-project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Hero image */
.hero-image-container {
    width: 100%;
    height: calc(56.25vw - 175px);
    position: relative;
    background: #cccccc;
    margin-top: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-text-box {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 1.171875rem;
    font-weight: normal;
    background: #e8e8e8;
    padding: 0 1.09375rem;
    border-radius: 6.25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.234375rem;
    height: 2.8125em;
    box-sizing: border-box;
}

.hero-text-animated {
    position: relative;
    overflow: hidden;
    width: 5.625em;
    height: 2.8125em;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0);
}

.hero-text-animated .hero-text-word {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.6s ease-in-out;
}

.hero-text-animated .hero-text-word.active {
    transform: translateY(0);
}

.hero-text-animated .hero-text-word.exit {
    transform: translateY(-100%);
}

.hero-text-reverse .hero-text-word {
    transform: translateY(-100%);
}

.hero-text-reverse .hero-text-word.active {
    transform: translateY(0);
}

.hero-text-reverse .hero-text-word.exit {
    transform: translateY(100%);
}

@keyframes rollUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

@keyframes rollIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.hero-subtitle-container {
    text-align: center;
    margin: 4rem 0 2rem 0;
}

.hero-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.hero-arrow {
    color: #777777;
    font-size: 1rem;
    margin-top: 0.75rem;
}

.project-section {
    position: relative;
    margin-bottom: 8rem;
    padding-bottom: 8rem;
}

.work-page .project-section {
    padding-bottom: 4rem;
    margin-bottom: 6rem;
}

.project-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.video-container-work {
    margin-top: 1.5rem;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: #cccccc;
    position: absolute;
    top: 0;
    left: 0;
}

/* Work page footer */
.work-footer {
    background: #000000;
    padding: 4rem 0 2rem 0;
    margin-top: 0;
}

.work-footer-content {
    padding: 0 2rem;
}

.work-footer-text-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 6rem;
    position: relative;
}

.work-footer-text-row::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.work-footer-text-row .work-footer-text {
    margin: 0;
    padding: 0;
}

.work-footer-text-row .work-footer-text::after {
    display: none;
}

.work-footer-contact-info {
    display: flex;
    gap: 10rem;
}

.work-footer-location {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    margin: 0;
    padding: 0;
}

.work-footer-email {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: underline;
}

.work-footer-email:hover {
    color: #777777;
    text-decoration: underline;
}

.work-footer-email:visited,
.work-footer-email:active,
.work-footer-email:focus {
    color: #ffffff;
    text-decoration: underline;
}

.work-footer-about-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    margin: 0;
    padding: 0 6rem 0 0;
    line-height: 1.4;
}

.work-footer-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    margin: 0 0 6rem 0;
    padding-bottom: 3rem;
    position: relative;
}

.work-footer-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.work-footer-logo {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 6rem;
}

.work-footer-copyright {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #777777;
    font-size: 0.75rem;
    font-weight: normal;
    text-align: right;
    margin: 6rem 0 0 0;
}
