:root {
    --qode-main-color: #000;
    --qode-bg: #fff;
    --qode-soft: #f6f6f6;
    --qode-muted: #6f6f6f;
    --qode-line: #d9d9d9;
    --qode-display: "Krona One", sans-serif;
    --qode-body: "Rubik", sans-serif;
    --qode-grid: min(1400px, calc(100vw - 96px));
    --qode-ease: cubic-bezier(.22, .61, .36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--qode-bg);
    color: var(--qode-main-color);
    font-family: var(--qode-body);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.qode-grid {
    width: var(--qode-grid);
    margin-inline: auto;
}

.qode-section {
    position: relative;
    width: 100%;
}

.cursor,
.cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
}

.cursor {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-label {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-family: var(--qode-display);
    font-size: 10px;
    transform: translate(-50%, -50%) scale(.7);
    transition: opacity .2s var(--qode-ease), transform .2s var(--qode-ease);
}

.cursor-label.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    background: rgba(255, 255, 255, 0);
    transition: height .35s var(--qode-ease), background .35s var(--qode-ease), box-shadow .35s var(--qode-ease);
}

.site-header.is-scrolled {
    height: 74px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 86px;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.4);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    font-family: var(--qode-display);
    font-size: 12px;
    text-transform: capitalize;
}

.desktop-nav a {
    position: relative;
    padding: 42px 0;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 34px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .38s var(--qode-ease);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 120;
}

.menu-button span {
    display: block;
    width: 29px;
    height: 2px;
    margin: 6px auto;
    background: #000;
    transition: transform .3s var(--qode-ease), opacity .3s var(--qode-ease);
}

.menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-items: center;
    padding: 110px 34px 34px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .55s var(--qode-ease);
}

.mobile-panel.is-open {
    transform: translateX(0);
}

.mobile-panel nav {
    display: grid;
    gap: 22px;
    font-family: var(--qode-display);
    font-size: clamp(30px, 10vw, 72px);
    line-height: 1;
    text-transform: lowercase;
}

.hero {
    min-height: 100vh;
    padding-top: 105px;
    display: block;
    overflow: hidden;
    background: #fff;
}

.hero-bg-text {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 0;
    display: grid;
    align-content: space-between;
    height: clamp(650px, 68vw, 880px);
    gap: 0;
    pointer-events: none;
    transform: rotate(-9deg) scale(1.08);
    opacity: 0;
    animation: heroBgIn 1s .25s var(--qode-ease) forwards;
}

.hero-bg-text div {
    font-family: var(--qode-display);
    font-size: clamp(60px, 10.7vw, 190px);
    line-height: .92;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .2);
    animation: marqueeText 34s linear infinite;
}

.hero-bg-text div:nth-child(even) {
    animation-direction: reverse;
}

.hero-slider {
    position: relative;
    z-index: 2;
    width: min(100vw, 1540px);
    height: clamp(610px, 64vw, 790px);
    margin: 0 auto;
    transform: translateY(24px) rotate(-7.2deg);
}

.hero-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(330px, 31vw, 560px);
    aspect-ratio: 527 / 695;
    overflow: hidden;
    background: #eee;
    transform: translate(-50%, -50%) translateX(calc(var(--offset, 0) * 360px)) scale(var(--scale, 1));
    transition: transform .85s var(--qode-ease), opacity .85s var(--qode-ease), filter .85s var(--qode-ease);
    opacity: var(--opacity, 1);
    filter: grayscale(var(--gray, 0)) contrast(1.02);
    will-change: transform;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(7.2deg) scale(1.19);
    transition: transform 1s var(--qode-ease), filter .5s var(--qode-ease);
}

.hero-card:hover img {
    transform: rotate(7.2deg) scale(1.26);
    filter: saturate(1.08);
}

.hero-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
    transform: rotate(7.2deg) translateY(30%);
    opacity: 0;
    transition: transform .4s var(--qode-ease), opacity .4s var(--qode-ease);
}

.hero-card:hover .hero-card__caption,
.hero-card.is-active .hero-card__caption {
    transform: rotate(7.2deg) translateY(0);
    opacity: 1;
}

.hero-card__caption span {
    font-size: 12px;
    text-transform: uppercase;
}

.hero-card__caption strong {
    font-family: var(--qode-display);
    font-size: 18px;
    font-weight: 400;
}

.hero-intro {
    position: relative;
    z-index: 3;
    width: min(1380px, calc(100vw - 96px));
    margin: clamp(72px, 7vw, 108px) auto clamp(38px, 4.5vw, 64px);
    text-align: center;
    opacity: 0;
    transform: translateY(34px);
    animation: revealUp .8s .5s var(--qode-ease) forwards;
}

.hero-intro span,
.info-block > span,
.portfolio-intro > span {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--qode-muted);
}

.hero-intro h1 {
    font-family: var(--qode-display);
    font-size: clamp(34px, 3.9vw, 58px);
    line-height: 1.22;
    font-weight: 400;
    max-width: 1360px;
    margin-inline: auto;
}

.hero-intro p {
    max-width: 980px;
    margin: 30px auto 0;
    color: #333;
    font-size: clamp(20px, 1.75vw, 26px);
    line-height: 1.62;
}

.hero-cta {
    margin-top: 38px;
}

.hero-meta {
    position: absolute;
    z-index: 5;
    right: 48px;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--qode-display);
    font-size: 12px;
}

.arrow-button,
.outline-button,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-family: var(--qode-display);
    font-size: 12px;
    text-transform: uppercase;
}

.arrow-button {
    width: 64px;
    height: 64px;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 50%;
    transition: color .25s, background .25s, transform .25s var(--qode-ease);
}

.arrow-button:hover {
    color: #fff;
    background: #000;
    transform: translateX(4px);
}

.arrow-button svg,
.outline-button svg,
.text-link svg {
    width: 28px;
    height: 18px;
    fill: currentColor;
}

.numbered {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    padding: 64px 0 92px;
}

.numbered article {
    position: relative;
    min-height: 220px;
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.ghost-num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--qode-display);
    font-size: clamp(96px, 12vw, 180px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .13);
    line-height: 1;
}

.numbered strong {
    position: relative;
    font-family: var(--qode-display);
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
}

.numbered h2 {
    position: relative;
    margin-top: 18px;
    font-family: var(--qode-display);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 400;
    text-transform: none;
}

.numbered p {
    position: relative;
    max-width: 230px;
    margin-top: 13px;
    color: var(--qode-muted);
}

.services-more {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 18px;
}

.services-quote {
    grid-column: 1 / -1;
    justify-self: center;
    position: relative;
    width: min(1180px, 100%);
    margin: clamp(42px, 5vw, 72px) auto 0;
    padding: clamp(58px, 7vw, 112px) clamp(18px, 5vw, 80px) clamp(36px, 5vw, 70px);
    border: 0;
    font-family: var(--qode-display);
    font-size: clamp(26px, 3.25vw, 54px);
    line-height: 1.32;
    font-weight: 400;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    overflow: hidden;
}

.services-quote::before {
    content: "“";
    position: absolute;
    top: clamp(-28px, -2vw, -10px);
    left: 50%;
    z-index: -1;
    font-family: Georgia, serif;
    font-size: clamp(190px, 25vw, 430px);
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(229, 183, 54, .58);
    transform: translateX(-50%);
}

.services-quote::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(170px, 32vw);
    height: 4px;
    background: #e5b736;
    transform: translateX(-50%);
}

.impact-marquee {
    overflow: hidden;
    margin: clamp(22px, 3vw, 42px) 0 clamp(18px, 3vw, 38px);
    padding: clamp(18px, 2.2vw, 30px) 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #000;
    color: #fff;
}

.impact-marquee__track {
    display: flex;
    width: max-content;
    gap: clamp(28px, 4vw, 64px);
    animation: impactMarquee 24s linear infinite;
}

.impact-marquee__track span {
    position: relative;
    font-family: var(--qode-display);
    font-size: clamp(30px, 5vw, 76px);
    line-height: 1;
    white-space: nowrap;
}

.impact-marquee__track span::after {
    content: "·";
    position: absolute;
    right: calc(clamp(28px, 4vw, 64px) * -0.62);
    color: #e5b736;
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(50px, 8vw, 116px);
    row-gap: 80px;
    padding: 36px 0 118px;
}

.portfolio-intro {
    position: relative;
    min-height: 420px;
    align-self: center;
    display: grid;
    align-content: center;
    padding-right: 8vw;
}

.background-word {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: -18px;
    margin: 0;
    font-family: var(--qode-display);
    font-size: clamp(88px, 13vw, 210px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .13);
    text-transform: lowercase;
    transform: translateY(-50%);
}

.portfolio-intro h2,
.info-block h2 {
    font-family: var(--qode-display);
    font-size: clamp(38px, 5.8vw, 86px);
    line-height: 1.15;
    font-weight: 400;
    text-transform: uppercase;
}

.portfolio-intro .text-link {
    margin-top: 26px;
}

.portfolio-item:nth-child(odd) {
    margin-top: 70px;
}

.portfolio-item a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eee;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    transition: transform .85s var(--qode-ease), filter .85s var(--qode-ease);
}

.portfolio-item--tall img {
    min-height: 720px;
}

.portfolio-item--square img {
    min-height: 580px;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .36);
    opacity: 0;
    transition: opacity .42s var(--qode-ease);
}

.portfolio-item:hover img {
    transform: scale(1.06);
    filter: grayscale(1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item h3,
.studio-track h3 {
    margin-top: 22px;
    font-family: var(--qode-display);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 400;
}

.portfolio-item p,
.studio-track p {
    margin-top: 5px;
    color: var(--qode-muted);
}

.clients {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(34px, 4vw, 62px);
    padding: clamp(74px, 7vw, 108px) 0 clamp(28px, 4vw, 54px);
}

.clients span {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-height: clamp(126px, 10vw, 162px);
    padding: clamp(42px, 4.5vw, 66px) 0 0;
    border: 0;
    font-family: var(--qode-display);
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
    isolation: isolate;
    transition: color .25s var(--qode-ease);
}

.clients span::before {
    content: attr(data-stat);
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .14);
    font-family: var(--qode-display);
    font-size: clamp(82px, 8.5vw, 142px);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.03em;
    white-space: nowrap;
    pointer-events: none;
}

.clients small {
    display: block;
    margin-bottom: 0;
    color: #000;
    font-family: var(--qode-body);
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
}

.clients strong {
    display: block;
    width: min(100%, 250px);
    color: #000;
    font-size: clamp(17px, 1.45vw, 26px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: .035em;
    text-align: center;
    text-transform: uppercase;
}

.clients span:hover {
    color: #e5b736;
}

.clients span:hover::before {
    -webkit-text-stroke-color: rgba(229, 183, 54, .5);
}

.studio {
    padding: 132px 0 118px;
    overflow: hidden;
}

.contact-studio {
    padding-top: clamp(42px, 5vw, 76px);
}

.studio .info-block {
    width: var(--qode-grid);
    margin-inline: auto;
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 540px) minmax(280px, 420px);
    gap: 80px;
    align-items: end;
}

.contact-studio .info-block {
    display: block;
    min-height: clamp(460px, 44vw, 620px);
    padding-top: clamp(54px, 6vw, 90px);
}

.contact-studio .background-word {
    top: clamp(98px, 11vw, 150px);
    left: -1.2vw;
    font-size: clamp(92px, 14vw, 222px);
    transform: none;
}

.contact-studio .info-block h2 {
    position: relative;
    z-index: 1;
    margin-top: clamp(54px, 7vw, 104px);
    font-size: clamp(48px, 7.4vw, 118px);
    line-height: .92;
}

.info-block p:not(.background-word) {
    color: var(--qode-muted);
}

.contact-studio .info-block p:not(.background-word) {
    max-width: 760px;
    margin-top: clamp(42px, 5vw, 78px);
    color: #222;
    font-size: clamp(17px, 1.15vw, 21px);
    line-height: 1.5;
}

.contact-studio .outline-button {
    margin-top: 32px;
}

.outline-button {
    width: max-content;
    margin-top: 28px;
    padding: 17px 25px;
    border: 1px solid #000;
    transition: color .25s, background .25s;
}

.outline-button:hover {
    color: #fff;
    background: #000;
}

.studio-slider {
    margin-top: 92px;
    overflow: hidden;
}

.studio-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 48px 20px;
    animation: studioSlide 42s linear infinite;
}

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

.studio-track article {
    flex: 0 0 clamp(300px, 31vw, 520px);
    position: relative;
}

.studio-track img {
    width: 100%;
    height: clamp(330px, 38vw, 560px);
    object-fit: cover;
    filter: grayscale(.1);
}

.awards {
    display: grid;
    grid-template-columns: minmax(260px, 460px) 1fr;
    gap: clamp(44px, 8vw, 140px);
    padding: 76px 0 118px;
    border-top: 1px solid var(--qode-line);
}

.awards .info-block {
    position: relative;
}

.awards .info-block h2 {
    font-size: clamp(38px, 4.9vw, 76px);
}

.client-accordion {
    display: grid;
    border-top: 1px solid #000;
}

.client-row {
    border-bottom: 1px solid #000;
}

.client-row summary {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 320px) 34px;
    gap: 22px;
    align-items: center;
    min-height: 104px;
    cursor: pointer;
    list-style: none;
}

.client-row summary::-webkit-details-marker {
    display: none;
}

.client-row summary::after {
    content: "+";
    justify-self: end;
    font-family: var(--qode-display);
    font-size: 24px;
    line-height: 1;
    transition: transform .25s var(--qode-ease);
}

.client-row[open] summary::after {
    transform: rotate(45deg);
}

.client-row em {
    color: var(--qode-muted);
    font-style: normal;
}

.client-row strong {
    font-family: var(--qode-display);
    font-weight: 400;
    text-transform: uppercase;
    transition: color .25s var(--qode-ease);
}

.client-row summary:hover strong {
    color: #e5b736;
}

.client-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 0 28px;
}

.client-gallery figure {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
}

.client-gallery img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(.2);
    transition: transform .45s var(--qode-ease), filter .45s var(--qode-ease);
}

.client-gallery figure:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.client-gallery figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
    font-size: 12px;
    text-transform: uppercase;
}

.client-gallery--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.client-gallery--compact figure {
    background: #f4f0e6;
}

.client-gallery--compact img {
    aspect-ratio: 4 / 5;
    min-height: 0;
    object-fit: contain;
    object-position: center top;
    background: #f4f0e6;
}

.client-gallery--compact figcaption {
    padding: 10px 12px;
    font-size: 10px;
}

.client-gallery--events {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.client-gallery--events img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.client-gallery--events figcaption {
    display: none;
}

.client-gallery--logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-gallery--logos figure {
    display: grid;
    place-items: center;
    min-height: clamp(120px, 12vw, 170px);
    padding: clamp(18px, 2.5vw, 34px);
    border: 1px solid rgba(0, 0, 0, .08);
    background: #f4f0e6;
}

.client-gallery--logos img {
    width: 100%;
    height: 100%;
    max-height: 96px;
    aspect-ratio: auto;
    object-fit: contain;
    filter: none;
}

.client-gallery--logos figure:hover img {
    transform: scale(1.04);
    filter: none;
}

.client-gallery--logos figcaption {
    display: none;
}

.client-gallery--web {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.client-gallery--web figure {
    min-height: clamp(140px, 14vw, 190px);
}

.client-gallery--web img {
    max-height: 110px;
}

.team-kailu {
    position: relative;
    overflow: hidden;
    padding: clamp(82px, 9vw, 136px) 0;
    background: #4f4f4d;
    color: #f4f4f2;
}

.team-kailu::before {
    content: "TEAM";
    position: absolute;
    left: 50%;
    top: clamp(58px, 7vw, 96px);
    transform: translateX(-50%);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
    font-family: var(--qode-display);
    font-size: clamp(104px, 15vw, 248px);
    line-height: 1;
    letter-spacing: -.02em;
    pointer-events: none;
}

.team-kailu__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, .95fr) minmax(320px, 1fr);
    gap: clamp(44px, 7vw, 118px);
    align-items: end;
}

.team-kailu__headline span {
    color: #ff4624;
    font-family: var(--qode-display);
    font-size: clamp(14px, 1vw, 18px);
    text-transform: uppercase;
}

.team-kailu__headline h2 {
    position: relative;
    z-index: 1;
    margin-top: clamp(36px, 4.8vw, 66px);
    font-family: var(--qode-display);
    font-size: clamp(60px, 6.8vw, 112px);
    line-height: .84;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
}

.team-kailu__headline em {
    display: block;
    margin-top: clamp(6px, .7vw, 12px);
    color: #ff4624;
    font-family: var(--qode-display);
    font-size: clamp(38px, 4.4vw, 72px);
    font-style: normal;
    font-weight: 400;
    line-height: .95;
    text-transform: uppercase;
}

.team-kailu__copy {
    max-width: 700px;
}

.team-kailu__copy p {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.55;
}

.team-kailu__copy p + p {
    margin-top: 18px;
}

.team-kailu__lead {
    color: #fff !important;
    font-size: clamp(20px, 1.6vw, 30px) !important;
    line-height: 1.24 !important;
}

.team-kailu__link {
    margin-top: 30px;
    border-color: rgba(255, 255, 255, .72);
    color: #fff;
}

.team-kailu__link:hover {
    border-color: #ff4624;
    background: #ff4624;
    color: #fff;
}

.team-kailu__pillars {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 46px);
    margin-top: clamp(28px, 4vw, 58px);
}

.team-kailu__pillars article {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .34);
}

.team-kailu__pillars strong {
    color: #ff4624;
    font-family: var(--qode-display);
    font-size: clamp(16px, 1.2vw, 22px);
    font-weight: 400;
    text-transform: uppercase;
}

.team-kailu__pillars p {
    margin-top: 14px;
    color: rgba(255, 255, 255, .74);
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.45;
}

.footer {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 4vw, 58px) 48px;
    background: #f8f8f8;
    color: #000;
}

.footer-inner {
    width: var(--qode-grid);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    place-items: center;
    text-align: center;
}

.footer-inner a {
    color: #000;
    font-family: var(--qode-display);
    font-size: clamp(11px, .8vw, 14px);
    text-transform: uppercase;
}

.footer-inner p {
    color: #222;
    font-size: clamp(12px, .85vw, 15px);
    line-height: 1.45;
}

.footer-brand img {
    width: clamp(74px, 5vw, 96px);
}

.footer-brand p {
    margin-top: 14px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    justify-content: center;
}

.footer-social span {
    display: block;
    margin-bottom: 12px;
    color: var(--qode-muted);
    font-size: 13px;
    text-transform: uppercase;
}

.footer-social div {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #000;
    border-radius: 50%;
    transition: color .25s var(--qode-ease), background .25s var(--qode-ease);
}

.footer-social a:hover {
    color: #fff;
    background: #000;
}

.footer-bar {
    margin: clamp(30px, 4vw, 54px) -48px -48px;
    padding: 18px 24px;
    background: #000;
    text-align: center;
}

.footer-bar p {
    color: #fff;
    font-family: var(--qode-display);
    font-size: clamp(10px, .85vw, 14px);
    line-height: 1.45;
    text-transform: uppercase;
}

.reveal,
.reveal-group > * {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .8s var(--qode-ease), transform .8s var(--qode-ease);
}

.reveal.is-visible,
.reveal-group.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: .48s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: .56s; }

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

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marqueeText {
    from {
        transform: translateX(-8vw);
    }
    to {
        transform: translateX(8vw);
    }
}

@keyframes studioSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes impactMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1180px) {
    :root {
        --qode-grid: min(100vw - 56px, 980px);
    }

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

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

    .studio .info-block,
    .awards {
        grid-template-columns: 1fr;
    }

    .contact-studio .info-block {
        min-height: 520px;
    }

    .team-kailu__inner {
        grid-template-columns: minmax(260px, .9fr) minmax(280px, 1fr);
    }

    .team-kailu__copy {
        grid-column: 1 / -1;
        max-width: 820px;
    }

}

@media (max-width: 900px) {
    .site-header {
        height: 70px;
        padding: 0 28px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-slider {
        height: 620px;
        transform: translateY(18px) rotate(-7.2deg);
    }

    .hero-card {
        width: clamp(300px, 43vw, 430px);
        transform: translate(-50%, -50%) translateX(calc(var(--offset, 0) * 280px)) scale(var(--scale, 1));
    }

    .hero-intro {
        width: min(100vw - 56px, 820px);
    }

    .hero-intro h1 {
        font-size: clamp(30px, 5.5vw, 48px);
    }

    .hero-intro p {
        font-size: clamp(18px, 2.4vw, 22px);
    }

    .hero-meta {
        right: 28px;
        top: 92px;
        bottom: auto;
    }

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

    .portfolio-item:nth-child(odd) {
        margin-top: 0;
    }

    .portfolio-item img,
    .portfolio-item--tall img,
    .portfolio-item--square img {
        min-height: 440px;
    }

    .client-row summary {
        grid-template-columns: 1fr 34px;
        gap: 14px;
        min-height: 92px;
    }

    .client-row em {
        grid-column: 1;
        max-width: 92%;
    }

    .client-row summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .client-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .client-gallery figcaption {
        display: none;
    }

    .client-gallery--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .client-gallery--events {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .client-gallery--logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-gallery--logos figure {
        min-height: 104px;
        padding: 16px;
    }

    .client-gallery--web {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner p {
        text-align: center;
    }

    .footer-social div {
        justify-content: center;
    }

    .team-kailu__pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --qode-grid: min(100vw - 34px, 560px);
    }

    .brand img {
        width: 76px;
    }

    .hero-bg-text {
        top: 70px;
        height: 560px;
    }

    .hero-bg-text div {
        font-size: clamp(42px, 13vw, 86px);
    }

    .hero-slider {
        height: 540px;
        width: 100vw;
    }

    .hero-intro {
        width: min(100vw - 34px, 560px);
        margin-top: 92px;
        margin-bottom: 30px;
    }

    .hero-intro h1 {
        font-size: clamp(25px, 7.4vw, 34px);
    }

    .hero-intro p {
        font-size: 18px;
        line-height: 1.58;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding-inline: 18px;
    }

    .services-more {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .services-quote {
        margin-top: 36px;
        padding: 56px 0 34px;
        font-size: clamp(18px, 4.9vw, 25px);
        line-height: 1.42;
    }

    .services-quote::before {
        top: -8px;
        font-size: clamp(120px, 38vw, 180px);
        -webkit-text-stroke-width: 1.5px;
    }

    .hero-card {
        width: 286px;
        transform: translate(-50%, -50%) translateX(calc(var(--offset, 0) * 205px)) scale(var(--scale, 1));
    }

    .numbered {
        grid-template-columns: 1fr;
        padding-top: 42px;
    }

    .clients {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 18px;
        padding-top: 54px;
        padding-bottom: 24px;
    }

    .clients span {
        min-height: 108px;
        padding-top: 42px;
    }

    .clients span::before {
        font-size: clamp(62px, 19vw, 90px);
        -webkit-text-stroke-color: rgba(0, 0, 0, .12);
    }

    .clients small {
        font-size: 13px;
    }

    .clients strong {
        width: min(100%, 168px);
        font-size: clamp(13px, 3.7vw, 18px);
        line-height: 1.1;
    }

    .portfolio {
        row-gap: 50px;
        padding-bottom: 80px;
    }

    .portfolio-intro {
        min-height: 330px;
        padding-right: 0;
    }

    .studio,
    .footer {
        padding-top: 80px;
    }

    .contact-studio {
        padding-top: 36px;
        padding-bottom: 56px;
    }

    .contact-studio .info-block {
        min-height: auto;
        padding-top: 22px;
    }

    .contact-studio .background-word {
        top: 72px;
        left: -10px;
        font-size: clamp(52px, 15vw, 78px);
        transform: none;
    }

    .contact-studio .info-block h2 {
        margin-top: 40px;
        font-size: clamp(38px, 10vw, 52px);
        line-height: .95;
        white-space: nowrap;
    }

    .contact-studio .info-block p:not(.background-word) {
        margin-top: 34px;
        font-size: 14px;
        line-height: 1.48;
    }

    .contact-studio .outline-button {
        margin-top: 24px;
        padding: 13px 18px;
    }

    .studio-track {
        padding-inline: 17px;
    }

    .studio-track article {
        flex-basis: 290px;
    }

    .team-kailu {
        padding: 74px 0 82px;
    }

    .team-kailu::before {
        left: 50%;
        top: 86px;
        bottom: auto;
        transform: translateX(-50%);
        font-size: clamp(86px, 31vw, 136px);
    }

    .team-kailu__headline h2 {
        font-size: clamp(48px, 15vw, 70px);
        white-space: nowrap;
    }

    .team-kailu__headline em {
        font-size: clamp(32px, 10vw, 48px);
    }

    .team-kailu__lead {
        font-size: clamp(20px, 6vw, 28px) !important;
    }

    .team-kailu__copy p {
        font-size: 16px;
    }

    .team-kailu__inner {
        grid-template-columns: 1fr;
    }

    .team-kailu__copy {
        grid-column: auto;
    }

    .team-kailu__pillars {
        margin-top: 44px;
    }

    .footer {
        padding: 34px 0 30px;
    }

    .footer-brand img {
        width: 74px;
    }

    .footer-bar {
        margin-inline: 0;
        margin-bottom: -30px;
        padding: 16px 20px;
    }
}

@media (pointer: coarse) {
    .cursor,
    .cursor-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
