@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,400&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --font-heading: 'Inter Tight', sans-serif;
    --font-body: 'Inter Tight', sans-serif;
}

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

html {
    background-color: var(--bg-color);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.detail-page {
    background: #000000;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4vw;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

/* Scrolled visual state matching Seymourpowell */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1); /* Opaque white behind icons */
    padding: 1.5rem 4vw;
    border-bottom: 1px solid #f0f0f0;
    --text-color: #000000;
}

.logo {
    z-index: 1100;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.04em;
    text-transform: lowercase; /* match screenshot seymourpowell style */
    transition: color 0.4s ease;
}

/* Hamburger default hidden */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 1.5px;
    background-color: var(--text-color);
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.3s, background-color 0.4s ease;
}

.menu {
    display: flex;
    align-items: center;
}

.menu-inner {
    display: flex;
    gap: 3rem;
}

.menu a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: opacity 0.3s ease, color 0.4s ease;
}

/* Highlight the current page, dim the others */
.menu-inner.has-current a:not(.current) {
    opacity: 0.4;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1), background-color 0.4s ease;
}

/* Roll-over animating underline effect */
.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Remove animated underline entirely for the current page */
.menu a.current::after {
    display: none !important;
}

/* Hero Section */
#bg-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    background-color: #000;
    pointer-events: none;
}

#bg-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
    pointer-events: none;
}

.bg-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

/* First loading animation: scale up from center */
.bg-image-item.initial-zoom-in {
    visibility: visible;
    animation: zoomInHero 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomInHero {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Subsequent images sliding in from right to left */
.bg-image-item.slide-in-right {
    visibility: visible;
    animation: slideInRightHero 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    z-index: 2;
}

@keyframes slideInRightHero {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

/* Slide out animation for current image when next one slides in */
.bg-image-item.slide-out-left {
    visibility: visible;
    animation: slideOutLeftHero 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    z-index: 1;
}

@keyframes slideOutLeftHero {
    0% {
        opacity: 1;
        transform: translateX(0%);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 15vh 4vw;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3.3rem, 7.5vw, 9.6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 95%;
    opacity: 0.8;
}

.line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 1rem;
    margin-bottom: -1rem;
}

.line-text {
    display: inline-block;
    transform: translateY(120%);
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line-mask:nth-child(1) .line-text { animation-delay: 0.1s; }
.line-mask:nth-child(2) .line-text { animation-delay: 0.25s; }
.line-mask:nth-child(3) .line-text { animation-delay: 0.4s; }
.line-mask:nth-child(4) .line-text { animation-delay: 0.55s; }

.serif-italic {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-weight: normal;
    padding-right: 0.1em;
}

/* Rotating Text */
.rotating-text-wrapper {
    display: inline-grid;
    vertical-align: bottom;
    color: #666;
    overflow: hidden;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.rotating-text {
    grid-area: 1 / 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.rotating-text.current {
    opacity: 1;
    transform: translateY(0);
    color: var(--text-color);
}

.rotating-text.out {
    opacity: 0;
    transform: translateY(-100%);
}

@keyframes slideUp {
    from {
        transform: translateY(120%);
    }
    to {
        transform: translateY(0);
    }
}

.contact-page {
    background: #ffffff;
}

.contact-main,
.about-main,
.work-main {
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.contact-intro-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 8vw, 8rem);
    align-items: start;
}

.contact-hero-image,
.about-hero-image {
    width: 100%;
    aspect-ratio: 16 / 8.6;
    overflow: hidden;
    background: #efefef;
}

.contact-hero-image img,
.about-hero-image img,
.contact-location img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.contact-talk {
    padding-top: clamp(0.2rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.contact-talk h2,
.contact-section h2 {
    margin: 0 0 1.3rem;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.contact-talk a,
.contact-enquiry a,
.contact-location-heading a,
.contact-footer-details a {
    color: inherit;
    text-decoration: none;
}

.contact-talk a {
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.18;
}

.contact-form {
    width: 100%;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form label {
    display: block;
}

.contact-form label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #111111;
    border-radius: 0;
    padding: 0.9rem 0;
    background: transparent;
    color: #000000;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    outline: none;
}

.contact-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.contact-message {
    grid-column: 1 / -1;
}

.contact-form button {
    margin-top: 1.8rem;
    border: 1px solid #000000;
    border-radius: 0;
    padding: 0.95rem 1.4rem;
    background: #000000;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.contact-form button:hover {
    background: #ffffff;
    color: #000000;
}

.contact-talk a:hover,
.contact-enquiry a:hover,
.contact-location-heading a:hover,
.contact-footer-details a:hover {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.contact-section {
    padding: clamp(4rem, 9vw, 9rem) 4vw;
    border-top: 1px solid #111111;
}

.contact-enquiry-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 5rem);
}

.contact-enquiry h3,
.contact-location h3 {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1;
}

.contact-enquiry p {
    margin: 0 0 1.5rem;
    max-width: 32rem;
    color: #222222;
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    line-height: 1.28;
}

.contact-enquiry a {
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    font-weight: 500;
}

.contact-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.2vw, 2.2rem);
}

.contact-location-heading {
    min-height: 3.4rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.contact-location-heading a {
    padding-top: 0.15rem;
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    font-weight: 500;
}

.contact-location img {
    aspect-ratio: 1.36 / 1;
    margin-bottom: 1.2rem;
    background: #efefef;
}

.contact-location p {
    margin: 0;
    font-size: clamp(1.05rem, 1.25vw, 1.3rem);
    line-height: 1.22;
}

.contact-footer-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    color: #ffffff;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
}

/* Work Page Styles */
.work-section {
    padding: 10vh 4vw 6.5vh;
}

.about-page .work-section {
    padding-bottom: 0;
}

.hero-title-work {
    font-family: var(--font-heading);
    font-size: clamp(2.76rem, 4.8vw, 65.6px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

/* About Page */
.about-hero {
    padding: 15vh 4vw 5vh;
}

.about-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 17vw, 16rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: 0;
}

.about-full-image {
    width: 100%;
    background: #ffffff;
}

.about-full-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-statement {
    padding: clamp(5rem, 10vw, 10rem) 4vw;
    background: #ffffff;
}

.about-statement h2 {
    max-width: 12em;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
}

.about-statement span {
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: normal;
}

.about-content {
    padding: clamp(5rem, 10vw, 10rem) 4vw;
    background: #ffffff;
}

.about-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: clamp(1rem, 3vw, 3.5rem);
    align-items: center;
    margin-bottom: clamp(0.8rem, 1.8vw, 1.8rem);
}

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

.about-image img {
    width: 100%;
    display: block;
}

.about-text h2,
.about-belonging h2 {
    margin: 0 0 1.2rem;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.about-text p,
.about-belonging p {
    margin: 0;
    max-width: 38rem;
    font-size: clamp(1.08rem, 1.35vw, 1.35rem);
    line-height: 1.3;
}

.about-text a {
    display: inline-block;
    margin-top: 2rem;
    color: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.about-belonging {
    padding: clamp(5rem, 10vw, 10rem) 4vw;
    background: #000000;
    color: #ffffff;
}

.about-belonging-inner {
    max-width: 58rem;
    margin-left: 0;
    margin-right: auto;
}

.about-belonging p + p {
    margin-top: 1.2rem;
}

.about-full-image-black {
    background: #000000;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px 12px;
}

.work-preview_link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.work-preview_link:first-child {
    grid-column: span 2;
}

.work-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.work-preview_link:first-child .work-image-wrapper {
    aspect-ratio: 16 / 10;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-preview_link:hover .work-image {
    transform: scale(1.03); 
}

.work-meta-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(1rem, 2vw, 2rem);
}

.work-text-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.work-title {
    font-family: var(--font-body);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.work-desc {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    color: #a3a3a3;
    letter-spacing: -0.02em;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Case Study Detail Pages */
.case-study {
    padding-top: 0;
    width: 100%;
}

.case-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background-color: #000;
}

.case-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.case-hero-content {
    position: absolute;
    bottom: 10%;
    left: 4vw;
    color: #fff;
    max-width: 800px;
}

.case-title {
    font-size: clamp(3rem, 6vw, 82px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.case-subtitle {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 300;
    opacity: 0.9;
}

.case-details {
    padding: 6.5vh 4vw;
    background: var(--bg-color);
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 8vh;
}

.case-col-left {
    padding-right: 20px;
}

.case-heading {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.case-text {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 2rem;
}

.case-meta {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.case-meta h4 {
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.case-full-image {
    width: 100%;
    height: auto;
    margin-bottom: 8vh;
    display: block;
}

.case-half-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 8vh;
}

.case-half-image {
    width: 100%;
    height: auto;
    display: block;
}

.case-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8vh;
}

.case-image-gallery .case-full-image {
    margin-bottom: 0;
}

.case-image-gallery .case-half-images {
    gap: 12px;
    margin-bottom: 0;
}

.case-return-block {
    width: 100%;
    margin: 9vh 0 2vh;
    border-bottom: 1px solid #d8d8d8;
}

.case-return-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 0 28px;
    color: #666666;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.case-return-link:hover {
    color: #000000;
    transform: translateX(-4px);
}

.case-return-arrow {
    width: 13px;
    height: 13px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.footer-reveal-spacer {
    position: relative;
    z-index: 1;
    height: clamp(254px, 38vh, 403px);
    pointer-events: none;
}

.site-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: clamp(254px, 38vh, 403px);
    min-height: clamp(254px, 38vh, 403px);
    display: flex;
    align-items: flex-start;
    background: #000000;
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(24px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

body.footer-reveal-active .site-footer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.site-footer-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(3rem, 8vh, 5.5rem) 4vw 1.7rem;
}

.site-footer-cta {
    max-width: 1100px;
}

.site-footer-kicker,
.site-footer-talk {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.808rem, 4.5vw, 4.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
}

.site-footer-kicker {
    margin: 0 0 0.18em;
}

.site-footer-kicker span {
    display: block;
}

.site-footer-talk {
    width: max-content;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: normal;
    text-decoration: none;
}

.site-footer-talk::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0.02em;
    width: 100%;
    height: 0.018em;
    background: currentColor;
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.86, 0, 0.07, 1);
}

.site-footer-talk:hover::after {
    transform: translateX(-102%);
}

.site-footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.site-footer-socials {
    display: flex;
    align-items: center;
    gap: clamp(1.3rem, 2.2vw, 2.1rem);
}

.site-footer-icon {
    width: clamp(1.25rem, 1.55vw, 1.75rem);
    height: clamp(1.25rem, 1.55vw, 1.75rem);
    display: block;
}

.site-footer-copy {
    margin: 0;
    color: #6f6f6f;
    font-size: clamp(0.72rem, 0.9vw, 0.95rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: right;
}

/* Alternative Case Study Layout */
.case-study-alt {
    padding-top: 10vh;
    width: 100%;
    position: relative;
    z-index: 2;
    background: var(--bg-color);
}

.case-header-alt {
    padding: 0 4vw 3.5vh;
}

.case-title-row-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.case-title-alt {
    font-size: clamp(2.76rem, 4.8vw, 65.6px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0;
    color: var(--text-color);
}

.case-title-row-alt .case-title-alt {
    margin-bottom: 0;
}

.case-awards-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.5rem, 1.2vw, 1rem);
    flex: 0 0 auto;
    max-width: 48vw;
}

.case-award-img-alt {
    height: clamp(3rem, 6vw, 82px);
    width: auto;
    flex: 0 0 auto;
}

.case-subtitle-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35em 1.6em;
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 2rem);
    font-weight: 400;
    opacity: 0.8;
    color: #666;
}

.detail-page .case-subtitle-alt {
    flex-direction: column;
    gap: 0.2em;
    font-size: clamp(1.125rem, 1.35vw, 1.35rem);
}

.case-title-row-alt + .case-subtitle-alt {
    margin-top: 0.3rem;
}

.case-hero-alt {
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.case-hero-img-alt {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Awards Section Styles */
.awards {
    padding: 10vh 4vw;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: stretch;
}

.awards-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 40px;
}

.awards-count {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 6.4vw, 5.6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
}

.see-all-awards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding-top: 15px;
    padding-bottom: 0px;
    margin-bottom: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    border-bottom: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

.see-all-awards:hover {
    border-top-color: rgba(0, 0, 0, 0.6);
}

.see-all-awards svg {
    transition: transform 0.3s ease;
}

.see-all-awards:hover svg {
    transform: rotate(90deg);
}

.awards-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 80px;
    column-gap: 40px;
}

.award-item {
    display: block;
    position: relative;
    padding-bottom: 0px;
    --award-content-opacity: 0.8;
}

.award-logo {
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    padding-bottom: 15px;
    overflow: hidden;
    --award-line-opacity: 0.2;
    animation: awardLineRise 6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    animation-delay: var(--delay, 0s);
    animation-fill-mode: both;
}

.award-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    opacity: var(--award-content-opacity);
    transform: translateY(120%);
    animation: sunRise 6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    animation-delay: var(--delay, 0s);
}

.award-item:hover .award-logo {
    --award-line-opacity: 0.6;
}

@keyframes awardLineRise {
    0%, 15% {
        border-bottom-color: rgba(0, 0, 0, 0);
    }
    25%, 85% {
        border-bottom-color: rgba(0, 0, 0, var(--award-line-opacity));
    }
    95%, 100% {
        border-bottom-color: rgba(0, 0, 0, 0);
    }
}

.award-name-wrap {
    overflow: hidden;
    padding-top: 15px;
}

.award-name {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    opacity: var(--award-content-opacity, 0.8);
    transform: translateY(120%);
    animation: textRise 6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes sunRise {
    0%, 15% {
        transform: translateY(120%);
        opacity: 0;
    }
    25%, 85% {
        transform: translateY(0);
        opacity: var(--award-content-opacity, 0.8);
    }
    95%, 100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

@keyframes textRise {
    0%, 15% {
        transform: translateY(120%);
        opacity: 0;
    }
    25%, 85% {
        transform: translateY(0);
        opacity: var(--award-content-opacity, 0.8);
    }
    95%, 100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

/* Expanded Awards List */
.awards-expanded-list {
    display: none;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.awards-expanded-list.open {
    display: block;
    animation: fadeInSlideDown 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.awards-year-group {
    margin-bottom: 32px;
}

.awards-year {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 8px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.awards-year::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 150px;
    width: 6px;
    height: 12px;
    background: #ff6600;
    transform: skewX(-20deg) translateY(50%);
    border: 1px solid #000;
}

.awards-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.awards-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.award-title {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    padding-right: 20px;
    line-height: 1.4;
}

.award-right-group {
    display: flex;
    align-items: center;
    gap: 40px; 
    width: 360px;
    flex-shrink: 0;
}

.award-logo-small {
    width: 80px;
    display: flex;
    justify-content: flex-start;
}

.award-logo-small img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.award-detail {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.award-detail .category {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 4px;
}

.award-detail .prize {
    font-weight: 600;
    font-size: 1rem;
}

/* ========================================================= */
/* Mobile Responsiveness                                     */
/* ========================================================= */
@media only screen and (max-width: 900px) {
    /* Navbar overrides for mobile */
    .hamburger {
        display: flex;
    }
    
    .navbar.scrolled {
        padding: 1.5rem 4vw;
        background-color: #ffffff;
    }
    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        opacity: 1; /* Slide down instead of fade */
        transform: translateY(-100%);
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
        padding-top: 15vh; /* Drop below the navbar */
    }

    .menu.open {
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0 4vw;
    }

    .menu a {
        display: inline-block;
        width: auto;
        padding: 1rem 0;
        font-family: var(--font-heading);
        font-size: clamp(3.5rem, 12vw, 5rem);
        font-weight: 700;
        color: #ffffff;
        border-bottom: none;
        letter-spacing: -0.02em;
        transform-origin: left center;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    }
    
    .menu-inner:has(a:hover) a:not(:hover) {
        opacity: 0.3;
    }
    
    .menu a:hover {
        transform: scale(1.15);
    }
    
    .menu a::after {
        display: none; /* Disable the desktop underline hover effect */
    }

    /* Change navbar content colors to white when menu is open */
    .navbar.menu-open .logo a {
        color: #ffffff;
    }
    
    .navbar.menu-open .hamburger span {
        background-color: #ffffff;
    }

    /* Menu open Hamburger icon animation */
    .navbar.menu-open .hamburger span:nth-child(1) {
        transform: translateY(4.5px) rotate(45deg);
    }
    .navbar.menu-open .hamburger span:nth-child(2) {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    /* Hero Text Mobile Size tweaks */
    .hero-title {
        font-size: clamp(2.75rem, 11vw, 4rem);
    }
    
    .line-mask {
        padding-bottom: 0.5rem;
        margin-bottom: -0.5rem;
    }

    /* Work Page Mobile Resets */
    .hero-title-work {
        font-size: clamp(2.3rem, 4.8vw, 2.7rem);
        margin-bottom: 30px;
    }

    .about-statement {
        padding: 4rem 4vw;
    }
    .about-statement h2 {
        font-size: clamp(2.8rem, 7vw, 3.9375rem);
    }
    .about-content {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .about-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 0.8rem;
    }
    .about-text h2,
    .about-belonging h2 {
        font-size: clamp(1.8rem, 3.8vw, 2.1375rem);
    }
    .about-belonging {
        padding: 4rem 4vw;
    }
    .about-belonging-inner {
        margin-left: 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .work-preview_link:first-child {
        grid-column: span 1;
    }

    .work-meta-row {
        gap: 1rem;
    }

    /* Case Study Mobile Overrides */
    .case-title {
        font-size: clamp(2.2rem, 6vw, 3.375rem);
    }
    .case-title-alt {
        font-size: clamp(2.3rem, 4.8vw, 2.7rem);
    }
    .case-awards-alt {
        gap: clamp(0.35rem, 1.6vw, 0.75rem);
    }
    .case-award-img-alt {
        height: clamp(2.5rem, 6vw, 3.375rem);
    }
    .detail-page .case-subtitle-alt {
        font-size: clamp(1.125rem, 1.35vw, 1.35rem);
        gap: 0.22em;
    }
    .case-hero, .case-hero-alt {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .case-text {
        font-size: 1.2rem;
    }
    .case-half-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .case-image-gallery .case-half-images {
        gap: 12px;
    }
    .case-return-block {
        width: 100%;
        margin: 7vh 0 1vh;
    }
    .case-return-link {
        gap: 14px;
        padding-bottom: 22px;
    }
    .footer-reveal-spacer,
    .site-footer {
        min-height: 273px;
        height: 273px;
    }
    .site-footer {
        align-items: flex-start;
    }
    .site-footer-inner {
        padding: 3.5rem 4vw 1.4rem;
    }
    .site-footer-kicker,
    .site-footer-talk {
        font-size: clamp(2.496rem, 4.5vw, 2.53125rem);
    }
    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
    .site-footer-socials {
        gap: 1.25rem;
    }
    .site-footer-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    .site-footer-copy {
        font-size: 0.72rem;
        text-align: left;
    }

    .contact-intro-grid,
    .contact-enquiry-list,
    .contact-location-grid {
        grid-template-columns: 1fr;
    }
    .contact-intro-grid {
        gap: 2rem;
    }
    .contact-hero-image,
    .about-hero-image {
        aspect-ratio: 1 / 0.82;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .contact-section {
        padding: 4rem 4vw;
    }
    .contact-enquiry-list,
    .contact-location-grid {
        gap: 3rem;
    }
    .contact-location-heading {
        min-height: 0;
        margin-bottom: 1rem;
    }
    .contact-location img {
        margin-bottom: 1rem;
    }
    .contact-footer-details {
        font-size: 0.85rem;
    }

    /* Awards Mobile Overrides */
    .awards-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .awards-info {
        display: contents;
    }
    .awards-count {
        order: 1;
        margin-bottom: 40px;
    }
    .awards-count span {
        margin-left: 10px;
    }
    .awards-logos-grid {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 40px;
    }
    .see-all-awards {
        order: 3;
        margin-top: 0;
    }
    .awards-items li {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .award-title {
        padding-right: 0;
        width: 100%;
    }
    .award-right-group {
        width: 100%;
        gap: 20px;
    }
    .award-logo-small {
        width: 60px;
    }
}

/* Moodboard Layout Grid */
.moodboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 5vw;
    gap: 12px;
    width: 100%;
    margin-bottom: 8vh;
}
.moodboard-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}
.moodboard-item-1 { grid-column: 1; grid-row: 1 / span 5; }
.moodboard-item-2 { grid-column: 1; grid-row: 6 / span 4; }
.moodboard-item-3 { grid-column: 2; grid-row: 1 / span 4; }
.moodboard-item-4 { grid-column: 2; grid-row: 5 / span 5; }
.moodboard-item-5 { grid-column: 3; grid-row: 1 / span 6; }
.moodboard-item-6 { grid-column: 3; grid-row: 7 / span 3; }

@media only screen and (max-width: 900px) {
    .moodboard-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 5vw;
    }
}

/* Featured Stories Eyebrow & Slider */
.featured-section {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    z-index: 10;
}

.hero_eyebrow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.35rem, 0.7vw, 0.75rem);
    width: 100%;
    box-sizing: border-box;
    padding: clamp(3rem, 6vw, 5.5rem) 4vw clamp(1.25rem, 2vw, 2.25rem);
    background-color: #fff;
    color: #000;
    overflow: hidden;
}

.hero_eyebrow.home {
    opacity: 0;
    transform: translateY(56px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero_eyebrow.home.revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.eyebrow-text {
    width: calc(100% - 2vw);
    margin: 0 1vw;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.75rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
}

.filter-underline-2 {
    width: calc(100% - 2vw);
    margin: 0 1vw;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.4);
    flex: 0 0 auto;
}

.slider_wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: clamp(1.75rem, 2.5vw, 2.5rem) 0 clamp(4rem, 6vw, 6rem);
    background-color: #fff;
    overflow: hidden;
    z-index: 10; /* Above the fixed bg container */
    opacity: 0;
    transform: translateY(56px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slider_wrapper.revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
}

.slider-track {
    display: flex;
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    padding-left: 4vw;
}

.slide-item {
    flex: 0 0 calc((100% - 8vw) / 3);
    width: calc((100% - 8vw) / 3);
    aspect-ratio: 1 / 1.06;
    height: calc(((100vw - 8vw) / 3) * 1.06);
    padding: 0 1vw;
    box-sizing: border-box;
    position: relative;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    --slide-text-pad: clamp(1.5rem, 3vw, 3rem);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--slide-text-pad);
    z-index: 2;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
    opacity: 0.6;
}

.slide-desc {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.25vw, 1rem);
    font-weight: 300;
    line-height: 0.85;
    opacity: 0.6;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 3vw;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .slider-track {
        padding-left: 4vw;
    }

    .slide-item {
        flex-basis: calc((100% - 8vw) / 2);
        width: calc((100% - 8vw) / 2);
        height: calc(((100vw - 8vw) / 2) * 1.06);
    }
}

/* Mobile responsive slider */
@media (max-width: 768px) {
    .hero_eyebrow {
        padding: clamp(2.25rem, 12vw, 3.75rem) 5vw clamp(0.875rem, 4vw, 1.375rem);
        gap: clamp(0.3rem, 1.5vw, 0.5rem);
    }

    .hero_eyebrow.home {
        transform: translateY(36px);
    }

    .hero_eyebrow.home.revealed {
        transform: translateY(0);
    }

    .eyebrow-text {
        width: calc(100% - 4vw);
        margin: 0 2vw;
        font-size: clamp(0.875rem, 2vw, 1rem);
    }

    .filter-underline-2 {
        width: calc(100% - 4vw);
        margin: 0 2vw;
    }

    .slider_wrapper {
        padding: clamp(1rem, 4vw, 1.5rem) 0 clamp(3rem, 10vw, 4rem);
        transform: translateY(36px);
    }

    .slider_wrapper.revealed {
        transform: translateY(0);
    }
    
    .slider-track {
        padding-left: 5vw; /* Center the 90vw slide */
    }
    
    .slide-item {
        flex: 0 0 90%;
        width: 90%;
        aspect-ratio: 1 / 1.06;
        height: 95.4vw;
        padding: 0 2vw; /* Adjust gaps for mobile */
    }
    
    .slide-content {
        --slide-text-pad: clamp(1.25rem, 5vw, 2rem);
        padding: var(--slide-text-pad);
    }

    .slide-title {
        font-size: clamp(0.875rem, 2vw, 1rem);
    }

    .slide-desc {
        font-size: clamp(0.8rem, 1.25vw, 0.9rem);
    }
    
    .slider-controls {
        padding: 0 1vw;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
}
