@font-face {
  font-family: 'Saans';
  src: url('./fonts/SaansCollectionVF-TRIAL.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

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

html, body {
  overscroll-behavior-y: none;
  background-color: #FAFAFA;
  color: #000000;
  font-family: 'Saans', sans-serif;
  min-height: 100vh;
  max-width: 100%;
}

/* ─── NAVBAR ─── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(8px, 1vw, 20px) clamp(16px, 2.78vw, 40px);
}

.nav-left {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
}

.nav-lang {
  margin-left: clamp(8px, 1vw, 15px);
}

.nav-links {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  font-weight: 480;
  font-size: clamp(13px, 1.15vw, 28px);
  color: #000000;
  margin-left: clamp(12px, 10vw, 160px);
}

.nav-links a {
  font-size: clamp(13px, 1.15vw, 28px);
  text-decoration: none;
  color: #090909;
}

.nav-cta {
  background: #090909;
  color: #FAFAFA;
  border: none;
  padding: clamp(12px, 0.9vw, 24px) clamp(14px, 1.1vw, 30px);
  border-radius: 999px;
  font-family: 'Saans', sans-serif;
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ─── HERO ─── */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - clamp(52px, 5vw, 90px));
  padding: 0 clamp(16px, 2.78vw, 40px) clamp(16px, 2vw, 40px);
  overflow: visible;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17vw;
}

.hero-card {
  width: clamp(180px, 26vw, 820px);
  height: auto;
  border-radius: clamp(4px, 0.6vw, 12px);
  display: block;
  margin-top: 0.4vw;
  aspect-ratio: 16/9;
}

.hero-name {
  font-size: calc((100vw - 80px) / 4.55);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 60px);
  flex-shrink: 0;
  padding-top: clamp(16px, 2.78vw, 48px);
}

.hero-bio {
  max-width: clamp(240px, 36vw, 800px);
  font-size: clamp(14px, 1.15vw, 28px);
  line-height: 1.35;
  font-weight: 480;
    overflow: hidden; /* ← hides the translated-down lines naturally */
      opacity: 0;
}

.hero-scroll {
  color: #464646;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  white-space: nowrap;
  flex-shrink: 0;
}
/* ─── PROJECTS INTRO ─── */
.projects-intro {
  padding: 40px;
}

.projects-label {
  font-size: clamp(14px, 1.39vw, 28px);
  font-weight: 480;
  color: #fafafa;
}

/* ─── APPROACH ─── */
.approach {
  display: flex;
  gap: clamp(24px, 3vw, 80px);
  padding: clamp(80px, 8vw, 200px) clamp(24px, 2.78vw, 80px) clamp(60px, 6vw, 160px);
  background: #fafafa;
  align-items: flex-start;
}

.approach-left {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 32px);
  padding: clamp(6px, 0.5vw, 12px) 0;
  min-width: clamp(200px, 20vw, 520px);
  margin-top: clamp(24px, 2.5vw, 60px);
}

.approach-img {
  width: clamp(200px, 20.47vw, 600px);
  aspect-ratio: 356 / 446;
  height: auto;
}

.approach-label {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #090909;
}

.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.approach-list li {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #090909;
  padding: clamp(6px, 0.5vw, 12px) 0;
  border-bottom: 1px solid #d0d0d0;
}

.approach-right {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 80px);
  padding-top: clamp(24px, 2.5vw, 60px);
  flex: 1;
  margin-left: clamp(20px, 5vw, 120px);
}

.approach-text {
  font-size: clamp(36px, 3.68vw, 130px);
  font-weight: 600;
  line-height: 115%;
  letter-spacing: -0.02em;
  color: #090909;
  margin: 0;
}

.approach-btn {
  background: #090909;
  color: #FAFAFA;
  border: none;
  padding: clamp(14px, 1.15vw, 32px) clamp(16px, 2.3vw, 60px);
  border-radius: 999px;
  font-family: 'Saans', sans-serif;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  width: fit-content;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(16px, 1.5vw, 40px);
}

/* ─── ANIMATION LINES ─── */
.approach-line-wrapper {
  overflow: hidden;
  display: block;
}

.approach-line {
  display: block;
  transform: translateY(110%);
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease;
  will-change: transform;
}

.approach-line.visible {
  transform: translateY(0);
  opacity: 1;
}

.approach-list li span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.approach-list li span.visible {
  transform: translateY(0);
}

/* ─── WORKS ─── */
.works-section {
  padding: 80px 40px;
  margin-top: 2.5vh;
  background: #fafafa;
}

.works-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.works-title {
  font-size: clamp(48px, 5.556vw, 128px);
  font-weight: 800;
  line-height: 1;
  color: #111;
  margin: 0;
  overflow: hidden;
  display: block;
}

.works-count {
  font-size: clamp(48px, 5.556vw, 128px);
  font-weight: 800;
  line-height: 1;
  color: #111;
  overflow: hidden;
  display: block;
}

.works-title .approach-line,
.works-count .approach-line {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-title .approach-line.visible,
.works-count .approach-line.visible {
  transform: translateY(0);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.works-grid .work-item:nth-child(3),
.works-grid .work-item:nth-child(4) {
  margin-top: 40px;
}

.work-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #d9d9d9;
}


.ratio-square    { aspect-ratio: 1 / 1; }
.ratio-landscape { aspect-ratio: 4 / 3; }
.ratio-portrait  { aspect-ratio: 3 / 4; }
.ratio-wide      { aspect-ratio: 16 / 9; }

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #FAFAFA;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
  pointer-events: none;
}

.work-item.revealed .work-img-wrap::after {
  transform: translateY(-100%);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
}

.work-name, .work-year {
  display: inline-block;
  overflow: hidden;
}

.mask-line {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.31s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: 0.5s;
}

.work-item.revealed .mask-line {
  transform: translateY(0);
}

.works-cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.works-btn {
  background: #090909;
  color: #fafafa;
  border: none;
  padding: clamp(12px, 0.9vw, 24px) clamp(14px, 1.1vw, 30px);
  border-radius: 999px;
  font-family: 'Saans', sans-serif;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  width: fit-content;
  display: block;
  margin-top: 25px;
}

/* ─── FOCUS SECTION ─── */
.focus-section {
  position: relative;
  background: #0a0a0a;
  margin-top: 5.556vw;
}

.focus-card {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

/* HERO CARD */
.focus-hero {
  background: #000;
}

.focus-hero-img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.focus-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.5));
  z-index: 1;
}

.focus-hero-title {
  position: absolute;
  top: 2.778vw;
  left: 2.778vw;
  z-index: 2;
  margin: 0;
  font-size: clamp(32px, 5.556vw, 128px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.focus-hero-arrow {
  position: absolute;
  bottom: 2.778vw;
  right: 2.778vw;
  z-index: 2;
  font-size: clamp(32px, 5.556vw, 128px);
  color: #fafafa;
  font-weight: 800;
}

/* SERVICE CARD */
.focus-service {
  background: #232323;
  color: #fafafa;
}

.focus-darken {
  position: absolute;
  inset: 0;
  background: #000000;
  pointer-events: none;
  z-index: 10;
}

.focus-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 3vw;
  padding: clamp(16px, 4vw, 180px) 2.8vw 2.8vw 2.8vw;
  margin: 0;
}

/* LEFT */
.focus-left {
  display: flex;
  align-items: flex-start;
  padding-right: 0;
}

.focus-num {
  font-size: clamp(32px, 7.407vw, 128px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.focus-label {
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  letter-spacing: 0.08em;
  margin-top: 10px;
  margin-left: clamp(10px, 0.9vw, 22px);
  opacity: 0.9;
}

/* RIGHT */
.focus-right {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 46px);
  max-width: 100%;
}

.focus-title {
  font-size: clamp(22px, 3.6vw, 92px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 52vw;
}

.focus-visual {
  width: clamp(200px, 38vw, 970px);
  height: auto;
  aspect-ratio: 16 / 8.5;
  border-radius: clamp(8px, 1vw, 26px);
  overflow: hidden;
  flex-shrink: 0;
}

.focus-hero-image {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
}

.focus-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-desc {
  font-size: clamp(13px, 1.15vw, 28px);
  line-height: 1.5;
  max-width: 44vw;
  font-weight: 480;
  margin: 0;
  opacity: 0.95;
}

.focus-tags {
  display: flex;
  gap: clamp(6px, 0.6vw, 16px);
  flex-wrap: wrap;
}

.focus-tags span {
  background: #464646;
  color: #fafafa;
  padding: clamp(6px, 0.5vw, 14px) clamp(10px, 0.9vw, 22px);
  border-radius: clamp(6px, 0.5vw, 14px);
  font-size: clamp(11px, 0.91vw, 24px);
  letter-spacing: 0.06em;
  font-weight: 480;
}


/* REVEAL ANIMATION */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-word.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .focus-section {
    margin-top: 80px;
  }

  .focus-hero-title {
    top: 24px;
    left: 24px;
  }

  .focus-hero-arrow {
    bottom: 24px;
    right: 24px;
  }

  .focus-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px;
  }

  .focus-left {
    align-items: center;
  }

  .focus-num {
    margin-left: 0;
  }

  .focus-label {
    margin-left: 12px;
  }

  .focus-right {
    gap: 24px;
    max-width: 100%;
  }

  .focus-visual {
    width: 100%;
    border-radius: 16px;
  }

  .focus-tags {
    gap: 8px;
  }

  .focus-tags span {
    padding: 8px 14px;
    border-radius: 8px;
  }
}

/* ─── CLIENTS ─── */
.clients-section {
  padding: clamp(80px, 10vw, 160px) 40px clamp(80px, 10vw, 160px);
  background: #fafafa;
  color: #0a0a0a;
}

.clients-title {
  font-size: clamp(48px, 5.556vw, 128px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.clients-label {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  text-transform: uppercase;
  white-space: nowrap;
  color: #090909;
}

.clients-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(32px, 4.2vw, 70px);
  gap: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.12);
  border-left: 1px solid rgba(0,0,0,0.12);
}

.client-cell {
  aspect-ratio: 1 / 1;
  border-right: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  transition: background 0.3s ease;
}


.client-cell img {
  max-width: 55%;
  max-height: 55%;
  object-fit: contain;
}

.client-cell span {
  font-size: clamp(16px, 1.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ─── CONTACT BAR ─── */
.contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: clamp(48px, 7vw, 100px) 40px;
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  color: #0a0a0a;
  gap: 40px;
  box-sizing: border-box;
  cursor: pointer;
}

.contact-bar-label,
.contact-bar-email {
  font-size: clamp(24px, 4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.mask {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: bottom;
  padding-bottom: 0.15em;
}

.text-top,
.text-bottom {
  display: block;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.text-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
}

.contact-bar:hover .mask-brand .text-top,
.contact-bar:hover .mask-brand .text-bottom {
  transform: translateY(-110%);
}

.clients-cta-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(60px, 8vw, 120px);
  margin-bottom: clamp(60px, 8vw, 120px);
}

.clients-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 0.9vw, 24px) clamp(14px, 1.1vw, 30px);
  background: #0a0a0a;
  color: #fafafa;
  text-decoration: none;
  font-size: clamp(13px, 1.15vw, 28px);
  font-weight: 480;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.clients-cta:hover .cta-arrow {
  transform: translateY(3px);
}

/* ─── ABOUT HERO ─── */
/* ─── ABOUT HERO ─── */
.about-hero {
  position: relative;
  height: calc(100vh - clamp(52px, 5vw, 90px));
  padding: 0 clamp(16px, 2.78vw, 40px);
  overflow: hidden;
}

.about-hero-inner {
  position: absolute;
  bottom: calc(40px + clamp(14px, 1.15vw, 28px) * 2 + 16px);
  left: clamp(16px, 2.78vw, 40px);
  right: clamp(16px, 2.78vw, 40px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.about-big-text {
  font-size: clamp(400px, 45vw, 1100px);
  font-weight: 800;
  line-height: 0.85;
  color: #111;
  letter-spacing: clamp(-12px, -2.2vw, -28px);
  display: flex;
  gap: clamp(4px, 1vw, 20px);
  flex: 1;
  margin-left: calc(-1 * clamp(16px, 2.78vw, 40px));
  margin-bottom: 0;
    overflow: hidden;
}

.about-letter {
  display: inline-block;
  overflow: hidden;
}

.about-letter span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.about-letter span.visible {
  transform: translateY(0);
}

.about-placeholder-wrap {
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
  font-size: 0;
  height: calc(clamp(400px, 45vw, 1100px) * 0.72);
  align-self: flex-end;
  margin-bottom: calc(clamp(400px, 45vw, 1100px) * 0.025);
}

.about-placeholder {
  width: auto;
  height: 100%;
  aspect-ratio: 463 / 577;
  background-color: #040404;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.about-placeholder.visible {
  transform: translateY(0);
}

.about-bottom-bar {
  position: absolute;
  bottom: 40px;
  left: clamp(16px, 2.78vw, 40px);
  right: clamp(16px, 2.78vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(14px, 1.15vw, 28px);
  color: #090909;
  font-weight: 480;
}


/* ─── ABOUT INTRO ─── */
.about-intro {
  padding-top: clamp(20px, 2vw, 100px);
  overflow: hidden;
}

.about-paragraph {
  max-width: clamp(320px, 58vw, 1400px);
  margin: 0 auto clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
}

.about-paragraph p {
  font-size: clamp(36px, 3.68vw, 130px);
  font-weight: 600;
  line-height: 1.15;
  color: #111;
}

/* ─── GALLERY ─── */
.about-gallery-section {
  overflow: hidden;
}

.about-gallery-wrapper {
  overflow: hidden;
}

.about-gallery-track {
  display: flex;
  gap: clamp(12px, 1.5vw, 20px);
  padding-left: clamp(16px, 2.78vw, 40px);
  will-change: transform;
  transition: transform 0.1s linear;
  margin-top: clamp(12px, 1.5vw, 20px);
}

.about-gallery-item {
  flex-shrink: 0;
  width: clamp(440px, 50vw, 1120px);
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: clamp(6px, 0.8vw, 12px);
}

/* ─── NAV HOVER ─── */
.nav-hover .mask {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: bottom;
  padding-bottom: 0.15em;
}

.nav-hover .text-top,
.nav-hover .text-bottom {
  display: block;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-hover .text-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
}

.nav-hover:hover .text-top,
.nav-hover:hover .text-bottom,
.nav-cta:hover .text-top,
.nav-cta:hover .text-bottom,
.nav-item:hover .text-top,
.nav-item:hover .text-bottom {
  transform: translateY(-110%);
}


/* ─── HOBBIES ─── */
.hobbies-section {
  padding: clamp(60px, 12vw, 170px) clamp(16px, 2.78vw, 40px);
}

.hobbies-label {
  font-size: clamp(14px, 1.15vw, 28px);
  letter-spacing: 0.05em;
  color: #000000;
  margin-bottom: 12px;
  font-weight: 480;
}

.hobbies-title {
  font-size: clamp(60px, 7.407vw, 160px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 clamp(32px, 5vw, 80px) 0;
}

.hobbies-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 40px);
}

.hobbies-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hobby-item {
  font-size: clamp(36px, 3.68vw, 130px);
  font-weight: 600;
  color: #b7b7b7;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.hobby-item:hover,
.hobby-item.active {
  color: #000000;
}

.hobbies-media {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.hobbies-image-wrap {
  position: relative;
  width: clamp(160px, 20vw, 500px);
  height: auto;
  aspect-ratio: 325 / 440;
  border-radius: 4px;
  overflow: hidden;
}

.hobby-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-radius: 4px;
}

.hobby-card.active {
  opacity: 1;
  transform: translateY(0);
}

.hobbies-caption {
  position: relative;
  width: clamp(160px, 20vw, 500px);
  min-height: clamp(40px, 5vw, 64px);
    font-size: clamp(14px, 1.15vw, 28px);
  
}

.caption-slot {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
  pointer-events: none;
  visibility: hidden;
}

.caption-slot.active {
  visibility: visible;
  pointer-events: auto;
}

.caption-slot .approach-line-wrapper {
  display: block;
  overflow: hidden;
}

.caption-slot .approach-line {
  display: block;
  transform: translateY(110%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: clamp(13px, 1.15vw, 28px);
  color: #000;
  line-height: 1.5;
  font-weight: 480;
}

.caption-slot.active .approach-line.visible {
  transform: translateY(0);
}

/* ─── STACK ─── */
.stack-section {
  padding-bottom: 0; /* remove the clamp bottom padding */
  margin-bottom: 0;  /* kill this too */
}

.stack-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 60px);
}

.stack-label {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000000;
  overflow: hidden;
  padding-top: clamp(16px, 2vw, 30px);
  display: block;
}

.stack-label-inner {
  display: block;
  transform: translateY(100%);
}

.stack-title {
  font-size: clamp(60px, 7.407vw, 160px);
  font-weight: 800;
  line-height: 0.9;
  color: #090909;
  margin: 12px 0 0;
  overflow: hidden;
}

.stack-title-inner {
  display: block;
  transform: translateY(100%);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 12px);
  padding: 0 clamp(16px, 2.78vw, 40px);
}

.stack-card {
  background: #f0f0f0;
  border-radius: clamp(12px, 1.5vw, 20px);
  padding: clamp(20px, 3vw, 40px) clamp(12px, 1.5vw, 24px) clamp(12px, 1.5vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
}

.stack-card img {
  display: block;
  margin: auto;
  align-self: center;
  flex: 1;
  object-fit: none;
  transform: scale(0.65);
}

.stack-card span {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #090909;
  margin-top: clamp(12px, 1.5vw, 24px);
  display: block;
}

.stack-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 60px);
}

.stack-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 1vw, 15px) clamp(16px, 1.5vw, 22px);
  background: #0a0a0a;
  color: #fafafa;
  text-decoration: none;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: transform 0.3s ease, background 0.3s ease;
  margin-top: clamp(8px, 1vw, 15px);
}

.stack-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.stack-cta:hover .stack-cta-arrow {
  transform: translateY(3px);
}

.mask-brand {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: bottom;
  padding-bottom: 0.15em;
}

.contact-section {
  margin-bottom: -35px;
}

/* ─── FOOTER ─── */
.footer-bottom-left {
  font-size: clamp(14px, 1.15vw, 28px);
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-weight: 480;
  white-space: nowrap;
}

.footer-bottom-left p {
  font-size: clamp(14px, 1.15vw, 28px);
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-weight: 480;
}

.footer-bottom-left p:first-child {
  font-style: italic;
}

.footer-nav {
  grid-column: 2;
  grid-row: 1;
  padding-left: clamp(0px, 15vw, 480px);
}

.footer-label {
  display: block;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  margin-bottom: clamp(12px, 1.5vw, 24px);
  letter-spacing: 0.02em;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav ul li a {
  font-size: clamp(22px, 3.6vw, 92px);
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  line-height: 1.15;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-bottom-mid {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding-left: clamp(0px, 15vw, 480px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 160%;
}

.footer-bottom-mid a {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-info {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  padding-left: clamp(0px, 8vw, 200px);
}

.footer-info p {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  line-height: 1.8;
  margin: 0;
}

.footer-bottom-right {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-left: clamp(0px, 8vw, 200px);
}

.back-to-top {
  background: none;
  border: none;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

.footer-bottom-right span {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
}

.contact-bar--about {
  margin-bottom: clamp(60px, 8vw, 115px);
  margin-top: clamp(32px, 4vw, 60px);

}


/* ─── FOOTER ─── */
.site-footer {
  margin: 0 40px 40px 40px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: clamp(180px, 20vw, 340px) 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(40px, 8vw, 220px);
}

.footer-main {
  display: contents;
}

.footer-bottom {
  display: contents;
}

/* ── Column 1 ── */
.footer-image {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  position: relative;
  top: -60px;
}

.footer-image img {
  width: clamp(180px, 20vw, 340px);
  height: auto;
  aspect-ratio: 367 / 519;
  object-fit: contain;
  display: block;
}

.footer-bottom-left {
  font-size: clamp(14px, 1.15vw, 28px);
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-weight: 480;
  white-space: nowrap;
}

.footer-bottom-left p {
  font-size: clamp(14px, 1.15vw, 28px);
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-weight: 480;
}

.footer-bottom-left p:first-child {
  font-style: italic;
}

/* ── Column 2 ── */
.footer-nav {
  grid-column: 2;
  grid-row: 1;
  padding-left: clamp(0px, 15vw, 480px);
}

.footer-label {
  display: block;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-nav ul li a {
  font-size: clamp(22px, 3.6vw, 92px);
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  line-height: 1.15;
  display: inline-block;
  transition: opacity 0.2s ease;
}


.footer-bottom-mid {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding-left: clamp(0px, 15vw, 480px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 160%;
}

.footer-bottom-mid a {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* ── Column 3 ── */
.footer-info {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  padding-left: clamp(0px, 8vw, 200px);
}

.footer-info p {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  line-height: 1.8;
  margin: 0;
}

.footer-bottom-right {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-left: clamp(0px, 8vw, 200px);
}


.back-to-top {
  background: none;
  border: none;
font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

.footer-bottom-right span {
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
}


.contact-bar--about {
  margin-bottom: 115px;
}

/* ─── MEDIA QUERIES ─── */
@media (max-width: 1280px) {
  .focus-inner {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
  }

  .works-grid {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .approach {
    flex-direction: column;
  }

  .approach-right {
    margin-left: 0;
  }

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

  .footer-image {
    display: none;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .focus-inner {
    grid-template-columns: 1fr;
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .hero {
    padding: 0 20px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .works-grid .work-item:nth-child(3),
  .works-grid .work-item:nth-child(4) {
    margin-top: 0;
  }

  .clients-section {
    padding: 80px 20px;
  }

  .clients-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

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

  .contact-bar {
    padding: 48px 20px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .hobbies-body {
    flex-direction: column;
  }

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

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

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-mid a,
  .footer-label,
  .footer-nav ul li a,
  .footer-info p {
    padding-left: 0;
  }

  .back-to-top {
    padding-left: 0;
  }

  .about-big-text {
    font-size: clamp(60px, 18vw, 140px);
    letter-spacing: clamp(-4px, -1.5vw, -12px);
  }
}

@media (max-width: 375px) {
  .hero-name {
    font-size: clamp(60px, 20vw, 100px);
  }

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

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

.work-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-title {
  display: flex;
  justify-content: space-between;
  font-size: clamp(14px, 1.15vw, 28px);
  font-weight: 480;
  color: #000000;
}

/* ─── WORK ITEM HOVER VIDEO ─── */
.work-img-wrap {
  position: relative;
  overflow: hidden;
}

.case-video-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - clamp(16px, 3vw, 48px) * 2);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  z-index: 10;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.work-img-wrap:hover .case-video-preview {
  clip-path: inset(0% 0 0 0);
}

.case-video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
border-radius: 12px;
}

.work-item a {
  display: block;
}

.work-img-link {
  display: block;
}

#site-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}


.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-video {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
}

.loader-count {
  font-size: clamp(6px, 1.3vw, 20px);
  color: #000;
  font-family: inherit;
  margin-top: 1rem;
}

.hero-bio .approach-line {
  overflow: hidden; /* ← this is the real fix */
}
.hero-bio .approach-line.visible {
  visibility: visible;
}