body {
    background: var(--surface);
}

.hero {
    min-height: max(100vh, 1200px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 120px;
    background: var(--bg);
    padding-bottom: 40px;
    gap: 16px;
    overflow: visible;
    z-index: 4;
}

.hero-header {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-title, .hero-title-hidden {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(68px, 16vw, 232px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.05em;
    transform-origin: left top;
    will-change: transform, opacity;
}

.hero-title-hidden {
    opacity: 0;
}

.hero-title {
    position: absolute;
    z-index: 999;
}

.hero-title.case, .hero-title-hidden.case {
    font-size: clamp(34px, 8vw, 116px);
}

.hero-services {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--text-faint);
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 300;
    line-height: 1.2;
}

.hero-image-wrapper {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.case-hero-image-wrapper {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;    
    column-gap: clamp(32px, 4vw, 72px);
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.case-hero-text-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;

    font-family: var(--font-body);
    font-weight: 250;
    font-size: 25px;
}

.case-hero-text-wrapper p,
.case-hero-text-wrapper span {
    text-align: right;
}

.hero-tagline {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    pointer-events: none;
}

.hero-cta {
    position: absolute;
    bottom: 32px;
    right: calc(50% - 178px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 23px 115px;
    /* border: 1px solid rgba(255, 255, 255, 0.4); */
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(8px);
    color: #000;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: background var(--ease-main), border-color var(--ease-main);
    z-index: 2;
}

.hero-cta:hover {
    background: rgba(255,255, 255, 0.5);
    /* border-color: rgba(255, 255, 255, 0.7); */
}

/* ── About ───────────────────────────────────────────── */

.about {
    background: var(--surface);
    /* border-top: 1px solid var(--line); */
    /* border-bottom: 1px solid var(--line); */
    justify-content: flex-start;
    padding: 61px 36px clamp(56px, 7vh, 112px);
    height: 100vh;
}

.about-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.05em;
    transform-origin: left top;
    will-change: transform, opacity;
    margin-bottom: -18px;
}

@media (max-width: 1100px) {
    .about-title {
        display: none;
    }
}

.about-inner {
    max-width: var(--max-w);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-rows: 1fr; */
    /* grid-template-rows: auto 1fr; */
    grid-template-areas:
        "col-left  col-right";
    column-gap: clamp(32px, 4vw, 72px);
    row-gap: 0;
    align-items: start;
}

.about-headline {
    grid-area: headline;
    justify-self: start;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.22;
    letter-spacing: 0;
    color: var(--text);
    padding: 10px 0;
}

.about-col-left {
    grid-area: col-left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-bottom: clamp(10px, 15vh, 65px);
}

.about-col-right {
    grid-area: col-right;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;
    height: 100%;
    position: relative;
}

.about-sec-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-sec-item.is-active {
    opacity: 1;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.about-subtitle {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(11px, 1.2vw, 18px);
    line-height: 100%;
    color: #000000;
    opacity: 0.8;
}

.about-subsubtitle {
    margin: 22px 0 0 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 22px;
    line-height: 100%;
    color: #434343;
}

.about-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: var(--font-accent);
    font-weight: 300;
    font-size: clamp(28px, 2.9vw, 42px);
    line-height: 1.1;
    color: var(--text);
}

.about-tags li {
    transition: opacity 0.5s ease-in-out;
}

.about-desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(15px, 1.4vw, 20px);
    line-height: 1.22;
    color: var(--text);
}

.about-image {
    overflow: hidden;
    display: flex;
    justify-content: end;
}

@media (max-width: 1100px) {
    .about-image {
        justify-content: center;
    }
}

.about-image img {
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    /* margin: 80px; */
}

/* @media (max-width: 1100px) {
    .about-image img {
        margin: 0px;
    }
} */

.about-image:hover img {
    transform: scale(1.03);
}

/* ── Sales (Case) ────────────────────────────────────────── */

.sales {
    background: var(--surface);
    /* border-top: 1px solid var(--line); */
    /* border-bottom: 1px solid var(--line); */
    justify-content: flex-start;
    /* padding: 61px 36px clamp(56px, 7vh, 112px); */
    height: 100vh;
}

.sales-inner {
    max-width: var(--max-w);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.sales-inner .sales-item {
    border-radius: 25px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    font-family: var(--font-body);
    backround-size: cover;
    background-position: center;
}

.sales-item-title,
.sales-item-value,
.sales-item-label {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 100%;
    color: #fff;
    /* mix-blend-mode: difference; */
}

.sales-item-title {
    font-size: 26px;
}

.sales-item-value {
    font-size: 50px;
}

.sales-item-label {
    font-size: 20px;
}

@media (max-width: 1100px) {
    .sales-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Photos (Case) ────────────────────────────────────────── */

.photos {
    background: var(--surface);
    justify-content: flex-start;
}

.photos-inner {
    max-width: var(--max-w);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 110px;
}

.photos-inner .photo-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    height: 450px;
}

.photos-inner .photo-item.photo-item-2,
.photos-inner .photo-item.photo-item-4,
.photos-inner .photo-item.photo-item-9 {
    grid-column: span 2;
}

/* ── Marketing ────────────────────────────────────────── */

.marketing {
    background: var(--surface);
    /* border-top: 1px solid var(--line); */
    /* border-bottom: 1px solid var(--line); */
    justify-content: flex-start;
    padding: 61px 36px clamp(56px, 7vh, 112px);
}

.marketing-inner {
    max-width: var(--max-w);
    width: 100%;
    margin: 0;
    padding-right: 80px;
}

.marketing-1 {
    max-width: 40%;
    margin-right: auto;
}

.marketing-2 {
    max-width: 40%;
    margin: 0 auto;
}

.marketing-3 {
    max-width: 40%;
    margin-left: auto;
}

.marketing-inner .main {    
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 36px;
    line-height: 100%;
    color: #000000;
    opacity: 0.8;
    margin: 0;
}

.marketing-inner .sub {    
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    color: #434343;
    margin: 22px 0;
}

/* ── Footer ────────────────────────────────────────── */

.footer-section {
    background: var(--surface);
    border-top: 14px solid #000000;
    /* border-bottom: 1px solid var(--line); */
    justify-content: flex-start;
    padding: 0px 36px clamp(56px, 7vh, 112px);
}

.footer-section > img:first-child {
    width: 100%;
    aspect-ratio: 3;
    object-fit: cover;
    margin-bottom: 12px;
}

.footer-section-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-section-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(34px, 10vw, 120px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.05em;
    transform-origin: left top;
    /* will-change: transform, opacity; */
}

.footer-section-services {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--text-faint);
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 250;
    line-height: 1.2;
}

.footer-section-services > p:first-child {
    color: #000000;
    font-size: clamp(10px, 10vw, 25px);
    line-height: 0.82;
    letter-spacing: -0.05em;
}

/* ── Services ────────────────────────────────────────── */

.svc-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}

.svc-row {
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.svc-row:first-child {
    border-top: 1px solid var(--line);
}

.svc-title-line {
    padding: clamp(24px, 3.5vw, 44px) 0;
}

.svc-name {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    will-change: transform;
}

.svc-reveal {
    height: 0;
    overflow: hidden;
}

.svc-reveal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 48px);
    padding-bottom: clamp(24px, 3.5vw, 44px);
    opacity: 0;
    transform: translateY(10px);
}

.svc-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.svc-text p {
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    max-width: 480px;
}

.svc-img {
    overflow: hidden;
    aspect-ratio: 1.6;
}

.svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

.svc-wrap:hover .svc-row {
    opacity: 0.35;
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.svc-wrap:hover .svc-row:hover {
    opacity: 1;
}

/* ── Cases ────────────────────────────────────────────── */

.cases-sc {
    min-height: 100vh;
    background: var(--bg);
    overflow: hidden;
}

.cases-sc-inner {
    display: flex;
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 100px);
}

.cases-sc-list {
    /* flex: 1 1 0; */
    min-width: 0;
    position: relative;
    height: calc(var(--sc-item-h, 64px) * 10);
    padding-right: clamp(20px, 2.4vw, 40px);
    overflow: hidden;
    mask-image: linear-gradient(to bottom,
        transparent 0%, rgba(0,0,0,0.3) 20%,
        black 40%, black 60%,
        rgba(0,0,0,0.3) 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%, rgba(0,0,0,0.3) 20%,
        black 40%, black 60%,
        rgba(0,0,0,0.3) 80%, transparent 100%);
}

.cases-sc-list-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
}

.cases-sc-list-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    will-change: transform;
}

.cases-sc-name {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--deep);
    text-decoration: none;
    cursor: pointer;
    transform-origin: left center;
    white-space: nowrap;
}

.cases-sc-name.is-active {
    color: var(--deep);
}

.cases-sc-name:hover:not(.is-active) {
    color: rgba(0, 0, 0, 0.5);
}

.cases-sc-meta {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    text-transform: uppercase;
    display: inline-block;
    margin-left: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
    vertical-align: middle;
}

.cases-sc-name.is-active .cases-sc-meta {
    opacity: 1;
}

.cases-sc-panels {
    flex: 0 0 clamp(320px, 34vw, 560px);
    width: clamp(320px, 34vw, 560px);
    max-width: 100%;
    min-width: 0;
    position: relative;
    height: min(72vh, 760px);
    align-self: center;
}

.cases-sc-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.cases-sc-panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

.cases-sc-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.cases-sc-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--deep);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cases-sc-link:hover .cases-sc-cta {
    opacity: 1;
    transform: translateY(0);
}

.cases-sc-link:hover .cases-sc-grid img {
    filter: brightness(0.92);
    transition: filter 0.5s ease;
}

.cases-sc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.cases-sc-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cases-sc-grid img:first-child {
    grid-row: span 2;
}

.main-burger {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    background: rgba(255, 255, 255, 0.5);
    z-index: 100;
    backdrop-filter: blur(10px);
    padding: var(--pad);
}

.main-burger.is-active {
    opacity: 1;
    pointer-events: all;
}

.main-burger p.burger-text {
    font-family: var(--font-body);
    font-size: 100px;
    margin: 0;
}

.main-burger-close-btn {
    font-size: 60px;
    position: absolute;
    top: var(--pad);
    right: var(--pad);
    background: none;
    outline: none;
    border: none;
}
