/*
Theme Name: Emiel Dewulf
Theme URI: https://emieldewulf.be
Author: Emiel Dewulf
Author URI: https://emieldewulf.be
Description: Thema voor Emiel Dewulf
Version: 1.0
Text Domain: emieldewulf
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
*/

::selection {
  background-color: var(--primary-color);
  color: #000;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
}

section[id] {
    scroll-margin-top: 120px;
}

/* animated highlight */
.highlight-title {
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 400;
}

[data-highlight-marker-reveal]{
  visibility: hidden;
}

[data-highlight-marker-reveal] .highlight-marker-line{
  width: auto;
  display: inline-block !important;
  margin: -0.055em 0px;
}

.highlight-marker-bar{
  position: absolute;
  inset: -0.055em 0px;
  z-index: 1;
  pointer-events: none;
}

.text--highlight {
    position: relative;
    display: inline;
    width: fit-content;
    z-index: 0;
}

.text--highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 8px;
    background-color: var(--primary-color);
    z-index: -1;
}

.bg--gradient-primary {
    position: relative;
    background: linear-gradient(
        to top right,
        transparent 50%,
        color-mix(in srgb, var(--primary-color) 50%, transparent) 100%
    );
    background-size: 180% 180%;
    background-position: 100% 0%;
    animation: gradient-float 8s ease-in-out infinite alternate;
}

.bg--gradient-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #ffffff, transparent);
    pointer-events: none;
}

@keyframes gradient-float {
    0%   { background-position: 100% 0%; }
    100% { background-position: 70% 30%; }
}

/* marquee */
.marquee-section {
    overflow: hidden;
    width: 100%;
}

.marquee-inner {
    will-change: transform;
    white-space: nowrap;
}

.marquee-img {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    background-color: #e8e8e8;
    object-fit: cover;
    display: block;
}

.marquee-section .marquee-word {
    font-size: clamp(80px, 9vw, 260px);
}

.marquee-section .marquee-img {
    width: clamp(120px, 14vw, 400px);
    height: clamp(72px, 8.4vw, 240px);
}

.marquee-section .marquee-inner {
    gap: clamp(32px, 4vw, 100px);
}

/* Media Sentence */
.media-sentence {
    padding: 5rem 0;
}

.media-sentence__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 2rem;
    max-width: 78rem;
    padding-left: var(--spacing-x);
    padding-right: var(--spacing-x);
    margin-left: auto;
    margin-right: auto;
}

.media-sentence__word-wrapp {
    position: relative;
}

.media-sentence__title {
    display: block;
    font-size: clamp(2.5rem, 6.5vw, 6.5rem);
    font-weight: 700;
    line-height: 0.9;
    color: #000;
    letter-spacing: -0.03em;
    white-space: nowrap;
    text-transform: uppercase;
}

.media-sentence__title.ms--dim {
    color: rgba(0, 0, 0, 0.15);
}

.media-sentence__overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 0%;
    z-index: 2;
}

.media-sentence__img-wrapp {
    overflow: hidden;
    border-radius: 0.5em;
    width: 5.5rem;
    height: 4.5rem;
    flex-shrink: 0;
}

.media-sentence__img-inner {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.12);
    transform: scaleX(0);
    transform-origin: left center;
}

@media (max-width: 768px) {
    .media-sentence__inner {
        max-width: 100%;
    }
    .media-sentence__title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .media-sentence__img-wrapp {
        width: 4rem;
        height: 3rem;
    }
}




.motionpath-wrap {
  width: 100%;
  height: 450vh;
  position: relative;
  overflow: clip;
}

.motionpath-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.motionpath-content {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
}

.motionpath-content-inner {
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.motionpath-content-path {
  width: 100vmax;
  height: 100%;
  max-height: 45vh;
}

.motionpath-svg {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.motionpath-content-wrap {
  z-index: 1;
  position: absolute;
}


.motionpath-content-item {
  grid-column-gap: 2em;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
  position: absolute;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.motionpath-content-item__visual {
  aspect-ratio: 1 / 1.1;
  border-radius: .75em;
  flex: none;
  width: max(28vw, 12rem);
  overflow: hidden;
}

.motionpath-content-item__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.motionpath-content-item__details {
  grid-row-gap: .75em;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: max(20vw, 10rem);
  padding-top: 2em;
  display: flex;
  overflow: hidden;
}

.motionpath-content-item__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2em;
  font-weight: 500;
  line-height: 1.2;
}

.motionpath-content-item__labels {
  display: flex;
  flex-wrap: wrap;
  gap: .4em;
}

.motionpath-content-item__label {
  color: #13131399;
  background-color: #fff;
  border-radius: 100em;
  padding: .5em .75em;
  font-size: .75em;
  font-weight: 500;
  line-height: 1.2;
}

.motionpath-content-title {
  z-index: 0;
  color: #1313130f;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 30vw;
  line-height: .8;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .motionpath-content-inner {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .motionpath-content-path {
    max-height: 70vh;
  }

  .motionpath-content-item {
    grid-column-gap: 1em;
  }

  .motionpath-content-item__details {
    grid-row-gap: .5em;
    padding-top: 1em;
    width: max(24vw, 12rem);
  }

  .motionpath-content-item__title {
    font-size: 1.25em;
  }

  .motionpath-content-item__label {
    font-size: .625em;
  }
}

/* Testimonial Conveyor Belt */
.testimonial-section {
  height: 300vh;
  overflow: clip;
}

.testimonial-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.testimonial-sticky > .w--container {
  width: 100%;
}

.testimonial-track-outer {
  overflow: hidden;
  padding-left: var(--spacing-x);
}

.testimonial-track {
  display: flex;
  gap: clamp(16px, 1.5vw, 40px);
}

.testimonial-card {
  flex: none;
  width: clamp(280px, 30vw, 720px);
  min-height: clamp(280px, 22vw, 520px);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .testimonial-section {
    height: auto;
    overflow: visible;
  }

  .testimonial-sticky {
    position: static;
    height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .testimonial-track-outer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: var(--spacing-x);
  }

  .testimonial-card {
    width: clamp(260px, 75vw, 320px);
  }
}

/* Contact — sentence form */
#contact .wpcf7 {
  width: 100%;
}

#contact .wpcf7-form .flex {
  display: block;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

#contact .wpcf7-form .flex p {
  display: inline;
  font-size: inherit !important;
  font-weight: inherit !important;
  margin: 0;
}

#contact .wpcf7-form .wpcf7-form-control-wrap {
  display: inline-block;
  vertical-align: baseline;
}

#contact .wpcf7-form input.wpcf7-text,
#contact .wpcf7-form input.wpcf7-email {
  display: inline-block;
  background: transparent;
  border: none;
  border-bottom: 2px solid #000;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  letter-spacing: inherit;
  line-height: 1;
  padding: 0 0.15em 0.1em;
  vertical-align: baseline;
  width: 7em;
  height: auto;
  outline: none;
}

#contact .wpcf7-form input.wpcf7-email {
  width: 10em;
}

#contact .wpcf7-form select.wpcf7-select {
  display: inline-block;
  background: transparent;
  border: none;
  border-bottom: 2px solid #000;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  letter-spacing: inherit;
  padding: 0 1.2em 0.1em 0.15em;
  vertical-align: baseline;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2em center;
  background-size: 0.7em;
}

#contact .wpcf7-form textarea.wpcf7-textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  letter-spacing: inherit;
  line-height: 1.5;
  padding: 0.5em 0.75em;
  height: 8em;
  min-height: unset;
  outline: none;
  resize: none;
  margin-top: 0.5em;
}

#contact .wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-textarea) {
  display: block;
  margin-top: 0.25em;
}

#contact .wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-checkbox) {
  display: block;
}

#contact .wpcf7-form .wpcf7-list-item {
  display: block;
  margin: 1.5em 0 0;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0;
}

#contact .wpcf7-form .wpcf7-list-item input[type="checkbox"] {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 0.4em;
  accent-color: #000;
}

#contact .wpcf7-form input.wpcf7-submit {
  display: inline-block;
  margin-top: 2rem;
  background: var(--primary-color);
  color: #000;
  padding: 14px 32px;
  border-radius: 100px;
  border: 2px solid var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  outline: none;
  transition: background 0.25s, color 0.25s;
}

#contact .wpcf7-form input.wpcf7-submit:hover {
  background: transparent;
}

.wpcf7-not-valid-tip {
  display: none;
}

/* Footer parallax */
.footer-parallax-wrap {
  position: relative;
  overflow: hidden;
}

.footer-parallax-dark {
  opacity: 0;
  pointer-events: none;
  background-color: #000;
  position: absolute;
  inset: 0;
}


.wpcf7-not-valid-tip{
    display:none;
}

/* Realisaties archive grid */
.realisaties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}

@media screen and (max-width: 767px) {
  .realisaties-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.realisatie-card {
  display: flex;
  flex-direction: column;
}

.realisatie-card__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
}

.realisatie-card__img,
.realisatie-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.realisatie-card:hover .realisatie-card__img {
  transform: scale(1.04);
}

.realisatie-card__placeholder {
  min-height: 280px;
  background-color: var(--background-gray, #FAFBF6);
}

.realisatie-card__title {
  font-size: 1.25rem;
  line-height: 1.2;
}

/* ── Realisatie Single ─────────────────────────────────── */

.realisatie-single__title {
  font-size: 32px;
}

/* Meta grid */
.realisatie-meta-grid {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.realisatie-meta-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 32px 32px 0;
}

.realisatie-meta-block + .realisatie-meta-block {
  padding-left: 32px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.realisatie-meta-block__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
  text-transform: uppercase;
}

.realisatie-meta-block__value {
  font-size: 1.125rem;
  line-height: 1.4;
}


.realisatie-website-row {
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.realisatie-website-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-color);
  transition: gap 0.2s ease;
}

.realisatie-website-link:hover {
  gap: 14px;
}

.realisatie-meta-intro {
  padding-top: 64px;
  max-width: 860px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
}

.realisatie-single__gallery-wrap {
  padding-left: 5vw;
  padding-right: 5vw;
}

.realisatie-single__results-border {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Case Navigation */
.realisatie-case-nav__grid {
  display: flex;
  width: 100%;
  align-items: stretch;
  min-height: 180px;
}

.realisatie-case-nav__col {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.realisatie-case-nav__col .typo-scroll__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  transform: none;
}

.realisatie-case-nav__col + .realisatie-case-nav__col {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.realisatie-case-nav__col--center {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.realisatie-case-nav__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 5vw;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.realisatie-case-nav__col--right .realisatie-case-nav__link {
  align-items: flex-end;
  text-align: right;
}

.realisatie-case-nav__title {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

@media screen and (max-width: 1024px) {
  .realisatie-meta-grid {
    flex-direction: column;
  }

  .realisatie-meta-block {
    padding: 20px 0;
  }

  .realisatie-meta-block + .realisatie-meta-block {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .realisatie-meta-intro {
    padding-top: 40px;
  }

  .realisatie-single__meta {
    width: 100%;
  }

  .realisatie-case-nav__grid {
    flex-direction: column;
    min-height: auto;
  }

  .realisatie-case-nav__col + .realisatie-case-nav__col {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .realisatie-case-nav__col--center {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 24px 5vw;
  }

  .realisatie-case-nav__col--right .realisatie-case-nav__link {
    align-items: flex-start;
    text-align: left;
  }
}

:root{
  --ease-elastic: linear(0, 0.55 7.5%, 0.85 12%, 0.95 14%, 1.03 16.5%, 1.09 20%, 1.13 22%, 1.14 23%, 1.15 24.5%, 1.15 26%, 1.13 28%, 1.11 31%, 1.05 39%, 1.02 43%, 0.99 47%, 0.98 52%, 0.97 59%, 1.002 81%, 1);
}

.btn-bounce {
  color: #000;
  padding-left: 2em;
  padding-right: 2em;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  text-transform:uppercase;
}

.btn-bounce.is--secondary {
  color: var(--text-color);
}

.btn-bounce-bg {
  z-index: 0;
  background-color: var(--primary-color);
  border-radius: 100em;
  position: absolute;
  inset: 0%;
}

.btn-bounce-bg.is--secondary {
  background-color: #FFF;
}

.btn-bounce-text {
  z-index: 1;
  display: block;
  position: relative;
  text-align:center;
}

.btn-bounce-text__wrap {
  padding-top: 1.25em;
  padding-bottom: 1.25em;
  overflow: hidden;
}

/* Only apply hover animations if they are actually not supported */
@media (hover:hover) and (pointer:fine){

  .btn-bounce,
  .btn-bounce-text,
  .btn-bounce-text__wrap{
    transition: transform 0.65s var(--ease-elastic);
  }
  
  /* Fake a duplicate text element using text shadow without blur  */
  /* We save the distance in a variable for easy use in the CSS animation */
  .btn-bounce-text{
    --text-duplicate-distance: 3em;
    text-shadow: 0px var(--text-duplicate-distance) currentColor;
  }
  
  /* Scale down the button and rotate it slightly */
  .btn-bounce:hover { transform: scale(0.92) rotate(-3deg); }
  
  /* Rotate the text wrapper in the opposite direction so it appears straight */
  .btn-bounce:hover .btn-bounce-text__wrap{ transform: rotate(3deg); 
color:#000;}
  
  /* Move up the text span to reveal its text-shadow */
  .btn-bounce:hover .btn-bounce-text{ transform: translate(0px, calc(-1 * var(--text-duplicate-distance))); }

}

.typo-scroll {
  color: #2b2b2b;
  background-color: #fff;
  width: 100vw;
  padding: 96px 5vw;
  position: relative;
  overflow: clip;
}

.typo-scroll__collection {
  flex-flow: column;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.typo-scroll__list {
  flex-flow: column;
  width: 100%;
  display: flex;
}

.typo-scroll__item {
  width: 100%;
  padding: 0.6em 0;
}

.typo-scroll__link {
  color: inherit;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  display: flex;
}

.typo-scroll__h {
  text-align: center;
  letter-spacing: -.05em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: break-word;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 7.5vw;
  line-height: .9;
  font-family: 'Be Vietnam Pro', sans-serif;
}

[data-typo-scroll-item="active"] .typo-scroll__h{
  z-index: 2;
  color: #6B6B6B;
  mix-blend-mode: difference;
}

.typo-scroll__media {
  aspect-ratio: 3 / 4;
  pointer-events: none;
  width: 17.5vw;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  z-index: 10;
  --po: 1.5em; /* Path offset */
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  clip-path: polygon(calc(0% + var(--po)) calc(0% + var(--po)), calc(100% - var(--po)) calc(0% + var(--po)), calc(100% - var(--po)) calc(100% - var(--po)), calc(0% + var(--po)) calc(100% - var(--po)));
  opacity: 0;
}

[data-typo-scroll-item="active"] .typo-scroll__media {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 1;
}

@media (hover: none) and (pointer: coarse) { 
  [data-typo-scroll-item="active"] .typo-scroll__media {
    pointer-events: all;
  }
}

.typo-scroll__media.is--3-2 {
  aspect-ratio: 3 / 2;
  width: 25vw;
}

.typo-scroll__media.is--2-3 {
  aspect-ratio: 2 / 3;
  width: 16.5vw;
}

.typo-scroll__media.is--1-1 {
  aspect-ratio: 1;
  width: 20vw;
}

.typo-scroll__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.typo-scroll__img.is--bw {
  filter: grayscale(1);
}

.typo-scroll__p {
  -webkit-backdrop-filter: blur(1em);
  backdrop-filter: blur(1em);
  color: #f4f4f4;
  text-align: center;
  white-space: nowrap;
  background-color: #201d1d33;
  margin-bottom: 0;
  padding: .25em;
  font-family: monospace;
  font-size: .75em;
  position: absolute;
  bottom: 2em;
  left: 50%;
  transform: translate(-50%);
}

@media screen and (max-width: 991px) {
  .typo-scroll__h {
    font-size: 11vw;
  }

  .typo-scroll__media {
    width: 52.5vw;
  }

  .typo-scroll__media.is--3-2 {
    width: 75vw;
  }

  .typo-scroll__media.is--2-3 {
    width: 49.5vw;
  }

  .typo-scroll__media.is--1-1 {
    width: 60vw;
  }
}

.cursor {
  z-index: 100;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 100em;
  width: 1em;
  height: 1em;
  transition: background-color .375s cubic-bezier(.625, .05, 0, 1), height .375s cubic-bezier(.625, .05, 0, 1), width .375s cubic-bezier(.625, .05, 0, 1);
  position: fixed;
  inset: 0% auto auto 0%;
  pointer-events: none;
}

body:has( a:hover) .cursor,
body:has( button:hover) .cursor,
body:has( [data-cursor]:hover) .cursor{
  width: 3em;
  height: 3em;
  background-color: rgba(200, 240, 79, 0.3);
}

@media (hover: none) and (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ============================================================
   WORK GRID — archive-realisatie.php
   ============================================================ */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px) clamp(24px, 3vw, 60px);
}

.work-card {
  display: block;
  text-decoration: none;
  color: #000;
  position: relative;
}

.work-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 16px;
}

.work-card__title {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.work-card__labels {
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  opacity: 0.6;
  text-align: right;
  flex-shrink: 0;
}

.work-card__photos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-card__photo {
  border-radius: clamp(10px, 1.4vw, 20px);
  overflow: hidden;
  will-change: transform;
}

.work-card__photo--1 {
  aspect-ratio: 3 / 2;
  width: 100%;
  position: relative;
  z-index: 5;
}

.work-card__photo--2 {
  aspect-ratio: 1;
  width: 55%;
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 4;
}

.work-card__photo--3 {
  aspect-ratio: 1;
  width: 55%;
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 4;
}

.work-card__img {
  object-fit: cover;
  width: 100%;
  height: 110%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
}

.work-card__arrow {
  width: clamp(60px, 6vw, 100px);
  height: clamp(60px, 6vw, 100px);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 10;
  color: #fff;
  transform: scale(0);
  opacity: 0;
}

@media (max-width: 767px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card__photo--2,
  .work-card__photo--3 {
    width: 50%;
  }
}

